/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/ |
D | IComponentMatcher.kt | 19 import android.tools.traces.surfaceflinger.Layer 56 fun layerMatchesAnyOf(layer: Layer): Boolean = layerMatchesAnyOf(listOf(layer)) in windowMatchesAnyOf() 62 fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean in windowMatchesAnyOf() 106 fun check(layers: Collection<Layer>, condition: (Collection<Layer>) -> Boolean): Boolean in windowMatchesAnyOf() 108 fun filterLayers(layers: Collection<Layer>): Collection<Layer> = in windowMatchesAnyOf()
|
D | IComponentNameMatcher.kt | 19 import android.tools.traces.surfaceflinger.Layer 28 fun activityRecordMatchesAnyOf(layer: Layer): Boolean = 35 fun activityRecordMatchesAnyOf(layers: Collection<Layer>): Boolean
|
D | ComponentSplashScreenMatcher.kt | 19 import android.tools.traces.surfaceflinger.Layer 33 override fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean { in layerMatchesAnyOf() 43 var ancestor: Layer? = it.parent?.parent in layerMatchesAnyOf() 70 layers: Collection<Layer>, in check() 71 condition: (Collection<Layer>) -> Boolean in check()
|
D | ExactComponentIdMatcher.kt | 19 import android.tools.traces.surfaceflinger.Layer 50 override fun layerMatchesAnyOf(layers: Collection<Layer>) = layers.any { it.id == layerId } in <lambda>() 54 layers: Collection<Layer>, in check() 55 condition: (Collection<Layer>) -> Boolean in check()
|
D | EdgeExtensionComponentMatcher.kt | 19 import android.tools.traces.surfaceflinger.Layer 37 override fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean { in layerMatchesAnyOf() 51 layers: Collection<Layer>, in check() 52 condition: (Collection<Layer>) -> Boolean in check()
|
D | OrComponentMatcher.kt | 19 import android.tools.traces.surfaceflinger.Layer in <lambda>() 47 override fun layerMatchesAnyOf(layer: Layer): Boolean { in <lambda>() 52 override fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean { in <lambda>() 58 layers: Collection<Layer>, in <lambda>() 59 condition: (Collection<Layer>) -> Boolean in <lambda>()
|
D | FullComponentIdMatcher.kt | 19 import android.tools.traces.surfaceflinger.Layer 56 override fun layerMatchesAnyOf(layers: Collection<Layer>) = in layerMatchesAnyOf() 68 layers: Collection<Layer>, in check() 69 condition: (Collection<Layer>) -> Boolean in check()
|
D | ComponentNameMatcher.kt | 19 import android.tools.traces.surfaceflinger.Layer 40 override fun activityRecordMatchesAnyOf(layers: Collection<Layer>): Boolean = in toActivityName() 56 override fun layerMatchesAnyOf(layers: Collection<Layer>): Boolean = in layerMatchesAnyOf() 61 layers: Collection<Layer>, in check() 62 condition: (Collection<Layer>) -> Boolean in check()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/ |
D | LayerTraceEntryBuilder.kt | 25 private var orphanLayerCallback: ((Layer) -> Boolean)? = null in <lambda>() 26 private val orphans = mutableListOf<Layer>() in <lambda>() 27 private var layers: MutableMap<Int, Layer> = mutableMapOf() in <lambda>() 35 private var duplicateLayerCallback: ((Layer) -> Boolean) = { in <lambda>() 63 fun setLayers(layers: Collection<Layer>): LayerTraceEntryBuilder = apply { in <lambda>() 64 val result = mutableMapOf<Int, Layer>() in <lambda>() 76 fun setOrphanLayerCallback(value: ((Layer) -> Boolean)?): LayerTraceEntryBuilder = apply { in <lambda>() 80 fun setDuplicateLayerCallback(value: ((Layer) -> Boolean)): LayerTraceEntryBuilder = apply { in <lambda>() 137 private fun computeRootLayers(): Collection<Layer> { in <lambda>() 143 val rootLayers = mutableListOf<Layer>() in <lambda>() [all …]
|
D | LayerTraceEntry.kt | 40 _rootLayers: Collection<Layer> in <lambda>() 47 val flattenedLayers: Collection<Layer> = fillFlattenedLayers(_rootLayers) in <lambda>() 52 val visibleLayers: Collection<Layer> in <lambda>() 55 val children: Collection<Layer> in <lambda>() 69 fun getLayerWithBuffer(componentMatcher: IComponentMatcher): Layer? { in <lambda>() 76 fun getLayerById(layerId: Int): Layer? = this.flattenedLayers.firstOrNull { it.id == layerId } in <lambda>() 133 private fun fillFlattenedLayers(rootLayers: Collection<Layer>): Collection<Layer> { in <lambda>() 134 val layers = mutableListOf<Layer>() in <lambda>() 144 private fun Collection<Layer>.topDownTraversal(): List<Layer> { in <lambda>() 148 private fun Layer.topDownTraversal(): List<Layer> { in <lambda>() method [all …]
|
D | Layer.kt | 34 class Layer class 44 var parent: Layer? = null 45 var zOrderRelativeOf: Layer? = null 57 private val _children = mutableListOf<Layer>() 58 private val _occludedBy = mutableListOf<Layer>() 59 private val _partiallyOccludedBy = mutableListOf<Layer>() 60 private val _coveredBy = mutableListOf<Layer>() 61 val children: Collection<Layer> 63 val occludedBy: Collection<Layer> 65 val partiallyOccludedBy: Collection<Layer> [all …]
|
D | LayerDescriptor.kt | 3 class LayerDescriptor(layer: Layer) {
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/ |
D | MockLayerBuilder.kt | 27 import android.tools.traces.surfaceflinger.Layer in <lambda>() 63 fun build(): Layer { in <lambda>() 70 Layer.from( in <lambda>() 98 val layers = mutableListOf<Layer>() in <lambda>()
|
D | MockLayerTraceEntryBuilder.kt | 22 import android.tools.traces.surfaceflinger.Layer 28 private val layers = mutableListOf<Layer>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/ |
D | LayerSubject.kt | 24 import android.tools.traces.surfaceflinger.Layer 48 val layer: Layer 74 operator fun invoke(assertion: (Layer) -> Unit): LayerSubject = apply { assertion(this.layer) } in <lambda>()
|
D | ILayerSubject.kt | 22 import android.tools.traces.surfaceflinger.Layer
|
D | LayerTraceEntrySubject.kt | 35 import android.tools.traces.surfaceflinger.Layer in <lambda>() 331 fun layer(predicate: (Layer) -> Boolean): LayerSubject? = in <lambda>() 334 private fun getActivityRecordFor(layer: Layer): Layer? { in <lambda>()
|
D | LayersTraceSubject.kt | 30 import android.tools.traces.surfaceflinger.Layer in <lambda>() 102 fun layers(predicate: (Layer) -> Boolean): List<LayerSubject> = in <lambda>()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/surfaceflinger/ |
D | LayerTest.kt | 123 ): Layer { in makeLayerWithDefaults() 124 return Layer.from( in makeLayerWithDefaults()
|
D | LayerTraceEntryBuilderTest.kt | 82 Layer.from( in removesLayersFromOffDisplays()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/perfetto/ |
D | LayersTraceParser.kt | 31 import android.tools.traces.surfaceflinger.Layer in <lambda>() 45 private val orphanLayerCallback: ((Layer) -> Boolean)? = null, in <lambda>() 159 private fun newLayer(layer: Args, excludesCompositionState: Boolean): Layer { in <lambda>() 165 return Layer.from( in <lambda>()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/ |
D | WindowManagerStateHelperTest.kt | 34 import android.tools.traces.surfaceflinger.Layer in <lambda>() 95 private fun createImaginaryLayer(name: String, index: Int, id: Int, parentId: Int): Layer { in <lambda>() 104 return Layer.from( in <lambda>() 132 private fun createImaginaryVisibleLayers(names: List<IComponentName>): Collection<Layer> { in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/ |
D | ConditionsFactory.kt | 24 import android.tools.traces.surfaceflinger.Layer in <lambda>() 298 private fun isTransformFlagSet(layer: Layer, transform: Int): Boolean = in <lambda>()
|