Home
last modified time | relevance | path

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

12

/platform_testing/libraries/flicker/utils/src/android/tools/parsers/
DAbstractParser.kt75 entries.last() < from -> { in getTimestampsInRange()
79 setOf(entries.last()) in getTimestampsInRange()
93 val last = entries.lastIndex - entries.reversed().indexOfFirst { it <= to } in getTimestampsInRange() constant
94 require(last >= 0) { "No match found for last index" } in getTimestampsInRange()
103 entries.slice(first..last).toSet() in getTimestampsInRange()
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/
DTraceParserTest.kt41 val from = mockTraceForSliceTests.entries.last().elapsedTimestamp + 5 in canSliceWithAllAfter()
42 val to = mockTraceForSliceTests.entries.last().elapsedTimestamp + 20 in canSliceWithAllAfter()
63 .isEqualTo(mockTraceForSliceTests.entries.last().timestamp) in canSliceWithAllAfter()
84 mockTraceForSliceTests.entries.last().timestamp.elapsedNanos + 5, in canSliceFromMiddleToAfterLastEntry()
93 mockTraceForSliceTests.entries.last().timestamp.elapsedNanos + 1, in canSliceFromBeforeToAfterLastEntry()
102 mockTraceForSliceTests.entries.last().timestamp.elapsedNanos + 1, in canSliceFromExactStartToAfterLastEntry()
111 mockTraceForSliceTests.entries.last().timestamp, in canSliceFromExactStartToExactEnd()
129 mockTraceForSliceTests.entries.last().timestamp, in canSliceFromMiddleToExactEnd()
138 mockTraceForSliceTests.entries.last().timestamp, in canSliceFromBeforeToExactEnd()
206 val toAfter = mockTraceForSliceTests.entries.last().timestamp.elapsedNanos < to in testSliceUsingElapsedTimestamp()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/
DFlickerTraceSubject.kt66 fun last(): EntrySubject = subjects.lastOrNull() ?: error("Trace is empty") in <lambda>() method in android.tools.flicker.subject.FlickerTraceSubject
126 val lastState = subjects.last() in <lambda>()
155 .forSubject(subjects.last()) in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/integration/
DFullLegacyTestRun.kt102 validateState(this, trace?.last()) in internalWmCheck()
103 validateVisibleRegion(this.visibleRegion(), trace?.last()?.visibleRegion()) in internalWmCheck()
136 validateState(this, trace?.last()) in internalLayersCheck()
137 validateVisibleRegion(this.visibleRegion(), trace?.last()?.visibleRegion()) in internalLayersCheck()
DFullTestRun.kt130 validateState(this, trace?.last()) in doEvaluate()
133 trace?.last()?.visibleRegion() in doEvaluate()
183 validateState(this, trace?.last()) in doEvaluate()
186 trace?.last()?.visibleRegion() in doEvaluate()
/platform_testing/libraries/flicker/src/android/tools/flicker/config/splitscreen/
DComponents.kt82 val change = associatedTransition.changes.last() in <lambda>()
106 layersTrace.entries.last().flattenedLayers.first { it.id == change.layerId } in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/
DAssertionsChecker.kt44 assertions.last().add(assertion, name, isOptional) in <lambda>()
125 .forSubject(entries.last()) in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DStatusBarLayerPositionAtStart.kt45 scenarioInstance.reader.readWmTrace()?.entries?.last() in getExpectedStatusBarPosition()
DStatusBarLayerPositionAtEnd.kt44 scenarioInstance.reader.readWmTrace()?.entries?.last() in getExpectedStatusBarPosition()
/platform_testing/libraries/flicker/src/android/tools/flicker/config/desktopmode/
DComponents.kt37 val change = associatedTransition.changes.last() in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DWindowManagerTrace.kt58 val lastWmState = entries.last() in getFinalRotation()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DLayersTrace.kt52 transaction.appliedVSyncId <= this.entries.last().vSyncId in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/wm/
DWindowManagerTraceParserTest.kt47 Truth.assertThat(trace.entries.last().timestamp.elapsedNanos).isEqualTo(9216093628925L) in canParseAllEntriesFromStoredTrace()
DLegacyWmLegacyTransitionTraceParserTest.kt49 val lastEntry = trace.entries.last() in canParseAllEntriesFromStoredTrace()
DLegacyShellLegacyTransitionTraceParserTest.kt50 val lastEntry = trace.entries.last() in canParseAllEntriesFromStoredTrace()
DLegacyTransitionTraceParserTest.kt52 val lastEntry = trace.entries.last() in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/view/
DViewTraceMonitor.kt66 val fileName = entry.name.split("/").last() in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/surfaceflinger/
DLayersTraceEntryTest.kt44 Truth.assertThat(trace.entries.last().timestamp.systemUptimeNanos).isEqualTo(941432656959) in canParseAllLayers()
45 Truth.assertThat(trace.entries.last().flattenedLayers).hasSize(57) in canParseAllLayers()
114 Truth.assertThat(trace.entries.last().timestamp.systemUptimeNanos).isEqualTo(941432656959) in canParseLayerHierarchy()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/wm/
DWindowManagerStateSubjectTest.kt264 subject.last().isAppWindowVisible(TestComponents.LAUNCHER) in canDetectLauncherVisibility()
316 val lastEntry = WindowManagerTraceSubject(trace, reader).last() in canDetectActivityVisibility()
365 val lastEntry = WindowManagerTraceSubject(trace, reader).last() in canDetectHasVisibleAppWindows()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/
DLayersTraceSubjectTest.kt92 .last() in <lambda>()
275 val subject = LayersTraceSubject(trace, reader).last() in <lambda>()
293 val subject = LayersTraceSubject(trace, reader).last() in <lambda>()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/
DBaseSubjectsParserTestParse.kt74 .that(getTime(subject.subjects.last().timestamp)) in parseTraceSubject()
/platform_testing/libraries/flicker/utils/src/android/tools/parsers/events/
DEventLogParser.kt89 require(data.last() == ']') in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/io/
DBaseResultReaderTestParseTrace.kt76 .that(getTime(trace.entries.last().timestamp)) in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/wm/
DWindowManagerTraceTest.kt142 assertThat(trace.entries.last().timestamp.elapsedNanos).isEqualTo(174686640998584) in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/extractors/
DUtils.kt133 ?: wmTrace.entries.last()) in getFullTimestampAt()

12