/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/ |
D | LayerTraceEntryBuilder.kt | 31 private var displays: Collection<Display> = emptyList() in <lambda>() variable in android.tools.traces.surfaceflinger.LayerTraceEntryBuilder 45 fun setDisplays(displays: Collection<Display>): LayerTraceEntryBuilder = apply { in <lambda>() 46 this.displays = displays in <lambda>() 164 val physicalDisplays = displays.filterNot { it.isVirtual }.map { it.layerStackId } in <lambda>() 169 private fun filterOutVirtualDisplays(displays: Collection<Display>): Collection<Display> { in <lambda>() 170 return displays.filterNot { it.isVirtual } in <lambda>() 174 val offDisplays = displays.filter { it.isOff }.map { it.layerStackId } in <lambda>() 182 val displayStacks = displays.map { it.layerStackId } in <lambda>() 211 var filteredDisplays = displays in <lambda>()
|
D | LayersTrace.kt | 61 it.timestamp >= timestamp && it.displays.any { display -> display.isOn } in <lambda>() 68 it.timestamp <= timestamp && it.displays.any { display -> display.isOn } in <lambda>()
|
D | LayerTraceEntry.kt | 38 val displays: Collection<Display>, in <lambda>() constant in android.tools.traces.surfaceflinger.LayerTraceEntry 59 get() = displays.firstOrNull { !it.isVirtual && it.isOn } in <lambda>() 127 result = 31 * result + displays.hashCode() in <lambda>() 167 displays in <lambda>()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/ |
D | MockLayerTraceEntryBuilder.kt | 27 private val displays = mutableListOf<Display>() constant in android.tools.utils.MockLayerTraceEntryBuilder 48 this.displays.add( in <lambda>() 76 displays = displays, in build()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/extractors/ |
D | Utils.kt | 143 val displays = layerTraceEntry.displays.filter { !it.isVirtual } in getOnDisplayFor() constant 144 require(displays.isNotEmpty()) { "Failed to get a display for provided entry" } in getOnDisplayFor() 145 val onDisplays = displays.filter { it.isOn } in getOnDisplayFor()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/surfaceflinger/ |
D | LayerTraceEntryBuilderTest.kt | 110 val displays = in removesLayersFromOffDisplays() constant 129 .setDisplays(displays) in removesLayersFromOffDisplays() 133 Truth.assertThat(entry.displays.all { it.isOff }).isTrue() in removesLayersFromOffDisplays()
|
D | LayersTraceEntryTest.kt | 179 displays = emptyList(), in usesRealTimestampWhenAvailableAndFallsbackOnElapsedTimestamp() 193 displays = emptyList(), in usesRealTimestampWhenAvailableAndFallsbackOnElapsedTimestamp()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/ |
D | EntireScreenCoveredAtEnd.kt | 32 val onDisplays = entry.displays.filter { it.isOn } in <lambda>()
|
D | EntireScreenCoveredAtStart.kt | 32 val onDisplays = entry.displays.filter { it.isOn } in <lambda>()
|
D | EntireScreenCoveredAlways.kt | 33 entry.entry.displays in <lambda>()
|
D | AppLayerRemainInsideDisplayBounds.kt | 32 subject.entry.displays.forEach { display -> in <lambda>()
|
D | AppWindowRemainInsideDisplayBounds.kt | 32 val display = entry.wmState.displays.minByOrNull { it.id }!! in <lambda>()
|
D | SplitAppLayerBoundsSnapToDivider.kt | 53 entry.displays in calculateExpectedDisplaySize()
|
D | SplitAppLayerBoundsBecomesVisible.kt | 85 this.entry.displays.firstOrNull { it.isOn && !it.isVirtual } in LayerTraceEntrySubject()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/ |
D | WindowManagerState.kt | 57 get() = displays.any { it.isTablet } in <lambda>() 66 val displays: Collection<DisplayContent> in <lambda>() constant in android.tools.traces.wm.WindowManagerState 74 get() = displays.flatMap { it.rootTasks } in <lambda>() 181 displays.firstOrNull { it.displayId == PlatformConsts.DEFAULT_DISPLAY } in <lambda>() 184 displays.firstOrNull { it.displayId == displayId } in <lambda>() 227 return displays in <lambda>() 247 return displays in <lambda>()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/perfetto/ |
D | LayerTraceParserTest.kt | 59 .that(trace.entries.first().displays) in <lambda>()
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/ |
D | DeviceEmulationRule.kt | 186 vararg displays: DisplaySpec, in forDisplays() 190 return displays.flatMap { display -> in forDisplays()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/wm/ |
D | WindowManagerTraceTest.kt | 106 entry.displays.forEach { it::class.java.accessProperties(it) } in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/ |
D | LayersTraceParser.kt | 99 val displays = snapshotArgs.getChildren("displays")?.map { newDisplay(it) } ?: emptyList() in <lambda>() constant 118 .setDisplays(displays) in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/ |
D | LayersTraceSubject.kt | 233 subjects.any { it.entry.displays.any { display -> display.isOn } } in <lambda>()
|
D | LayerTraceEntrySubject.kt | 289 check { "Displays" }.that(entry.displays.size).isGreater(0) in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/ |
D | WindowManagerStateSubject.kt | 697 check { "Displays" }.that(wmState.displays.size).isGreater(0) in <lambda>()
|