/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | TestResultHistory.java | 142 private final long startTime; field in TestResultHistory.ExecutionRecord 148 public ExecutionRecord(long startTime, long endTime, boolean isAutomated) { in ExecutionRecord() argument 149 this.startTime = startTime; in ExecutionRecord() 155 return startTime; in getStartTime() 175 return startTime == that.startTime in equals() 182 return Objects.hash(startTime, endTime, isAutomated); in hashCode()
|
D | InvocationResult.java | 36 public long startTime; field in InvocationResult.RunHistory
|
D | ResultHandler.java | 397 long startTime, in writeResults() argument 415 serializer.attribute(NS, START_TIME_ATTR, String.valueOf(startTime)); in writeResults() 417 serializer.attribute(NS, START_DISPLAY_TIME_ATTR, toReadableDateString(startTime)); in writeResults() 486 serializer.attribute(NS, START_TIME_ATTR, String.valueOf(runHistory.startTime)); in writeResults()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/ |
D | TestUtils.kt | 26 val startTime = result.transitionTimeRange.start in validateTransitionTime() constant 28 validateTimeGreaterThan(startTime, "Start time", Timestamps.min()) in validateTransitionTime() 34 val startTime = result.transitionTimeRange.start in validateTransitionTimeIsEmpty() constant 36 validateEqualTo(startTime, "Start time", Timestamps.min()) in validateTransitionTimeIsEmpty()
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | SystemHealthRule.java | 84 private static String checkCrash(Context context, String label, long startTime) { 88 long timestamp = startTime; 106 public static String getSystemHealthMessage(Context context, long startTime) { 121 final String crash = checkCrash(context, label, startTime);
|
D | SamplerRule.java | 59 final long startTime = SystemClock.elapsedRealtime(); in startThread() 70 if (SystemClock.elapsedRealtime() - startTime < TOO_LONG_TEST_MS) { in startThread()
|
D | FinishActivitiesWithoutProcessKillRule.java | 118 long startTime = SystemClock.uptimeMillis(); in waitUntilActivitiesRemoved() local 119 while (SystemClock.uptimeMillis() - startTime <= TOTAL_TIMEOUT) { in waitUntilActivitiesRemoved()
|
/platform_testing/libraries/collectors-helper/adservices/src/com/android/helpers/ |
D | LatencyHelper.java | 97 InputStream getStream(String filterLabel, Instant startTime) throws IOException; in getStream() argument 102 public InputStream getStream(String filterLabel, Instant startTime) throws IOException { in getStream() argument 110 LOG_TIME_FORMATTER.format(startTime))); in getStream()
|
/platform_testing/libraries/collectors-helper/system/test/src/com/android/helpers/tests/ |
D | ProcLoadHelperTest.java | 97 long startTime = System.currentTimeMillis(); in testWaitForTimeout() local 99 long waitTime = System.currentTimeMillis() - startTime; in testWaitForTimeout() 108 long startTime = System.currentTimeMillis(); in testDefaults() local
|
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/ |
D | WaitUtils.kt | 116 val startTime = uptimeMillis() in waitToBecomeTrue() constant 121 while (uptimeMillis() < startTime + timeoutMs) { in waitToBecomeTrue() 211 val startTime = now() in waitForNullableValueToSettle() constant 212 var settledSince = startTime in waitForNullableValueToSettle() 215 while (now().isBefore(startTime + timeout)) { in waitForNullableValueToSettle() 348 private val startTime = uptimeMillis() in log() constant
|
D | BetterSwipe.kt | 204 val startTime = lastTime in <lambda>() constant 218 assertThat(currentTime).isEqualTo(startTime + stepTimeMs * steps) in <lambda>() 236 val startTime = lastTime in <lambda>() constant 250 assertThat(currentTime).isEqualTo(startTime + stepTimeMs * steps) in <lambda>()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | MobilityChangeCollector.java | 72 protected void getMobilityChangesSince(String startTime, File saveTo) in getMobilityChangesSince() argument 81 "logcat", "-t", startTime, "-d", "updateSconeInfo mobility:3")); in getMobilityChangesSince()
|
D | LogcatCollector.java | 164 protected void getLogcatSince(String startTime, File saveTo) in getLogcatSince() argument 170 ProcessBuilder pb = new ProcessBuilder(Arrays.asList("logcat", "-t", startTime)); in getLogcatSince()
|
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/generic/ |
D | MathWork.java | 58 long startTime = SystemClock.uptimeMillis(); in testDoMath() local 75 Math.max(0, mDurationMs.get() - (SystemClock.uptimeMillis() - startTime))); in testDoMath()
|
/platform_testing/tests/microbenchmarks/uibench/src/com/android/uibench/microbenchmark/ |
D | UiBenchEditTextTypingMicrobenchmark.java | 99 final long startTime = SystemClock.uptimeMillis(); in testEditTextTyping() local 110 } while (SystemClock.uptimeMillis() - startTime in testEditTextTyping()
|
/platform_testing/libraries/sts-common-util/device-side/src/com/android/sts/common/ |
D | SystemUtil.java | 130 final long startTime = System.currentTimeMillis(); 140 } while (System.currentTimeMillis() - startTime <= maxPollingTime);
|
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/ |
D | TimeInStateHelper.java | 176 long startTime = beforeFreqStatsMap.getOrDefault(freq, 0L); in calculateFreqStatsMetrics() local 177 long runTime = endTime - startTime; in calculateFreqStatsMetrics()
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | PerfettoListenerTest.java | 232 long startTime = System.currentTimeMillis(); in testPerfettoDefaultStartWaitTime() local 240 (endTime - startTime) in testPerfettoDefaultStartWaitTime() 259 long startTime = System.currentTimeMillis(); in testPerfettoCustomStartWaitTime() local 265 assertTrue((endTime - startTime) >= 10000); in testPerfettoCustomStartWaitTime()
|
D | LogcatCollectorTest.java | 416 String startTime = null; in testLogcatTimespan() local
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/ |
D | LayersTraceSubject.kt | 300 fun forSystemUpTimeRange(startTime: Long, endTime: Long) { in <lambda>() 302 subjects.filter { it.entry.timestamp.systemUptimeNanos in startTime..endTime } in <lambda>()
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/ |
D | AutoLauncherStrategy.java | 269 long startTime = SystemClock.uptimeMillis(); in waitUntilOneOfTheAppOpen() local 272 while (SystemClock.uptimeMillis() - startTime < timeout) { in waitUntilOneOfTheAppOpen()
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | AutoLauncherStrategy.java | 284 long startTime = SystemClock.uptimeMillis(); in waitUntilOneOfTheAppOpen() local 287 while (SystemClock.uptimeMillis() - startTime < timeout) { in waitUntilOneOfTheAppOpen()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/ |
D | WindowManagerTraceSubject.kt | 593 fun forElapsedTimeRange(startTime: Long, endTime: Long) { in <lambda>() 595 subjects.filter { it.wmState.timestamp.elapsedNanos in startTime..endTime } in <lambda>()
|
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/ |
D | ResultHandlerTest.java | 207 runHistory1.startTime = 10000000000000L; in testSerialization() 211 runHistory2.startTime = 10000000000002L; in testSerialization()
|
/platform_testing/libraries/flicker/ |
D | README.md | 72 assertThat(result).coversRegion(displayBounds).forRange(startTime, endTime);
|