/platform_testing/libraries/flicker/src/android/tools/flicker/subject/ |
D | FlickerTraceSubject.kt | 27 get() = subjects.firstOrNull()?.timestamp ?: Timestamps.empty() in <lambda>() 32 abstract val subjects: List<EntrySubject> in <lambda>() constant in android.tools.flicker.subject.FlickerTraceSubject 58 require(subjects.isNotEmpty()) { "Trace is empty" } in <lambda>() 59 assertionsChecker.test(subjects) in <lambda>() 63 fun first(): EntrySubject = subjects.firstOrNull() ?: error("Trace is empty") in <lambda>() 66 fun last(): EntrySubject = subjects.lastOrNull() ?: error("Trace is empty") in <lambda>() 120 if (subjects.isEmpty()) { in <lambda>() 125 val firstState = subjects.first() in <lambda>() 126 val lastState = subjects.last() in <lambda>() 127 val subjects = in <lambda>() constant [all …]
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/ |
D | LayerTraceEntrySubject.kt | 71 val subjects by lazy { entry.flattenedLayers.map { LayerSubject(reader, timestamp, it) } } in <lambda>() constant in android.tools.flicker.subject.layers.LayerTraceEntrySubject 104 subjects.filterNot { in <lambda>() 108 subjects.filter { componentMatcher.layerMatchesAnyOf(it.layer) } in <lambda>() 151 val layers = subjects.map { it.layer } in <lambda>() 170 val layers = subjects.map { it.layer } in <lambda>() 193 val layers = subjects.map { it.layer } in <lambda>() 197 subjects.first { subject -> subject.layer == layer }.isInvisible in <lambda>() 226 val matchingSubjects = subjects.filter { splashScreenMatcher.layerMatchesAnyOf(it.layer) } in <lambda>() 257 val targets = componentMatcher.filterLayers(subjects.map { it.layer }) in <lambda>() 273 val targets = componentMatcher.filterLayers(subjects.map { it.layer }) in <lambda>() [all …]
|
D | LayersTraceSubject.kt | 62 override val subjects by lazy { in <lambda>() constant in android.tools.flicker.subject.layers.LayersTraceSubject 81 val result = subjects.firstNotNullOfOrNull { it.layer(name, frameNumber) } in <lambda>() 97 subjects.mapNotNull { it.layer { layer -> layer.name.contains(name) } } in <lambda>() 103 subjects.mapNotNull { it.layer { layer -> predicate(layer) } } in <lambda>() 223 subjects.map { in <lambda>() 233 subjects.any { it.entry.displays.any { display -> display.isOn } } in <lambda>() 302 subjects.filter { it.entry.timestamp.systemUptimeNanos in startTime..endTime } in <lambda>() 316 subjects.first { it.entry.elapsedTimestamp == timestamp } in <lambda>() 318 subjects.first { it.entry.timestamp.systemUptimeNanos == timestamp } in <lambda>()
|
/platform_testing/libraries/flicker/test/src/android/tools/integration/ |
D | NoErrorTest.kt | 63 this.subjects.none { in <lambda>() 82 this.subjects.any { in <lambda>() 101 this.subjects.none { in <lambda>() 112 this.subjects.none { in <lambda>() 131 this.subjects.any { in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/ |
D | SubjectsParser.kt | 80 Tag.START -> wmTraceSubject?.subjects?.firstOrNull() in getWmStateSubject() 81 Tag.END -> wmTraceSubject?.subjects?.lastOrNull() in getWmStateSubject() 95 Tag.START -> layersTraceSubject?.subjects?.firstOrNull() in getLayerTraceEntrySubject() 96 Tag.END -> layersTraceSubject?.subjects?.lastOrNull() in getLayerTraceEntrySubject()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/inputmethod/ |
D | InputMethodManagerServiceTraceSubject.kt | 44 override val subjects by lazy { in <lambda>() constant in android.tools.flicker.subject.inputmethod.InputMethodManagerServiceTraceSubject 74 ): List<InputMethodManagerServiceEntrySubject> = subjects.filter { predicate(it.entry) } in imeClientEntriesThat()
|
D | ImeClientTraceSubject.kt | 41 override val subjects by lazy { trace.entries.map { ImeClientEntrySubject(it, trace, reader) } } in <lambda>() constant in android.tools.flicker.subject.inputmethod.ImeClientTraceSubject 68 subjects.filter { predicate(it.entry) } in imeClientEntriesThat()
|
D | InputMethodServiceTraceSubject.kt | 39 override val subjects by lazy { in <lambda>() constant in android.tools.flicker.subject.inputmethod.InputMethodServiceTraceSubject 69 ): List<InputMethodServiceEntrySubject> = subjects.filter { predicate(it.entry) } in imeClientEntriesThat()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/ |
D | WindowManagerStateSubject.kt | 66 val subjects by lazy { wmState.windowStates.map { WindowStateSubject(reader, timestamp, it) } } in <lambda>() constant in android.tools.flicker.subject.wm.WindowManagerStateSubject 69 get() = subjects.filter { wmState.appWindows.contains(it.windowState) } in <lambda>() 72 get() = subjects.filter { wmState.nonAppWindows.contains(it.windowState) } in <lambda>() 75 get() = subjects.filter { wmState.aboveAppWindows.contains(it.windowState) } in <lambda>() 78 get() = subjects.filter { wmState.belowAppWindows.contains(it.windowState) } in <lambda>() 81 get() = subjects.filter { wmState.visibleWindows.contains(it.windowState) } in <lambda>() 84 get() = subjects.filter { wmState.visibleAppWindows.contains(it.windowState) } in <lambda>() 94 check { "WM state is empty" }.that(subjects.isEmpty()).isEqual(true) in <lambda>() 99 check { "WM state is not empty" }.that(subjects.isEmpty()).isEqual(false) in <lambda>() 107 subjects in <lambda>() [all …]
|
D | WindowManagerTraceSubject.kt | 61 override val subjects by lazy { in <lambda>() constant in android.tools.flicker.subject.wm.WindowManagerTraceSubject 110 return subjects.mapNotNull { it.windowState { window -> predicate(window) } } in <lambda>() 356 subjects.map { it.visibleRegion(componentMatcher).regionEntry } in <lambda>() 595 subjects.filter { it.wmState.timestamp.elapsedNanos in startTime..endTime } in <lambda>() 605 subjects.first { it.wmState.timestamp.elapsedNanos == timestamp } in <lambda>()
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/ |
D | BaseSubjectsParserTestParse.kt | 69 Truth.assertWithMessage(subjectName).that(subject.subjects).isNotEmpty() in parseTraceSubject() 71 .that(getTime(subject.subjects.first().timestamp)) in parseTraceSubject() 74 .that(getTime(subject.subjects.last().timestamp)) in parseTraceSubject()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/ |
D | LayerRemainInsideVisibleBounds.kt | 32 subjects.forEach { in doEvaluate()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/ |
D | RegionTraceSubject.kt | 32 override val subjects by lazy { trace.entries.map { RegionSubject(it, it.timestamp, reader) } } in <lambda>() constant in android.tools.flicker.subject.region.RegionTraceSubject
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/ |
D | LayersTraceSubjectTest.kt | 353 it.subjects.filter { subject -> in <lambda>()
|
/platform_testing/libraries/flicker/ |
D | README.md | 62 The trace subjects expose methods to filter the range of entries and test for changing assertions.
|