Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 40) 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/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/metalava/src/main/java/com/android/tools/metalava/
DProgress.kt33 val now = LocalDateTime.now().format(PROGRESS_TIME_FORMATTER) in progress() constant
36 options.stdout.print(now) in progress()
40 options.stdout.print(now) in progress()
46 options.stdout.print(now) in progress()
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/
Dlogging_lib.py39 "message": '[%s] %s' % (datetime.datetime.now(), message),
57 "message": '[%s] %s' % (datetime.datetime.now(), message)
75 "message": '[%s] %s' % (datetime.datetime.now(), message)
/tools/dexter/slicer/export/slicer/
Dchronometer.h31 start_time_ = Clock::now(); in elapsed_()
35 Clock::time_point end_time = Clock::now(); in ~Chronometer()
/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/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/acloud/list/
Dinstance_test.py169 now = "2019-01-14T13:00:00.000-07:00"
172 instance.datetime.datetime.now.return_value = dateutil.parser.parse(now)
177 now = "Mon Jan 14 10:10:10 2019"
179 instance.datetime.datetime.now.return_value = dateutil.parser.parse(
180 now).replace(tzinfo=dateutil.tz.tzlocal())
/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/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DWaitForDeviceDatetimePreparer.java115 long now = System.currentTimeMillis() / 1000; in waitForDeviceDatetime() local
124 if ((Math.abs(now - datetime) < DATETIME_MARGIN)) { in waitForDeviceDatetime()
/tools/tradefederation/core/tests/res/testCmdFiles/
Dmissing-begin-macro.txt12 # This will actually fail because the macro f() is now undefined.
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/
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/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())
/tools/test/connectivity/acts/tests/google/fuchsia/wlan/
DWlanScanTest.py201 start_time = datetime.now()
218 total_time_ms = (datetime.now() - start_time).total_seconds() * 1000
/tools/asuite/atest/
Dbug_detector.py124 _UPDATED_AT: datetime.datetime.now().isoformat()
Dbug_detector_unittest.py71 'updated_at': datetime.datetime.now().isoformat()
/tools/tradefederation/core/atest/
Dbug_detector.py124 _UPDATED_AT: datetime.datetime.now().isoformat()
Dbug_detector_unittest.py68 'updated_at': datetime.datetime.now().isoformat()
/tools/tradefederation/core/src/com/android/tradefed/util/
DFileIdleMonitor.java102 Duration elapsed = Duration.between(Instant.ofEpochMilli(timestamp), Instant.now()); in checkIfIdle()
/tools/repohooks/
Dpre-upload.py88 self.start_time = datetime.datetime.now()
158 rh.utils.timedelta_str(datetime.datetime.now() - self.start_time))

12