/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/ |
D | main.cpp | 143 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/ |
D | ProgressTracker.kt | 40 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/ |
D | Animator.kt | 29 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/ |
D | fileutils.py | 212 now = datetime.datetime.now() 213 date.year = now.year 214 date.month = now.month 215 date.day = now.day
|
/tools/netsim/src/util/ |
D | log.cc | 26 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/ |
D | source-model-provider-baseline.txt | 66 …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/ |
D | logging_lib.py | 38 "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/ |
D | TelLiveRilImsKpiTest.py | 178 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 …]
|
D | TelLiveRilCstVoiceTest.py | 223 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/ |
D | TerribleFailureEmailHandler.java | 210 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/ |
D | FatFile.java | 161 final long now = System.currentTimeMillis(); in updateTimeStamps() local 162 entry.setLastAccessed(now); in updateTimeStamps() 165 entry.setLastModified(now); in updateTimeStamps()
|
D | FatDirectoryEntry.java | 197 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()
|
D | FatLfnDirectoryEntry.java | 56 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/ |
D | agsa_acts.py | 92 expiry_time = datetime.datetime.now() + \ 97 now_plus_minute = datetime.datetime.now() - \ 111 if datetime.datetime.now() > expiry_time:
|
/tools/acloud/list/ |
D | instance_test.py | 238 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/ |
D | TelLabPwsTest.py | 91 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/ |
D | session.rs | 62 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/ |
D | GnssConcurrencyTest.py | 206 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/ |
D | AoaDevice.java | 218 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/ |
D | chronometer.h | 31 start_time_ = Clock::now(); in elapsed_() 35 Clock::time_point end_time = Clock::now(); in ~Chronometer()
|
/tools/netsim/rust/daemon/src/wireless/ |
D | wifi.rs | 52 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/ |
D | ClusterEventUploader.java | 84 final long now = System.currentTimeMillis(); in uploadEvents() local 85 if (!uploadNow && now - mLastEventUploadTime < getEventUploadInterval()) { in uploadEvents()
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | arduino_wifi_dongle.py | 242 curr_time = str(datetime.now()) 257 curr_time = str(datetime.now()) 270 curr_time = str(datetime.now())
|
/tools/netsim/src/hci/ |
D | hci_packet_transport.cc | 96 auto beforeScheduleTime = std::chrono::steady_clock::now(); in Request() 101 std::chrono::steady_clock::now() - beforeScheduleTime) in Request()
|
/tools/repohooks/ |
D | pre-upload.py | 84 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
|