Home
last modified time | relevance | path

Searched refs:displays (Results 1 – 22 of 22) sorted by relevance

/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/
DLayerTraceEntryBuilder.kt31 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>()
DLayersTrace.kt61 it.timestamp >= timestamp && it.displays.any { display -> display.isOn } in <lambda>()
68 it.timestamp <= timestamp && it.displays.any { display -> display.isOn } in <lambda>()
DLayerTraceEntry.kt38 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/
DMockLayerTraceEntryBuilder.kt27 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/
DUtils.kt143 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/
DLayerTraceEntryBuilderTest.kt110 val displays = in removesLayersFromOffDisplays() constant
129 .setDisplays(displays) in removesLayersFromOffDisplays()
133 Truth.assertThat(entry.displays.all { it.isOff }).isTrue() in removesLayersFromOffDisplays()
DLayersTraceEntryTest.kt179 displays = emptyList(), in usesRealTimestampWhenAvailableAndFallsbackOnElapsedTimestamp()
193 displays = emptyList(), in usesRealTimestampWhenAvailableAndFallsbackOnElapsedTimestamp()
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/
DEntireScreenCoveredAtEnd.kt32 val onDisplays = entry.displays.filter { it.isOn } in <lambda>()
DEntireScreenCoveredAtStart.kt32 val onDisplays = entry.displays.filter { it.isOn } in <lambda>()
DEntireScreenCoveredAlways.kt33 entry.entry.displays in <lambda>()
DAppLayerRemainInsideDisplayBounds.kt32 subject.entry.displays.forEach { display -> in <lambda>()
DAppWindowRemainInsideDisplayBounds.kt32 val display = entry.wmState.displays.minByOrNull { it.id }!! in <lambda>()
DSplitAppLayerBoundsSnapToDivider.kt53 entry.displays in calculateExpectedDisplaySize()
DSplitAppLayerBoundsBecomesVisible.kt85 this.entry.displays.firstOrNull { it.isOn && !it.isVirtual } in LayerTraceEntrySubject()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/
DWindowManagerState.kt57 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/
DLayerTraceParserTest.kt59 .that(trace.entries.first().displays) in <lambda>()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DDeviceEmulationRule.kt186 vararg displays: DisplaySpec, in forDisplays()
190 return displays.flatMap { display -> in forDisplays()
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/wm/
DWindowManagerTraceTest.kt106 entry.displays.forEach { it::class.java.accessProperties(it) } in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/
DLayersTraceParser.kt99 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/
DLayersTraceSubject.kt233 subjects.any { it.entry.displays.any { display -> display.isOn } } in <lambda>()
DLayerTraceEntrySubject.kt289 check { "Displays" }.that(entry.displays.size).isGreater(0) in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/
DWindowManagerStateSubject.kt697 check { "Displays" }.that(wmState.displays.size).isGreater(0) in <lambda>()