/platform_testing/libraries/flicker/utils/src/android/tools/parsers/ |
D | AbstractParser.kt | 75 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/ |
D | TraceParserTest.kt | 41 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/ |
D | FlickerTraceSubject.kt | 66 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/ |
D | FullLegacyTestRun.kt | 102 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()
|
D | FullTestRun.kt | 130 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/ |
D | Components.kt | 82 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/ |
D | AssertionsChecker.kt | 44 assertions.last().add(assertion, name, isOptional) in <lambda>() 125 .forSubject(entries.last()) in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/ |
D | StatusBarLayerPositionAtStart.kt | 45 scenarioInstance.reader.readWmTrace()?.entries?.last() in getExpectedStatusBarPosition()
|
D | StatusBarLayerPositionAtEnd.kt | 44 scenarioInstance.reader.readWmTrace()?.entries?.last() in getExpectedStatusBarPosition()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/config/desktopmode/ |
D | Components.kt | 37 val change = associatedTransition.changes.last() in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/ |
D | WindowManagerTrace.kt | 58 val lastWmState = entries.last() in getFinalRotation()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/ |
D | LayersTrace.kt | 52 transaction.appliedVSyncId <= this.entries.last().vSyncId in <lambda>()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/wm/ |
D | WindowManagerTraceParserTest.kt | 47 Truth.assertThat(trace.entries.last().timestamp.elapsedNanos).isEqualTo(9216093628925L) in canParseAllEntriesFromStoredTrace()
|
D | LegacyWmLegacyTransitionTraceParserTest.kt | 49 val lastEntry = trace.entries.last() in canParseAllEntriesFromStoredTrace()
|
D | LegacyShellLegacyTransitionTraceParserTest.kt | 50 val lastEntry = trace.entries.last() in canParseAllEntriesFromStoredTrace()
|
D | LegacyTransitionTraceParserTest.kt | 52 val lastEntry = trace.entries.last() in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/view/ |
D | ViewTraceMonitor.kt | 66 val fileName = entry.name.split("/").last() in <lambda>()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/surfaceflinger/ |
D | LayersTraceEntryTest.kt | 44 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/ |
D | WindowManagerStateSubjectTest.kt | 264 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/ |
D | LayersTraceSubjectTest.kt | 92 .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/ |
D | BaseSubjectsParserTestParse.kt | 74 .that(getTime(subject.subjects.last().timestamp)) in parseTraceSubject()
|
/platform_testing/libraries/flicker/utils/src/android/tools/parsers/events/ |
D | EventLogParser.kt | 89 require(data.last() == ']') in <lambda>()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/io/ |
D | BaseResultReaderTestParseTrace.kt | 76 .that(getTime(trace.entries.last().timestamp)) in <lambda>()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/wm/ |
D | WindowManagerTraceTest.kt | 142 assertThat(trace.entries.last().timestamp.elapsedNanos).isEqualTo(174686640998584) in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/extractors/ |
D | Utils.kt | 133 ?: wmTrace.entries.last()) in getFullTimestampAt()
|