Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 90) sorted by relevance

1234

/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/
DTestUtils.kt40 private fun validateEqualTo(time: Timestamp, name: String, expectedValue: Timestamp) { in validateEqualTo()
42 .that(time.systemUptimeNanos) in validateEqualTo()
45 .that(time.unixNanos) in validateEqualTo()
48 .that(time.elapsedNanos) in validateEqualTo()
52 private fun validateTimeGreaterThan(time: Timestamp, name: String, minValue: Timestamp) { in validateTimeGreaterThan()
54 .that(time.systemUptimeNanos) in validateTimeGreaterThan()
57 .that(time.unixNanos) in validateTimeGreaterThan()
60 .that(time.elapsedNanos) in validateTimeGreaterThan()
/platform_testing/libraries/sts-common-util/util/src/com/android/sts/common/util/
DSplUtils.java19 import java.time.Instant;
20 import java.time.LocalDate;
21 import java.time.ZoneId;
22 import java.time.format.DateTimeFormatter;
DUnameVersion.java19 import java.time.LocalDate;
20 import java.time.format.DateTimeFormatter;
21 import java.time.format.DateTimeParseException;
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/cpu-cluster-time/
DREADME.md3 These configs are used to pull the process user time and system time at the start and end of tests …
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/
DSlabinfoHelperTest.java59 sample.time = 0; in testSimpleExactFits()
70 sample.time = 100; in testSimpleExactFits()
93 sample.time = 0; in testNoSlopes()
100 sample.time = 50; in testNoSlopes()
107 sample.time = 100; in testNoSlopes()
122 sample.time = 37; in testNonexactFits()
129 sample.time = 43; in testNonexactFits()
136 sample.time = 97; in testNonexactFits()
/platform_testing/tests/bettertogether/betocq/
Dandroid_wifi_utils.py21 import time
95 start_time = time.monotonic()
97 while time.monotonic() < timeout:
115 start_time = time.monotonic()
117 while time.monotonic() < timeout:
198 start_time = time.monotonic()
200 while time.monotonic() < timeout:
Dsetup_utils.py20 import time
71 time.sleep(ADB_RETRY_WAIT_TIME_SEC)
88 time.sleep(WIFI_COUNTRYCODE_CONFIG_TIME_SEC)
95 time.sleep(WIFI_COUNTRYCODE_CONFIG_TIME_SEC)
124 time.sleep(ADB_RETRY_WAIT_TIME_SEC)
149 time.sleep(ADB_RETRY_WAIT_TIME_SEC)
204 time.sleep(WIFI_DISCONNECTION_DELAY_SEC)
244 time.sleep(ADB_RETRY_WAIT_TIME_SEC)
257 time.sleep(TOGGLE_AIRPLANE_MODE_WAIT_TIME_SEC)
268 time.sleep(ADB_RETRY_WAIT_TIME_SEC)
[all …]
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/
DResultWriter.kt47 fun setTransitionStartTime(time: Timestamp) = apply { transitionStartTime = time } in <lambda>()
50 fun setTransitionEndTime(time: Timestamp) = apply { transitionEndTime = time } in <lambda>()
/platform_testing/libraries/collectors-helper/adservices/src/com/android/helpers/
DLatencyHelper.java25 import java.time.Clock;
26 import java.time.Instant;
27 import java.time.ZoneId;
28 import java.time.format.DateTimeFormatter;
/platform_testing/tests/bettertogether/quickstart/performance_test/
Dsetup_utils.py18 import time
63 time.sleep(WIFI_COUNTRYCODE_CONFIG_TIME_SEC)
70 time.sleep(WIFI_COUNTRYCODE_CONFIG_TIME_SEC)
183 time.sleep(TOGGLE_AIRPLANE_MODE_WAIT_TIME_SEC)
196 time.sleep(TOGGLE_AIRPLANE_MODE_WAIT_TIME_SEC)
230 time.sleep(PH_FLAG_WRITE_WAIT_TIME_SEC)
321 time.sleep(_DISABLE_ENABLE_GMS_UPDATE_WAIT_TIME_SEC)
332 time.sleep(_DISABLE_ENABLE_GMS_UPDATE_WAIT_TIME_SEC)
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DSlabinfoHelper.java55 public long time; field in SlabinfoHelper.SlabinfoSample
104 sample.time = getMonotonicSeconds();
174 xbar += sample.time; in fitLinesToSamples()
185 double delta_x = sample.time - xbar; in fitLinesToSamples()
195 (double) samples.get(samples.size() - 1).time - samples.get(0).time); in fitLinesToSamples()
/platform_testing/tests/automotive/mobly_tests/perfromance/
Dpairing_test.py16 import time
50 time.sleep(self.iteration_delay)
/platform_testing/tests/automotive/mobly_tests/utilities/
Dcommon_utils.py16 import time
47 time.sleep(wait_time)
Dbt_utils.py17 import time
96 time.sleep(constants.SYNC_WAIT_TIME)
104 time.sleep(constants.DEFAULT_WAIT_TIME_FIVE_SECS)
140 time.sleep(TIME_FOR_PROMPT_TO_LOAD)
/platform_testing/libraries/collectors-helper/adservices/test/src/com/android/helpers/
DJSScriptEngineLatencyHelperTest.java30 import java.time.Clock;
31 import java.time.Instant;
32 import java.time.ZoneId;
DMeasurementLatencyHelperTest.java30 import java.time.Clock;
31 import java.time.Instant;
32 import java.time.ZoneId;
DSelectAdsLatencyHelperTest.java30 import java.time.Clock;
31 import java.time.Instant;
32 import java.time.ZoneId;
/platform_testing/libraries/timeresult-helper/src/android/support/test/timeresulthelper/
DTimeResultLogger.java35 public static void writeTimeStamp(String logType, String testCase, long time, in writeTimeStamp() argument
38 outputWriter.write(String.format("%d %s %s\n", (time + delay), in writeTimeStamp()
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DDurationUtils.kt18 import java.time.Duration
DBetterFling.kt28 import java.time.Duration
29 import java.time.temporal.ChronoUnit
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/examples/
DAudioTestHarnessCliCapturer.java26 import java.time.Duration;
27 import java.time.temporal.ChronoUnit;
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/
DIAutoDateTimeSettingsHelper.java23 import java.time.LocalDate;
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/cpu-time-per-freq/
DREADME.md3 These configs are used to pull the cpu time per frequency at the start and end of tests or test run…
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/cpu-time-per-uid-freq/
DREADME.md3 These configs are used to pull the cpu time per frequency at the start and end of tests or test run…
/platform_testing/libraries/automotive-helpers/status-bar-helper/src/android/platform/helpers/
DStatusBarHelperImpl.java25 import java.time.ZoneId;
26 import java.time.ZonedDateTime;
27 import java.time.format.DateTimeFormatter;
396 String time = currentTimeInZone.format(formatter); in getCurrentTimeWithTimeZone() local
399 time = time.replaceAll(timePattern, ""); in getCurrentTimeWithTimeZone()
400 return time; in getCurrentTimeWithTimeZone()

1234