Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 99) sorted by relevance

1234

/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/
Dmain.cpp143 static auto last_timestamp = std::chrono::steady_clock::now(); in android_main()
144 auto now = std::chrono::steady_clock::now(); in android_main() local
145 if (now - last_timestamp >= std::chrono::seconds(5)) { in android_main()
146 last_timestamp = now; in android_main()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DProgressTracker.kt40 val now = LocalDateTime.now().format(progressTimeFormatter) in progress() constant
43 stdout.print(now) in progress()
47 stdout.print(now) in progress()
53 stdout.print(now) in progress()
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/
DAnimator.kt29 fun animate(now: Long): Boolean { in animate()
30 val frac = maxOf(0f, minOf(1f, (now - startTime).toFloat() / duration.toFloat())) in animate()
48 val now = System.currentTimeMillis() in <lambda>() constant
49 animators.removeIf { it.animate(now) } in <lambda>()
/tools/external_updater/
Dfileutils.py212 now = datetime.datetime.now()
213 date.year = now.year
214 date.month = now.month
215 date.day = now.day
/tools/netsim/src/util/
Dlog.cc26 auto now = std::chrono::system_clock::now(); in BtsLogDefault() local
27 auto now_ms = std::chrono::time_point_cast<std::chrono::milliseconds>(now); in BtsLogDefault()
28 auto now_t = std::chrono::system_clock::to_time_t(now); in BtsLogDefault()
/tools/metalava/metalava/src/test/resources/
Dsource-model-provider-baseline.txt66 …Test that previously released APIs which are now public and flagged are not removed[turbine,module…
67 …Test that previously released APIs which are now public and flagged are not removed[turbine,module…
68 …Test that previously released APIs which are now public and flagged are not removed[turbine,module…
69 …Test that previously released APIs which are now public and flagged are not removed[turbine,public…
70 …Test that previously released APIs which are now public and flagged are not removed[turbine,public…
71 …Test that previously released APIs which are now public and flagged are not removed[turbine,public…
72 …Test that previously released APIs which are now public and flagged are not removed[turbine,system…
73 …Test that previously released APIs which are now public and flagged are not removed[turbine,system…
74 …Test that previously released APIs which are now public and flagged are not removed[turbine,system…
75 …Test that previously released APIs which are now system and flagged are not removed[turbine,module…
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/
Dlogging_lib.py38 "message": '[%s] %s' % (datetime.datetime.now(), message),
53 test_args = {"message": '[%s] %s' % (datetime.datetime.now(), message)}
67 test_args = {"message": '[%s] %s' % (datetime.datetime.now(), message)}
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveRilImsKpiTest.py178 begin_time = datetime.now()
190 end_time = datetime.now()
315 begin_time = datetime.now()
327 end_time = datetime.now()
440 begin_time = datetime.now()
452 end_time = datetime.now()
539 begin_time = datetime.now()
586 end_time = datetime.now()
681 begin_time = datetime.now()
800 end_time = datetime.now()
[all …]
DTelLiveRilCstVoiceTest.py223 cst_reg_begin_time = datetime.now()
290 cst_reg_end_time = datetime.now()
297 if (datetime.now() - cst_reg_end_time).total_seconds() > WAIT_FOR_CST_REG_TIMEOUT:
303 search_interval=[cst_reg_begin_time, datetime.now()])
387 cst_reg_begin_time = datetime.now()
543 cst_reg_end_time = datetime.now()
550 if (datetime.now() - cst_reg_end_time).total_seconds() > WAIT_FOR_CST_REG_TIMEOUT:
556 search_interval=[cst_reg_begin_time, datetime.now()])
/tools/tradefederation/core/src/com/android/tradefed/log/
DTerribleFailureEmailHandler.java210 final long now = getCurrentTimeMillis(); in onTerribleFailure() local
211 if (0 < mMinEmailInterval && now - mLastEmailSentTime < mMinEmailInterval) { in onTerribleFailure()
214 now - mLastEmailSentTime, mMinEmailInterval); in onTerribleFailure()
232 mLastEmailSentTime = now; in onTerribleFailure()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFatFile.java161 final long now = System.currentTimeMillis(); in updateTimeStamps() local
162 entry.setLastAccessed(now); in updateTimeStamps()
165 entry.setLastModified(now); in updateTimeStamps()
DFatDirectoryEntry.java197 final long now = System.currentTimeMillis(); in create() local
198 result.setCreated(now); in create()
199 result.setLastAccessed(now); in create()
200 result.setLastModified(now); in create()
DFatLfnDirectoryEntry.java56 final long now = System.currentTimeMillis(); in FatLfnDirectoryEntry() local
59 this.realEntry.setCreated(now); in FatLfnDirectoryEntry()
60 this.realEntry.setLastAccessed(now); in FatLfnDirectoryEntry()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/
Dagsa_acts.py92 expiry_time = datetime.datetime.now() + \
97 now_plus_minute = datetime.datetime.now() - \
111 if datetime.datetime.now() > expiry_time:
/tools/acloud/list/
Dinstance_test.py238 now = "2019-01-14T13:00:00.000-07:00"
241 instance.datetime.datetime.now.return_value = dateutil.parser.parse(now)
246 now = "Mon Jan 14 10:10:10 2019"
248 instance.datetime.datetime.now.return_value = dateutil.parser.parse(
249 now).replace(tzinfo=dateutil.tz.tzlocal())
/tools/test/connectivity/acts_tests/tests/google/tel/lab/
DTelLabPwsTest.py91 start_time = datetime.datetime.now()
92 while datetime.datetime.now() - start_time < timeout:
162 start_time = datetime.datetime.now()
164 if datetime.datetime.now() - start_time > SERVICE_RESTART_TIME_OUT:
242 start_time = datetime.datetime.now() - datetime.timedelta(seconds=1)
/tools/netsim/rust/daemon/src/
Dsession.rs62 session_start: Instant::now(), in new_internal()
80 let mut next_instant = Instant::now() + WRITE_INTERVAL; in start()
83 let this_instant = Instant::now(); in start()
137 if next_instant > Instant::now() { in start()
151 next_instant = Instant::now() + WRITE_INTERVAL; in start()
/tools/test/connectivity/acts_tests/tests/google/gnss/
DGnssConcurrencyTest.py206 begin_time = datetime.now()
220 begin_time = datetime.now()
264 begin_time = datetime.now()
305 begin_time = datetime.now()
386 begin_time = datetime.now()
471 begin_time = datetime.now()
/tools/tradefederation/core/aoa_helper/src/com/android/helper/aoa/
DAoaDevice.java218 Instant now() { in now() method in AoaDevice
219 return Instant.now(); in now()
251 Instant start = now(); in swipe()
254 Duration elapsed = Duration.between(start, now()); in swipe()
/tools/dexter/slicer/export/slicer/
Dchronometer.h31 start_time_ = Clock::now(); in elapsed_()
35 Clock::time_point end_time = Clock::now(); in ~Chronometer()
/tools/netsim/rust/daemon/src/wireless/
Dwifi.rs52 let mut next_instant = Instant::now() + POLL_INTERVAL; in new()
55 let this_instant = Instant::now(); in new()
74 next_instant = Instant::now() + POLL_INTERVAL; in new()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterEventUploader.java84 final long now = System.currentTimeMillis(); in uploadEvents() local
85 if (!uploadNow && now - mLastEventUploadTime < getEventUploadInterval()) { in uploadEvents()
/tools/test/connectivity/acts/framework/acts/controllers/
Darduino_wifi_dongle.py242 curr_time = str(datetime.now())
257 curr_time = str(datetime.now())
270 curr_time = str(datetime.now())
/tools/netsim/src/hci/
Dhci_packet_transport.cc96 auto beforeScheduleTime = std::chrono::steady_clock::now(); in Request()
101 std::chrono::steady_clock::now() - beforeScheduleTime) in Request()
/tools/repohooks/
Dpre-upload.py84 self.start_time = datetime.datetime.now()
198 d = rh.utils.timedelta_str(datetime.datetime.now() - self.start_time)
401 start = datetime.datetime.now()
404 duration = datetime.datetime.now() - start

1234