Home
last modified time | relevance | path

Searched refs:endTime (Results 1 – 20 of 20) sorted by relevance

/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DTestResultHistory.java144 private final long endTime; field in TestResultHistory.ExecutionRecord
148 public ExecutionRecord(long startTime, long endTime, boolean isAutomated) { in ExecutionRecord() argument
150 this.endTime = endTime; in ExecutionRecord()
159 return endTime; in getEndTime()
176 && endTime == that.endTime in equals()
182 return Objects.hash(startTime, endTime, isAutomated); in hashCode()
DInvocationResult.java37 public long endTime; field in InvocationResult.RunHistory
DResultHandler.java398 long endTime, in writeResults() argument
416 serializer.attribute(NS, END_TIME_ATTR, String.valueOf(endTime)); in writeResults()
418 serializer.attribute(NS, END_DISPLAY_TIME_ATTR, toReadableDateString(endTime)); in writeResults()
487 serializer.attribute(NS, END_TIME_ATTR, String.valueOf(runHistory.endTime)); in writeResults()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/runner/
DTestUtils.kt27 val endTime = result.transitionTimeRange.end in validateTransitionTime() constant
29 validateTimeGreaterThan(endTime, "End time", Timestamps.min()) in validateTransitionTime()
30 validateTimeGreaterThan(Timestamps.max(), "End time", endTime) in validateTransitionTime()
35 val endTime = result.transitionTimeRange.end in validateTransitionTimeIsEmpty() constant
37 validateEqualTo(endTime, "End time", Timestamps.max()) in validateTransitionTimeIsEmpty()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/ui/
DUiSearch.java69 long endTime = currentTimeMillis() + SECONDS.toMillis(maxTimeoutInSeconds); in search() local
97 } while (currentTimeMillis() <= endTime); in search()
126 long endTime = currentTimeMillis() + SECONDS.toMillis(maxTimeoutInSeconds); in search() local
163 } while (currentTimeMillis() <= endTime); in search()
187 long endTime = currentTimeMillis() + SECONDS.toMillis(maxTimeoutInSeconds); in search() local
188 while (currentTimeMillis() <= endTime) { in search()
DUiSearch2.java73 long endTime = currentTimeMillis() + SECONDS.toMillis(maxTimeoutInSeconds); in search() local
101 } while (currentTimeMillis() <= endTime); in search()
130 long endTime = currentTimeMillis() + SECONDS.toMillis(maxTimeoutInSeconds); in search() local
167 } while (currentTimeMillis() <= endTime); in search()
191 long endTime = currentTimeMillis() + SECONDS.toMillis(maxTimeoutInSeconds); in search() local
192 while (currentTimeMillis() <= endTime) { in search()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DProcessUtil.java142 long endTime = System.currentTimeMillis() + timeoutMs; in waitProcessRunning() local
148 if (System.currentTimeMillis() > endTime) { in waitProcessRunning()
200 long endTime = System.currentTimeMillis() + timeoutMs; in waitPidExited() local
215 if (System.currentTimeMillis() > endTime) { in waitPidExited()
DRootcanalUtils.java309 long endTime = System.currentTimeMillis() + timeoutMs; in waitPropertyValue() local
314 if (System.currentTimeMillis() > endTime) { in waitPropertyValue()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/
DLockscreenUtils.java162 long endTime = currentTimeMillis() + SECONDS.toMillis(MAX_LOCKSCREEN_TIMEOUT_IN_SEC); in checkDeviceLock() local
163 while (currentTimeMillis() <= endTime) { in checkDeviceLock()
/platform_testing/libraries/collectors-helper/system/src/com/android/helpers/
DTimeInStateHelper.java175 long endTime = entry.getValue(); in calculateFreqStatsMetrics() local
177 long runTime = endTime - startTime; in calculateFreqStatsMetrics()
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DPerfettoListenerTest.java234 long endTime = System.currentTimeMillis(); in testPerfettoDefaultStartWaitTime() local
240 (endTime - startTime) in testPerfettoDefaultStartWaitTime()
261 long endTime = System.currentTimeMillis(); in testPerfettoCustomStartWaitTime() local
265 assertTrue((endTime - startTime) >= 10000); in testPerfettoCustomStartWaitTime()
DLogcatCollectorTest.java417 String endTime = 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/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/sts-common-util/host-side/src/com/android/sts/common/tradefed/testtype/
DSecurityTestCase.java522 long endTime = System.currentTimeMillis() + wifiConnectTimeout; in assertWifiConnected() local
530 } while (System.currentTimeMillis() < endTime); in assertWifiConnected()
/platform_testing/libraries/motion/compose/src/platform/test/motion/compose/
DComposeToolkit.kt368 val endTime = onFrame.value + duration.inWholeMilliseconds in <lambda>() constant
369 onFrame.takeWhile { it < endTime }.collect {} in <lambda>()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DStatsdHelper.java368 long endTime = System.currentTimeMillis() + CONFIG_REGISTRATION_TIMEOUT_MS; in pollForRegisteredConfig() local
369 while (System.currentTimeMillis() < endTime) { in pollForRegisteredConfig()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/util/
DTombstoneUtils.java110 long endTime = System.currentTimeMillis() + 10_000; // 10 seconds from now in withAssertNoSecurityCrashes() local
118 if (System.currentTimeMillis() > endTime) { in withAssertNoSecurityCrashes()
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DResultHandlerTest.java208 runHistory1.endTime = 10000000000001L; in testSerialization()
212 runHistory2.endTime = 10000000000003L; in testSerialization()
/platform_testing/libraries/flicker/
DREADME.md72 assertThat(result).coversRegion(displayBounds).forRange(startTime, endTime);