/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/ |
D | TestComponents.kt | 21 import android.tools.traces.component.ComponentNameMatcher 25 val CHROME = ComponentNameMatcher("com.android.chrome", "com.google.android.apps.chrome.Main") 29 ComponentNameMatcher( 35 val CHROME_SPLASH_SCREEN = ComponentNameMatcher("", "Splash Screen com.android.chrome") 37 @JvmStatic val DOCKER_STACK_DIVIDER = ComponentNameMatcher("", "DockedStackDivider") 39 @JvmStatic val IMAGINARY = ComponentNameMatcher("", "ImaginaryWindow") 43 ComponentNameMatcher( 50 ComponentNameMatcher( 55 @JvmStatic val PIP_OVERLAY = ComponentNameMatcher("", "pip-dismiss-overlay") 59 ComponentNameMatcher( [all …]
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/ |
D | ComponentNameMatcher.kt | 24 class ComponentNameMatcher(var component: ComponentName) : IComponentNameMatcher { class 76 if (other !is ComponentNameMatcher) return false in toActivityIdentifier() 97 val NAV_BAR = ComponentNameMatcher("", "NavigationBar0") 98 val TASK_BAR = ComponentNameMatcher("", "Taskbar") 99 val STATUS_BAR = ComponentNameMatcher("", "StatusBar") 100 val ROTATION = ComponentNameMatcher("", "RotationLayer") 101 val BACK_SURFACE = ComponentNameMatcher("", "BackColorSurface") 102 val IME = ComponentNameMatcher("", "InputMethod") 103 val IME_SNAPSHOT = ComponentNameMatcher("", "IME-snapshot-surface") 104 val SPLASH_SCREEN = ComponentNameMatcher("", "Splash Screen") [all …]
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/surfaceflinger/ |
D | LayerTraceEntrySubjectTest.kt | 24 import android.tools.traces.component.ComponentNameMatcher 69 .isVisible(ComponentNameMatcher.NAV_BAR) in testCanInspectBeginning() 79 .isVisible(ComponentNameMatcher.NAV_BAR) in testCanInspectEnd() 145 .visibleRegion(ComponentNameMatcher.STATUS_BAR) in canTestLayerVisibleRegion_incorrectRegionSize() 157 .visibleRegion(ComponentNameMatcher.STATUS_BAR) in canTestLayerVisibleRegion() 196 listOf(ComponentNameMatcher(app1Name), ComponentNameMatcher(app2Name)) in orComponentMatcher_visibility_oneVisibleOtherInvisible() 199 subject.isVisible(ComponentNameMatcher(app1Name)) in orComponentMatcher_visibility_oneVisibleOtherInvisible() 200 subject.isInvisible(ComponentNameMatcher(app2Name)) in orComponentMatcher_visibility_oneVisibleOtherInvisible() 226 listOf(ComponentNameMatcher(app1Name), ComponentNameMatcher(app2Name)) in orComponentMatcher_visibility_oneVisibleOtherMissing() 229 subject.isVisible(ComponentNameMatcher(app1Name)) in orComponentMatcher_visibility_oneVisibleOtherMissing() [all …]
|
/platform_testing/libraries/flicker/src/android/tools/flicker/config/common/ |
D | Components.kt | 20 import android.tools.traces.component.ComponentNameMatcher 23 val NAV_BAR = ComponentTemplate("Navbar") { ComponentNameMatcher.NAV_BAR } in <lambda>() 24 val STATUS_BAR = ComponentTemplate("StatusBar") { ComponentNameMatcher.STATUS_BAR } in <lambda>() 25 val LAUNCHER = ComponentTemplate("Launcher") { ComponentNameMatcher.LAUNCHER } in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertors/assertions/ |
D | AppLayerBecomesVisible.kt | 22 import android.tools.traces.component.ComponentNameMatcher 37 .isVisible(ComponentNameMatcher.SNAPSHOT, isOptional = true) in doEvaluate() 39 .isVisible(ComponentNameMatcher.SPLASH_SCREEN, isOptional = true) in doEvaluate() 46 ComponentNameMatcher.SNAPSHOT.or(ComponentNameMatcher.SPLASH_SCREEN) in doEvaluate()
|
D | AppWindowBecomesVisible.kt | 22 import android.tools.traces.component.ComponentNameMatcher 37 .isAppWindowVisible(ComponentNameMatcher.SNAPSHOT, isOptional = true) in doEvaluate() 39 .isAppWindowVisible(ComponentNameMatcher.SPLASH_SCREEN, isOptional = true) in doEvaluate() 46 ComponentNameMatcher.SNAPSHOT.or(ComponentNameMatcher.SPLASH_SCREEN) in doEvaluate()
|
D | AppLayerIsVisibleAtEnd.kt | 22 import android.tools.traces.component.ComponentNameMatcher 33 ComponentNameMatcher.SNAPSHOT.or(ComponentNameMatcher.SPLASH_SCREEN) in doEvaluate()
|
D | AppWindowBecomesTopWindow.kt | 22 import android.tools.traces.component.ComponentNameMatcher 37 testApp.or(ComponentNameMatcher.SNAPSHOT).or(ComponentNameMatcher.SPLASH_SCREEN) in doEvaluate()
|
D | RotationLayerAppearsAndVanishes.kt | 22 import android.tools.traces.component.ComponentNameMatcher 35 .isVisible(ComponentNameMatcher.ROTATION) in doEvaluate() 38 .isInvisible(ComponentNameMatcher.ROTATION) in doEvaluate()
|
D | AppLayerReplacesLauncher.kt | 22 import android.tools.traces.component.ComponentNameMatcher 38 isVisible(ComponentNameMatcher.LAUNCHER) in doEvaluate()
|
D | LauncherReplacesAppLayer.kt | 22 import android.tools.traces.component.ComponentNameMatcher 39 .isVisible(ComponentNameMatcher.LAUNCHER) in doEvaluate()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/parsers/ |
D | Extensions.kt | 22 import android.tools.traces.component.ComponentNameMatcher 25 fun ComponentName.toFlickerComponent(): ComponentNameMatcher = 26 ComponentNameMatcher(this.packageName, this.className)
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/wm/ |
D | WindowManagerStateSubjectTest.kt | 21 import android.tools.traces.component.ComponentNameMatcher 82 .containsAboveAppWindow(ComponentNameMatcher.NAV_BAR) in canDetectAboveAppWindowVisibility_isVisible() 84 .containsAboveAppWindow(ComponentNameMatcher.STATUS_BAR) in canDetectAboveAppWindowVisibility_isVisible() 100 .containsAboveAppWindow(ComponentNameMatcher.NAV_BAR) in canDetectAboveAppWindowVisibility_isInvisible() 101 .isNonAppWindowInvisible(ComponentNameMatcher.NAV_BAR) in canDetectAboveAppWindowVisibility_isInvisible() 111 entry.visibleRegion(ComponentNameMatcher.STATUS_BAR).coversAtLeast(statusBarRegion) in canDetectWindowCoversAtLeastRegion_exactSize() 120 entry.visibleRegion(ComponentNameMatcher.STATUS_BAR).coversAtLeast(Region(0, 0, 100, 100)) in canDetectWindowCoversAtLeastRegion_smallerRegion() 131 .visibleRegion(ComponentNameMatcher.STATUS_BAR) in canDetectWindowCoversAtLeastRegion_largerRegion() 146 entry.visibleRegion(ComponentNameMatcher.STATUS_BAR).coversExactly(statusBarRegion) in canDetectWindowCoversExactlyRegion_exactSize() 157 .visibleRegion(ComponentNameMatcher.STATUS_BAR) in canDetectWindowCoversExactlyRegion_smallerRegion() [all …]
|
D | WindowManagerTraceSubjectTest.kt | 21 import android.tools.traces.component.ComponentNameMatcher in <lambda>() 95 .isAppWindowOnTop(ComponentNameMatcher.SNAPSHOT) in <lambda>() 149 .isNonAppWindowInvisible(ComponentNameMatcher.IME) in <lambda>() 151 .isNonAppWindowVisible(ComponentNameMatcher.IME) in <lambda>() 159 ComponentNameMatcher.IME, in <lambda>() 160 ComponentNameMatcher.NAV_BAR, in <lambda>() 170 .isAboveAppWindowInvisible(ComponentNameMatcher.IME) in <lambda>() 172 .isAboveAppWindowVisible(ComponentNameMatcher.IME) in <lambda>() 201 ComponentNameMatcher.unflattenFromString( in <lambda>() 235 ComponentNameMatcher( in <lambda>() [all …]
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/ |
D | ConditionsFactory.kt | 22 import android.tools.traces.component.ComponentNameMatcher in <lambda>() 47 var component: IComponentMatcher = ComponentNameMatcher.NAV_BAR in <lambda>() 49 component = component.or(ComponentNameMatcher.TASK_BAR) in <lambda>() 103 it.wmState.isWindowSurfaceShown(ComponentNameMatcher.NAV_BAR) in <lambda>() 108 isLayerVisible(ComponentNameMatcher.NAV_BAR) in <lambda>() 113 it.layerState.getLayerWithBuffer(ComponentNameMatcher.NAV_BAR)?.color?.alpha() == 1.0f in <lambda>() 125 it.wmState.isWindowSurfaceShown(ComponentNameMatcher.TASK_BAR) in <lambda>() 130 isLayerVisible(ComponentNameMatcher.TASK_BAR) in <lambda>() 135 it.layerState.getLayerWithBuffer(ComponentNameMatcher.TASK_BAR)?.color?.alpha() == 1.0f in <lambda>() 147 it.wmState.isWindowSurfaceShown(ComponentNameMatcher.STATUS_BAR) in <lambda>() [all …]
|
/platform_testing/libraries/flicker/src/android/tools/flicker/config/ime/ |
D | Components.kt | 4 import android.tools.traces.component.ComponentNameMatcher 7 val IME = ComponentTemplate("IME") { ComponentNameMatcher.IME } in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/config/pip/ |
D | Components.kt | 22 import android.tools.traces.component.ComponentNameMatcher in <lambda>() 28 ComponentTemplate("PipDismissOverlay") { ComponentNameMatcher("", "pip-dismiss-overlay") } in <lambda>() 30 ComponentTemplate("PipContentOverlay") { ComponentNameMatcher.PIP_CONTENT_OVERLAY } in <lambda>()
|
/platform_testing/libraries/flicker/appHelpers/src/android/tools/device/apphelpers/ |
D | GmailAppHelper.kt | 20 import android.tools.traces.component.ComponentNameMatcher 30 ComponentNameMatcher(
|
D | CalculatorAppHelper.kt | 20 import android.tools.traces.component.ComponentNameMatcher 34 ComponentNameMatcher(
|
D | ClockAppHelper.kt | 24 import android.tools.traces.component.ComponentNameMatcher 51 private fun getClockComponent(pkgManager: PackageManager): ComponentNameMatcher = 52 ComponentNameMatcher(
|
D | CameraAppHelper.kt | 24 import android.tools.traces.component.ComponentNameMatcher 51 private fun getCameraComponent(pkgManager: PackageManager): ComponentNameMatcher = 52 ComponentNameMatcher(
|
D | MessagingAppHelper.kt | 23 import android.tools.traces.component.ComponentNameMatcher 52 private fun getMessagesComponent(pkgManager: PackageManager): ComponentNameMatcher { in getMessagesComponent() 57 return ComponentNameMatcher(resolveInfo.activityInfo.packageName, className = "") in getMessagesComponent()
|
D | BrowserAppHelper.kt | 23 import android.tools.traces.component.ComponentNameMatcher 65 private fun getBrowserComponent(pkgManager: PackageManager): ComponentNameMatcher { in getBrowserComponent() 70 return ComponentNameMatcher(resolveInfo.activityInfo.packageName, className = "") in getBrowserComponent()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/layers/ |
D | LayersTraceSubject.kt | 25 import android.tools.traces.component.ComponentNameMatcher in <lambda>() 258 hasFrameSequence(ComponentNameMatcher("", name), frameNumbers) in <lambda>() 325 ComponentNameMatcher.SPLASH_SCREEN, in <lambda>() 326 ComponentNameMatcher.SNAPSHOT, in <lambda>() 327 ComponentNameMatcher.IME_SNAPSHOT, in <lambda>() 328 ComponentNameMatcher.PIP_CONTENT_OVERLAY, in <lambda>() 329 ComponentNameMatcher.EDGE_BACK_GESTURE_HANDLER, in <lambda>() 330 ComponentNameMatcher.COLOR_FADE, in <lambda>() 331 ComponentNameMatcher.TRANSITION_SNAPSHOT, in <lambda>() 332 ComponentNameMatcher.FLOATING_ROTATION_BUTTON, in <lambda>() [all …]
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/parsers/ |
D | WindowManagerStateHelperTest.kt | 30 import android.tools.traces.component.ComponentNameMatcher in <lambda>() 82 ComponentNameMatcher.unflattenFromString( in <lambda>() 86 ComponentNameMatcher.unflattenFromString( in <lambda>() 149 if (wmState.isTablet || !ConditionsFactory.isPhoneNavBar()) ComponentNameMatcher.TASK_BAR in <lambda>() 150 else ComponentNameMatcher.NAV_BAR in <lambda>() 165 mutableListOf(ComponentNameMatcher.STATUS_BAR, getNavBarComponent(wmState)) in <lambda>() 166 if (wmState.isWindowSurfaceShown(ComponentNameMatcher.SPLASH_SCREEN)) { in <lambda>() 167 layerList.add(ComponentNameMatcher.SPLASH_SCREEN) in <lambda>() 169 if (wmState.isWindowSurfaceShown(ComponentNameMatcher.SNAPSHOT)) { in <lambda>() 170 layerList.add(ComponentNameMatcher.SNAPSHOT) in <lambda>() [all …]
|