Home
last modified time | relevance | path

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

12

/tools/external_updater/
Dfileutils.py84 now = datetime.datetime.now()
85 date.year = now.year
86 date.month = now.month
87 date.day = now.day
/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/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/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/acloud/list/
Dinstance_test.py180 now = "2019-01-14T13:00:00.000-07:00"
183 instance.datetime.datetime.now.return_value = dateutil.parser.parse(now)
188 now = "Mon Jan 14 10:10:10 2019"
190 instance.datetime.datetime.now.return_value = dateutil.parser.parse(
191 now).replace(tzinfo=dateutil.tz.tzlocal())
/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/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()
/tools/repohooks/
Dpre-upload.py78 self.start_time = datetime.datetime.now()
108 self.hook_start_time = datetime.datetime.now()
116 duration = datetime.datetime.now() - self.hook_start_time
160 rh.utils.timedelta_str(datetime.datetime.now() - self.start_time))
/tools/dexter/slicer/export/slicer/
Dchronometer.h31 start_time_ = Clock::now(); in elapsed_()
35 Clock::time_point end_time = Clock::now(); in ~Chronometer()
/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())
Dbluetooth_pts_device.py679 today = datetime.now()
691 log_time_formatted = "{:%Y_%m_%d_%H_%M_%S}".format(datetime.now())
/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()
113 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_tests/tests/google/fuchsia/wlan_policy/
DPolicyScanTest.py135 start_time = datetime.now()
148 total_time_ms = (datetime.now() - start_time).total_seconds() * 1000
/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/functional/
DWlanScanTest.py205 start_time = datetime.now()
221 total_time_ms = (datetime.now() - start_time).total_seconds() * 1000
/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/test/openhst/
Dstress_test.py259 time_since_last_run = datetime.datetime.now() - last_run_time
274 last_run_time = datetime.datetime.now()
1024 FLAGS.test_name, datetime.datetime.now().strftime("%Y%m%d_%H%M%S")))
/tools/asuite/atest/
Dbug_detector.py124 _UPDATED_AT: datetime.datetime.now().isoformat()
Dbug_detector_unittest.py71 'updated_at': datetime.datetime.now().isoformat()
/tools/asuite/atest-py2/
Dbug_detector.py124 _UPDATED_AT: datetime.datetime.now().isoformat()
Dbug_detector_unittest.py68 'updated_at': datetime.datetime.now().isoformat()
/tools/metalava/
DREADME.md101 files. This is vital now that some of these annotations become part of the
109 signature format now uses a suffix of `?` for nullable, `!` for not yet
158 * Support for parsing Kotlin files. API files can now be implemented in Kotlin
291 functionality is now rolled into metalava, which has one very important

12