Home
last modified time | relevance | path

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

12

/tools/external_updater/
Dfileutils.py80 now = datetime.datetime.now()
81 date.year = now.year
82 date.month = now.month
83 date.day = now.day
Dgit_updater.py96 time_behind = datetime.datetime.now() - commit_time
/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/
Dmain.cpp144 static auto last_timestamp = std::chrono::steady_clock::now(); in android_main()
145 auto now = std::chrono::steady_clock::now(); in android_main() local
146 if (now - last_timestamp >= std::chrono::seconds(5)) { in android_main()
147 last_timestamp = now; in android_main()
/tools/acloud/list/
Dinstance_test.py76 now = "2019-01-14T13:00:00.000-07:00"
79 instance.datetime.datetime.now.return_value = dateutil.parser.parse(now)
84 now = "Mon Jan 14 10:10:10 2019"
86 instance.datetime.datetime.now.return_value = dateutil.parser.parse(
87 now).replace(tzinfo=dateutil.tz.tzlocal())
Dinstance.py79 return datetime.datetime.now(
82 return datetime.datetime.now(
/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/tradefederation/core/src/com/android/tradefed/log/
DTerribleFailureEmailHandler.java209 final long now = getCurrentTimeMillis(); in onTerribleFailure() local
210 if (0 < mMinEmailInterval && now - mLastEmailSentTime < mMinEmailInterval) { in onTerribleFailure()
213 now - mLastEmailSentTime, mMinEmailInterval); in onTerribleFailure()
231 mLastEmailSentTime = now; in onTerribleFailure()
/tools/test/connectivity/acts/framework/acts/
Dtracelogger.py87 now = datetime.datetime.now()
88 self._xml(now, message_type, message)
90 default_format = '{} [{}] '.format(now, message_type)
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
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()
DFatFile.java161 final long now = System.currentTimeMillis(); in updateTimeStamps() local
162 entry.setLastAccessed(now); in updateTimeStamps()
165 entry.setLastModified(now); in updateTimeStamps()
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:
Daudio_utils.py86 play_start_time = datetime.datetime.now()
Dbase_test_actions.py110 return datetime.datetime.now().strftime('%m-%d %H:%M:%S.000')
/tools/dexter/slicer/export/slicer/
Dchronometer.h31 start_time_ = Clock::now(); in elapsed_()
35 Clock::time_point end_time = Clock::now(); in ~Chronometer()
/tools/acloud/public/
Ddevice_driver_test.py188 now = "2015-10-29T13:00:30.018-07:00"
190 device_driver.datetime.datetime.now.return_value = dateutil.parser.parse(
191 now)
/tools/test/connectivity/acts/framework/acts/controllers/
Darduino_wifi_dongle.py243 curr_time = str(datetime.now())
258 curr_time = str(datetime.now())
271 curr_time = str(datetime.now())
Dmonsoon.py772 now = time.time()
773 if now - last_flush >= 0.99: # flush every second
775 last_flush = now
/tools/test/connectivity/acts/tests/google/fuchsia/wlan/
DWlanScanTest.py72 start_time = datetime.now()
88 total_time_ms = (datetime.now() - start_time).total_seconds() * 1000
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DWaitForDeviceDatetimePreparer.java114 long now = System.currentTimeMillis() / 1000; in waitForDeviceDatetime() local
123 if ((Math.abs(now - datetime) < DATETIME_MARGIN)) { in waitForDeviceDatetime()
/tools/metalava/src/test/java/com/android/tools/metalava/
DNullnessMigrationTest.kt62 fun `Method which is now marked null should be marked as recently migrated null`() { in Method which is now marked null should be marked as recently migrated null()
111 fun `Parameter which is now marked null should be marked as recently migrated null`() { in Parameter which is now marked null should be marked as recently migrated null()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dapollo_qa.proto108 required uint32 csr_fw_version = 2; // not implemented for now
109 required bool csr_fw_debug_build = 3; // not implemented for now
/tools/tradefederation/core/tests/res/testCmdFiles/
Dmissing-begin-macro.txt12 # This will actually fail because the macro f() is now undefined.
/tools/tradefederation/core/src/com/android/tradefed/util/
DFileIdleMonitor.java102 Duration elapsed = Duration.between(Instant.ofEpochMilli(timestamp), Instant.now()); in checkIfIdle()
/tools/metalava/
DREADME.md98 files. This is vital now that some of these annotations become part of the
106 signature format now uses a suffix of `?` for nullable, `!` for not yet
155 * Support for parsing Kotlin files. API files can now be implemented in Kotlin
288 functionality is now rolled into metalava, which has one very important

12