/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/ |
D | TestUtils.kt | 40 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/ |
D | SplUtils.java | 19 import java.time.Instant; 20 import java.time.LocalDate; 21 import java.time.ZoneId; 22 import java.time.format.DateTimeFormatter;
|
D | UnameVersion.java | 19 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/ |
D | README.md | 3 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/ |
D | SlabinfoHelperTest.java | 59 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/ |
D | android_wifi_utils.py | 21 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:
|
D | setup_utils.py | 20 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/ |
D | ResultWriter.kt | 47 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/ |
D | LatencyHelper.java | 25 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/ |
D | setup_utils.py | 18 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/ |
D | SlabinfoHelper.java | 55 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/ |
D | pairing_test.py | 16 import time 50 time.sleep(self.iteration_delay)
|
/platform_testing/tests/automotive/mobly_tests/utilities/ |
D | common_utils.py | 16 import time 47 time.sleep(wait_time)
|
D | bt_utils.py | 17 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/ |
D | JSScriptEngineLatencyHelperTest.java | 30 import java.time.Clock; 31 import java.time.Instant; 32 import java.time.ZoneId;
|
D | MeasurementLatencyHelperTest.java | 30 import java.time.Clock; 31 import java.time.Instant; 32 import java.time.ZoneId;
|
D | SelectAdsLatencyHelperTest.java | 30 import java.time.Clock; 31 import java.time.Instant; 32 import java.time.ZoneId;
|
/platform_testing/libraries/timeresult-helper/src/android/support/test/timeresulthelper/ |
D | TimeResultLogger.java | 35 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/ |
D | DurationUtils.kt | 18 import java.time.Duration
|
D | BetterFling.kt | 28 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/ |
D | AudioTestHarnessCliCapturer.java | 26 import java.time.Duration; 27 import java.time.temporal.ChronoUnit;
|
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/ |
D | IAutoDateTimeSettingsHelper.java | 23 import java.time.LocalDate;
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/res/statsd-configs/cpu-time-per-freq/ |
D | README.md | 3 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/ |
D | README.md | 3 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/ |
D | StatusBarHelperImpl.java | 25 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()
|