Home
last modified time | relevance | path

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

/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DTestResultHistory.java142 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()
DInvocationResult.java36 public long startTime; field in InvocationResult.RunHistory
DResultHandler.java397 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/
DTestUtils.kt26 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/
DSystemHealthRule.java84 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);
DSamplerRule.java59 final long startTime = SystemClock.elapsedRealtime(); in startThread()
70 if (SystemClock.elapsedRealtime() - startTime < TOO_LONG_TEST_MS) { in startThread()
DFinishActivitiesWithoutProcessKillRule.java118 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/
DLatencyHelper.java97 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/
DProcLoadHelperTest.java97 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/
DWaitUtils.kt116 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
DBetterSwipe.kt204 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/
DMobilityChangeCollector.java72 protected void getMobilityChangesSince(String startTime, File saveTo) in getMobilityChangesSince() argument
81 "logcat", "-t", startTime, "-d", "updateSconeInfo mobility:3")); in getMobilityChangesSince()
DLogcatCollector.java164 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/
DMathWork.java58 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/
DUiBenchEditTextTypingMicrobenchmark.java99 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/
DSystemUtil.java130 final long startTime = System.currentTimeMillis();
140 } while (System.currentTimeMillis() - startTime <= maxPollingTime);
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/
DTimeInStateHelper.java176 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/
DPerfettoListenerTest.java232 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()
DLogcatCollectorTest.java416 String startTime = null; in testLogcatTimespan() local
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/
DLayersTraceSubject.kt300 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/
DAutoLauncherStrategy.java269 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/
DAutoLauncherStrategy.java284 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/
DWindowManagerTraceSubject.kt593 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/
DResultHandlerTest.java207 runHistory1.startTime = 10000000000000L; in testSerialization()
211 runHistory2.startTime = 10000000000002L; in testSerialization()
/platform_testing/libraries/flicker/
DREADME.md72 assertThat(result).coversRegion(displayBounds).forRange(startTime, endTime);