Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/events/
DEventLogMonitorTest.kt28 import android.tools.traces.now
296 writer.setTransitionStartTime(now()) in cropsEventsOutsideOfTransitionTimes()
305 writer.setTransitionEndTime(now()) in cropsEventsOutsideOfTransitionTimes()
329 var now = now() in canCaptureCujEvents() variable
332 now.unixNanos, in canCaptureCujEvents()
333 now.elapsedNanos, in canCaptureCujEvents()
334 now.systemUptimeNanos, in canCaptureCujEvents()
337 now = now() in canCaptureCujEvents()
340 now.unixNanos, in canCaptureCujEvents()
341 now.elapsedNanos, in canCaptureCujEvents()
[all …]
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/runner/
DTransitionExecutionRule.kt28 import android.tools.traces.now
80 val now = now() in doRunBeforeTransition() constant
81 resultWriter.setTransitionStartTime(now) in doRunBeforeTransition()
84 now.unixNanos, in doRunBeforeTransition()
85 now.elapsedNanos, in doRunBeforeTransition()
86 now.systemUptimeNanos in doRunBeforeTransition()
98 val now = now() in doRunAfterTransition() constant
99 resultWriter.setTransitionEndTime(now) in doRunAfterTransition()
102 now.unixNanos, in doRunAfterTransition()
103 now.elapsedNanos, in doRunAfterTransition()
[all …]
/platform_testing/libraries/flicker/utils/src/android/tools/traces/
DExtensions.kt37 fun now(): Timestamp { in getDefaultFlickerOutputDir() method
38 val now = Instant.now() in getDefaultFlickerOutputDir() constant
42 unixNanos = now.epochSecond * SECOND_AS_NANOSECONDS + now.nano in getDefaultFlickerOutputDir()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/events/
DEventLogMonitor.kt25 import android.tools.traces.now
41 traceStartTime = now() in doStart()
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DWaitUtils.kt26 import java.time.Instant.now
211 val startTime = now() in waitForNullableValueToSettle()
215 while (now().isBefore(startTime + timeout)) { in waitForNullableValueToSettle()
226 val currentTime = now() in waitForNullableValueToSettle()
236 } else if (now().isAfter(settledSince + minimumSettleTime)) { in waitForNullableValueToSettle()
/platform_testing/tests/bettertogether/quickstart/performance_test/
Dnearby_connection_wrapper.py247 upgrade_start_time = datetime.datetime.now()
260 datetime.datetime.now() - upgrade_start_time)
268 latency = datetime.datetime.now() - upgrade_start_time
Dsetup_utils.py126 wifi_connect_start = datetime.datetime.now()
130 return datetime.datetime.now() - wifi_connect_start
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/
DFlickerServiceDecorator.kt35 import android.tools.traces.now in <lambda>()
99 writer.setTransitionStartTime(now()) in <lambda>()
101 writer.setTransitionEndTime(now()) in <lambda>()
/platform_testing/tests/bettertogether/betocq/
Dnearby_connection_wrapper.py250 upgrade_start_time = datetime.datetime.now()
263 datetime.datetime.now() - upgrade_start_time)
272 latency = datetime.datetime.now() - upgrade_start_time
Dsetup_utils.py179 wifi_connect_start = datetime.datetime.now()
183 return datetime.datetime.now() - wifi_connect_start
Dnc_constants.py436 start_time: datetime.datetime = datetime.datetime.now()
Dd2d_performance_test_base.py69 self._start_time: datetime.datetime = datetime.datetime.now()
/platform_testing/libraries/health/runners/longevity/
DREADME.md5 a subclass of LongevitySuite, and voila...you now have longevity tests!
/platform_testing/libraries/automotive-helpers/status-bar-helper/src/android/platform/helpers/
DStatusBarHelperImpl.java394 ZonedDateTime currentTimeInZone = ZonedDateTime.now(ZoneId.of(timezone)); in getCurrentTimeWithTimeZone()