/aosp_15_r20/external/icu/icu4j/main/core/src/test/resources/com/ibm/icu/dev/test/duration/testdata/ |
H A D | testdata_en.txt | 25 1 year from now 26 2 years from now 27 3 years from now 28 5 years from now 29 10 years from now 30 11 years from now 31 12 years from now 32 20 years from now 33 21 years from now 34 22 years from now [all …]
|
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/testdata/ |
H A D | testdata_en.txt | 25 1 year from now 26 2 years from now 27 3 years from now 28 5 years from now 29 10 years from now 30 11 years from now 31 12 years from now 32 20 years from now 33 21 years from now 34 22 years from now [all …]
|
/aosp_15_r20/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/ |
D | BasalCaloriesAggregationTest.java | 85 Instant now = Instant.now(); in testAggregation_BasalCaloriesBurntTotal_noRecord() local 91 .setStartTime(now.minus(2, DAYS)) in testAggregation_BasalCaloriesBurntTotal_noRecord() 92 .setEndTime(now.minus(1, DAYS)) in testAggregation_BasalCaloriesBurntTotal_noRecord() 102 Instant now = Instant.now(); in testAggregation_BasalCaloriesBurntTotal_lbm() local 103 insertRecords(List.of(getBaseLeanBodyMassRecord(Instant.now(), 50000))); in testAggregation_BasalCaloriesBurntTotal_lbm() 108 .setStartTime(Instant.now().minus(2, DAYS)) in testAggregation_BasalCaloriesBurntTotal_lbm() 109 .setEndTime(Instant.now().minus(1, DAYS)) in testAggregation_BasalCaloriesBurntTotal_lbm() 115 insertRecords(List.of(getBaseLeanBodyMassRecord(now.minus(2, DAYS), 50000))); in testAggregation_BasalCaloriesBurntTotal_lbm() 120 .setStartTime(Instant.now().minus(2, DAYS)) in testAggregation_BasalCaloriesBurntTotal_lbm() 121 .setEndTime(Instant.now().minus(1, DAYS)) in testAggregation_BasalCaloriesBurntTotal_lbm() [all …]
|
D | TotalCaloriesAggregationTest.java | 97 Instant now = Instant.now(); in totalCaloriesBurned_derivedFromDefaultBasalCalories() local 100 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(1, DAYS), now)) in totalCaloriesBurned_derivedFromDefaultBasalCalories() 110 Instant now = Instant.now(); in totalCaloriesBurned_derivedFromWeightAndHeight() local 119 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(1, DAYS), now)) in totalCaloriesBurned_derivedFromWeightAndHeight() 130 Instant now = Instant.now(); in totalCaloriesBurned_derivedFromLbm() local 135 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(1, DAYS), now)) in totalCaloriesBurned_derivedFromLbm() 145 Instant now = Instant.now(); in totalCaloriesBurned_derivedFromBmr() local 150 new AggregateRecordsRequest.Builder<Energy>(getTimeFilter(now.minus(1, DAYS), now)) in totalCaloriesBurned_derivedFromBmr() 161 Instant now = Instant.now(); in totalCaloriesBurned_hasActiveCaloriesData_sumActiveAndBasalCalories() local 165 activeCalories, now.minus(3, HOURS), now.minus(2, HOURS))); in totalCaloriesBurned_hasActiveCaloriesData_sumActiveAndBasalCalories() [all …]
|
/aosp_15_r20/external/libchrome-gestures/tools/logs/cr48/ |
H A D | cursor_freeze.dat | 51 "now": 2105.277770308, 77 "now": 2105.28978454, 83 "now": 2105.290946677, 109 "now": 2105.302304173, 115 "now": 2105.303486134, 121 "now": 2105.314698851, 127 "now": 2105.315893866, 169 "now": 2105.342108877, 175 "now": 2105.343261171, 209 "now": 2105.353364665, [all …]
|
H A D | report-291598469-system_logs.mini.txt | 32 "now": 148.601617257, 38 "now": 148.602803791, 72 "now": 148.616315634, 78 "now": 148.617473603, 104 "now": 148.628449439, 110 "now": 148.629599795, 136 "now": 148.640905423, 142 "now": 148.642045863, 168 "now": 148.65305647899999, 174 "now": 148.654194263, [all …]
|
/aosp_15_r20/external/cronet/net/dns/ |
H A D | host_cache_unittest.cc | 109 base::TimeTicks now; in TEST() local 120 EXPECT_FALSE(cache.Lookup(key1, now)); in TEST() 121 cache.Set(key1, entry, now, kTTL); in TEST() 122 EXPECT_TRUE(cache.Lookup(key1, now)); in TEST() 123 EXPECT_TRUE(cache.Lookup(key1, now)->second.error() == entry.error()); in TEST() 128 now += base::Seconds(5); in TEST() 131 EXPECT_FALSE(cache.Lookup(key2, now)); in TEST() 132 cache.Set(key2, entry, now, kTTL); in TEST() 133 EXPECT_TRUE(cache.Lookup(key2, now)); in TEST() 137 now += base::Seconds(4); in TEST() [all …]
|
/aosp_15_r20/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | ScheduleConditionProviderTest.java | 127 Calendar now = getNow(); in testEvaluateSubscription_noAlarmExit_InSchedule() local 129 // Schedule - 1 hour long; starts now in testEvaluateSubscription_noAlarmExit_InSchedule() 132 info.startHour = now.get(Calendar.HOUR_OF_DAY); in testEvaluateSubscription_noAlarmExit_InSchedule() 133 info.startMinute = now.get(Calendar.MINUTE); in testEvaluateSubscription_noAlarmExit_InSchedule() 136 info.endHour = now.get(Calendar.HOUR_OF_DAY) + 1; in testEvaluateSubscription_noAlarmExit_InSchedule() 141 assertTrue(cal.isInSchedule(now.getTimeInMillis())); in testEvaluateSubscription_noAlarmExit_InSchedule() 144 conditionId, cal, now.getTimeInMillis(), now.getTimeInMillis() + 1000); in testEvaluateSubscription_noAlarmExit_InSchedule() 151 Calendar now = getNow(); in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed() local 153 // Schedule - 1 hour long; starts now in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed() 156 info.startHour = now.get(Calendar.HOUR_OF_DAY); in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/quiche/src/recovery/ |
D | cubic.rs | 174 fn on_packet_sent(r: &mut Recovery, sent_bytes: usize, now: Instant) { in on_packet_sent() 181 let delta = now - last_sent_time; in on_packet_sent() 194 cubic.last_sent_time = Some(now); in on_packet_sent() 196 reno::on_packet_sent(r, sent_bytes, now); in on_packet_sent() 200 r: &mut Recovery, packets: &[Acked], epoch: packet::Epoch, now: Instant, in on_packets_acked() 203 on_packet_acked(r, pkt, epoch, now); in on_packets_acked() 208 r: &mut Recovery, packet: &Acked, epoch: packet::Epoch, now: Instant, in on_packet_acked() 267 if r.hystart.on_packet_acked(epoch, packet, r.latest_rtt, now) { in on_packet_acked() 293 ca_start_time = now; in on_packet_acked() 294 r.congestion_recovery_start_time = Some(now); in on_packet_acked() [all …]
|
D | mod.rs | 320 handshake_status: HandshakeStatus, now: Instant, trace_id: &str, in on_packet_sent() 338 self.time_of_last_sent_ack_eliciting_pkt[epoch] = Some(now); in on_packet_sent() 347 self.on_packet_sent_cc(sent_bytes, now); in on_packet_sent() 351 self.set_loss_detection_timer(handshake_status, now); in on_packet_sent() 367 self.set_pacing_rate(rate as u64, now); in on_packet_sent() 371 self.schedule_next_packet(epoch, now, sent_bytes); in on_packet_sent() 385 fn on_packet_sent_cc(&mut self, sent_bytes: usize, now: Instant) { in on_packet_sent_cc() 386 (self.cc_ops.on_packet_sent)(self, sent_bytes, now); in on_packet_sent_cc() 389 pub fn set_pacing_rate(&mut self, rate: u64, now: Instant) { in set_pacing_rate() 390 self.pacer.update(self.send_quantum, rate, now); in set_pacing_rate() [all …]
|
/aosp_15_r20/external/rust/crates/quiche/src/recovery/ |
D | cubic.rs | 174 fn on_packet_sent(r: &mut Recovery, sent_bytes: usize, now: Instant) { in on_packet_sent() 181 let delta = now - last_sent_time; in on_packet_sent() 194 cubic.last_sent_time = Some(now); in on_packet_sent() 196 reno::on_packet_sent(r, sent_bytes, now); in on_packet_sent() 200 r: &mut Recovery, packets: &[Acked], epoch: packet::Epoch, now: Instant, in on_packets_acked() 203 on_packet_acked(r, pkt, epoch, now); in on_packets_acked() 208 r: &mut Recovery, packet: &Acked, epoch: packet::Epoch, now: Instant, in on_packet_acked() 267 if r.hystart.on_packet_acked(epoch, packet, r.latest_rtt, now) { in on_packet_acked() 293 ca_start_time = now; in on_packet_acked() 294 r.congestion_recovery_start_time = Some(now); in on_packet_acked() [all …]
|
D | mod.rs | 320 handshake_status: HandshakeStatus, now: Instant, trace_id: &str, in on_packet_sent() 338 self.time_of_last_sent_ack_eliciting_pkt[epoch] = Some(now); in on_packet_sent() 347 self.on_packet_sent_cc(sent_bytes, now); in on_packet_sent() 351 self.set_loss_detection_timer(handshake_status, now); in on_packet_sent() 367 self.set_pacing_rate(rate as u64, now); in on_packet_sent() 371 self.schedule_next_packet(epoch, now, sent_bytes); in on_packet_sent() 385 fn on_packet_sent_cc(&mut self, sent_bytes: usize, now: Instant) { in on_packet_sent_cc() 386 (self.cc_ops.on_packet_sent)(self, sent_bytes, now); in on_packet_sent_cc() 389 pub fn set_pacing_rate(&mut self, rate: u64, now: Instant) { in set_pacing_rate() 390 self.pacer.update(self.send_quantum, rate, now); in set_pacing_rate() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/tokio-util/tests/ |
D | time_delay_queue.rs | 30 let _key = queue.insert_at("foo", Instant::now()); in single_immediate_delay() 47 let _k = queue.insert_at("1", Instant::now()); in multi_immediate_delays() 48 let _k = queue.insert_at("2", Instant::now()); in multi_immediate_delays() 49 let _k = queue.insert_at("3", Instant::now()); in multi_immediate_delays() 75 let _key = queue.insert_at("foo", Instant::now() + ms(5)); in single_short_delay() 106 let _key = queue.insert_at(i, Instant::now() + ms(i)); in multi_delay_at_start() 112 let start = Instant::now(); in multi_delay_at_start() 128 Instant::now() - start in multi_delay_at_start() 143 let now = Instant::now(); in insert_in_past_fires_immediately() localVariable 147 queue.insert_at("foo", now); in insert_in_past_fires_immediately() [all …]
|
/aosp_15_r20/external/cronet/net/base/ |
H A D | expiring_cache_unittest.cc | 28 bool operator()(const std::string& now, in operator ()() 30 return now != expiration; in operator ()() 42 base::TimeTicks now; in TEST() local 46 EXPECT_FALSE(cache.Get("entry1", now)); in TEST() 47 cache.Put("entry1", "test1", now, now + kTTL); in TEST() 48 EXPECT_THAT(cache.Get("entry1", now), Pointee(StrEq("test1"))); in TEST() 52 now += base::Seconds(5); in TEST() 55 EXPECT_FALSE(cache.Get("entry2", now)); in TEST() 56 cache.Put("entry2", "test2", now, now + kTTL); in TEST() 57 EXPECT_THAT(cache.Get("entry2", now), Pointee(StrEq("test2"))); in TEST() [all …]
|
/aosp_15_r20/external/webrtc/modules/pacing/ |
H A D | bitrate_prober_unittest.cc | 28 Timestamp now = Timestamp::Zero(); in TEST() local 29 const Timestamp start_time = now; in TEST() 30 EXPECT_EQ(prober.NextProbeTime(now), Timestamp::PlusInfinity()); in TEST() 38 prober.CreateProbeCluster({.at_time = now, in TEST() 43 prober.CreateProbeCluster({.at_time = now, in TEST() 52 EXPECT_EQ(0, prober.CurrentCluster(now)->probe_cluster_id); in TEST() 55 EXPECT_EQ(Timestamp::MinusInfinity(), prober.NextProbeTime(now)); in TEST() 58 now = std::max(now, prober.NextProbeTime(now)); in TEST() 59 EXPECT_EQ(now, std::max(now, prober.NextProbeTime(now))); in TEST() 60 EXPECT_EQ(0, prober.CurrentCluster(now)->probe_cluster_id); in TEST() [all …]
|
/aosp_15_r20/external/python/cpython2/Lib/test/ |
D | test_strftime.py | 36 def _update_variables(self, now): argument 38 self.gmt = time.gmtime(now) 39 now = time.localtime(now) 41 if now[3] < 12: self.ampm='(AM|am)' 44 self.jan1 = time.localtime(time.mktime((now[0], 1, 1, 0, 0, 0, 0, 1, 0))) 47 if now[8]: self.tz = time.tzname[1] 52 if now[3] > 12: self.clock12 = now[3] - 12 53 elif now[3] > 0: self.clock12 = now[3] 56 self.now = now 69 now = time.time() [all …]
|
/aosp_15_r20/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | ServiceState.java | 103 public void setMemFactor(int memFactor, long now) { in setMemFactor() argument 105 setRestarting(true, memFactor, now); in setMemFactor() 108 setStarted(true, memFactor, now); in setMemFactor() 111 setBound(true, memFactor, now); in setMemFactor() 114 setExecuting(true, memFactor, now); in setMemFactor() 117 setForeground(true, memFactor, now); in setMemFactor() 133 long now = SystemClock.uptimeMillis(); in applyNewOwner() local 138 setStarted(false, 0, now); in applyNewOwner() 144 setBound(false, 0, now); in applyNewOwner() 150 setExecuting(false, 0, now); in applyNewOwner() [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_strftime.py | 34 def _update_variables(self, now): argument 36 self.gmt = time.gmtime(now) 37 now = time.localtime(now) 39 if now[3] < 12: self.ampm='(AM|am)' 42 self.jan1 = time.localtime(time.mktime((now[0], 1, 1, 0, 0, 0, 0, 1, 0))) 45 if now[8]: self.tz = time.tzname[1] 50 if now[3] > 12: self.clock12 = now[3] - 12 51 elif now[3] > 0: self.clock12 = now[3] 54 self.now = now 67 now = time.time() [all …]
|
/aosp_15_r20/external/libxml2/result/ |
H A D | ent9 | 7 <p> WE need lot of garbage now to trigger the problem</p> 8 <p> WE need lot of garbage now to trigger the problem</p> 9 <p> WE need lot of garbage now to trigger the problem</p> 10 <p> WE need lot of garbage now to trigger the problem</p> 11 <p> WE need lot of garbage now to trigger the problem</p> 12 <p> WE need lot of garbage now to trigger the problem</p> 13 <p> WE need lot of garbage now to trigger the problem</p> 14 <p> WE need lot of garbage now to trigger the problem</p> 15 <p> WE need lot of garbage now to trigger the problem</p> 16 <p> WE need lot of garbage now to trigger the problem</p> [all …]
|
/aosp_15_r20/external/libxml2/test/ |
H A D | ent9 | 6 <p> WE need lot of garbage now to trigger the problem</p> 7 <p> WE need lot of garbage now to trigger the problem</p> 8 <p> WE need lot of garbage now to trigger the problem</p> 9 <p> WE need lot of garbage now to trigger the problem</p> 10 <p> WE need lot of garbage now to trigger the problem</p> 11 <p> WE need lot of garbage now to trigger the problem</p> 12 <p> WE need lot of garbage now to trigger the problem</p> 13 <p> WE need lot of garbage now to trigger the problem</p> 14 <p> WE need lot of garbage now to trigger the problem</p> 15 <p> WE need lot of garbage now to trigger the problem</p> [all …]
|
/aosp_15_r20/external/cronet/third_party/libxml/fuzz/seed_corpus/ |
H A D | ef6238d1f01ecc4837c37d151e0073d64fa64021 | 6 <p> WE need lot of garbage now to trigger the problem</p> 7 <p> WE need lot of garbage now to trigger the problem</p> 8 <p> WE need lot of garbage now to trigger the problem</p> 9 <p> WE need lot of garbage now to trigger the problem</p> 10 <p> WE need lot of garbage now to trigger the problem</p> 11 <p> WE need lot of garbage now to trigger the problem</p> 12 <p> WE need lot of garbage now to trigger the problem</p> 13 <p> WE need lot of garbage now to trigger the problem</p> 14 <p> WE need lot of garbage now to trigger the problem</p> 15 <p> WE need lot of garbage now to trigger the problem</p> [all …]
|
/aosp_15_r20/external/libxml2/result/noent/ |
H A D | ent9 | 7 <p> WE need lot of garbage now to trigger the problem</p> 8 <p> WE need lot of garbage now to trigger the problem</p> 9 <p> WE need lot of garbage now to trigger the problem</p> 10 <p> WE need lot of garbage now to trigger the problem</p> 11 <p> WE need lot of garbage now to trigger the problem</p> 12 <p> WE need lot of garbage now to trigger the problem</p> 13 <p> WE need lot of garbage now to trigger the problem</p> 14 <p> WE need lot of garbage now to trigger the problem</p> 15 <p> WE need lot of garbage now to trigger the problem</p> 16 <p> WE need lot of garbage now to trigger the problem</p> [all …]
|
/aosp_15_r20/external/python/cpython3/Misc/ |
D | HISTORY | 36 plural form selections in the gettext module. The expression parser now 158 - Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now 181 imported at startup) now uses the backslashreplace error handler. 185 sys.stdin, sys.stdout and sys.stderr objects. These attributes are now set 189 - Issue #21167: NAN operations are now handled correctly when python is 196 object now always allocates place for trailing null byte and it's buffer now 258 - Issue #6478: _strptime's regexp cache now is reset after changing timezone 282 - Issue #25624: ZipFile now always writes a ZIP_STORED header for directory 306 - Issue #25510: fileinput.FileInput.readline() now returns b'' instead of '' 350 now accept the self and the dict keyword arguments. [all …]
|
/aosp_15_r20/external/python/cpython2/Misc/ |
D | HISTORY | 26 now issue a UnicodeWarning and interpret the two objects as 47 - Bug #1536021: __hash__ may now return long int; the final hash 55 - On Windows, the PyErr_Warn function is now exported from 58 - Bug #1191458: tracing over for loops now produces a line event 89 - uuid.UUID now has a bytes_le attribute. This returns the UUID in 99 - Patch #1536071: trace.py should now find the full module name of a 102 - logging's atexit hook now runs even if the rest of the module has 125 - Patch #1532975 was applied, which fixes Bug #1533481: ctypes now 131 now triggers a DeprecationWarning. 137 - test_socketserver should now work on cygwin and not fail sporadically [all …]
|
/aosp_15_r20/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
H A D | JobPackageTracker.java | 94 public long getActiveTime(long now) { in getActiveTime() argument 97 time += now - activeStartTime; in getActiveTime() 102 public long getActiveTopTime(long now) { in getActiveTopTime() argument 105 time += now - activeTopStartTime; in getActiveTopTime() 110 public long getPendingTime(long now) { in getPendingTime() argument 113 time += now - pendingStartTime; in getPendingTime() 162 long getTotalTime(long now) { in getTotalTime() argument 166 return now - mStartUptimeTime; in getTotalTime() 169 void incPending(int uid, String pkg, long now) { in incPending() argument 172 pe.pendingStartTime = now; in incPending() [all …]
|