Home
last modified time | relevance | path

Searched refs:ActivityEmbeddingAppHelper (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/rtl/
DRTLStartSecondaryWithPlaceholderTest.kt26 import com.android.server.wm.flicker.helpers.ActivityEmbeddingAppHelper
71 isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in assertWindowVisibilities()
73 .isAppWindowInvisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in assertWindowVisibilities()
76 isAppWindowVisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in assertWindowVisibilities()
78 .isAppWindowInvisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in assertWindowVisibilities()
81 isAppWindowInvisible(ActivityEmbeddingAppHelper.PLACEHOLDER_PRIMARY_COMPONENT) in assertWindowVisibilities()
83 .isAppWindowVisible(ActivityEmbeddingAppHelper.PLACEHOLDER_PRIMARY_COMPONENT) in assertWindowVisibilities()
86 isAppWindowInvisible(ActivityEmbeddingAppHelper.PLACEHOLDER_SECONDARY_COMPONENT) in assertWindowVisibilities()
88 .isAppWindowVisible(ActivityEmbeddingAppHelper.PLACEHOLDER_SECONDARY_COMPONENT) in assertWindowVisibilities()
100 this.isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in assertLayerVisibilities()
[all …]
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/open/
DOpenThirdActivityOverSplitTest.kt27 import com.android.server.wm.flicker.helpers.ActivityEmbeddingAppHelper
73 flicker.assertWm { isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in mainActivityWindowAlwaysVisible()
80 flicker.assertLayers { isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in mainActivityLayersAlwaysVisible()
87 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayersAlwaysVisible()
89 this.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT).region in mainActivityLayersAlwaysVisible()
98 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayersAlwaysVisible()
100 this.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in mainActivityLayersAlwaysVisible()
103 this.visibleRegion(ActivityEmbeddingAppHelper.THIRD_ACTIVITY_COMPONENT) in mainActivityLayersAlwaysVisible()
115 isAppWindowVisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in thirdActivityWindowLaunchesIntoSplit()
116 .isAppWindowInvisible(ActivityEmbeddingAppHelper.THIRD_ACTIVITY_COMPONENT) in thirdActivityWindowLaunchesIntoSplit()
[all …]
DOpenActivityEmbeddingPlaceholderSplitTest.kt26 import com.android.server.wm.flicker.helpers.ActivityEmbeddingAppHelper
64 isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityWindowBecomesInvisible()
66 .isAppWindowInvisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityWindowBecomesInvisible()
75 isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayerBecomesInvisible()
77 .isInvisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayerBecomesInvisible()
89 notContains(ActivityEmbeddingAppHelper.PLACEHOLDER_PRIMARY_COMPONENT) in placeholderSplitWindowsBecomeVisible()
92 ActivityEmbeddingAppHelper.PLACEHOLDER_PRIMARY_COMPONENT, in placeholderSplitWindowsBecomeVisible()
96 .isAppWindowVisible(ActivityEmbeddingAppHelper.PLACEHOLDER_PRIMARY_COMPONENT) in placeholderSplitWindowsBecomeVisible()
99 notContains(ActivityEmbeddingAppHelper.PLACEHOLDER_SECONDARY_COMPONENT) in placeholderSplitWindowsBecomeVisible()
102 ActivityEmbeddingAppHelper.PLACEHOLDER_SECONDARY_COMPONENT, in placeholderSplitWindowsBecomeVisible()
[all …]
DOpenTrampolineActivityTest.kt29 import com.android.server.wm.flicker.helpers.ActivityEmbeddingAppHelper
72 notContains(ActivityEmbeddingAppHelper.TRAMPOLINE_ACTIVITY_COMPONENT) in trampolineActivityFinishes()
80 isInvisible(ActivityEmbeddingAppHelper.TRAMPOLINE_ACTIVITY_COMPONENT) in trampolineLayerNeverVisible()
88 flicker.assertWm { isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in mainActivityWindowAlwaysVisible()
97 flicker.assertLayersStart { isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in mainActivityLayerAlwaysVisible()
98 flicker.assertLayersEnd { isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in mainActivityLayerAlwaysVisible()
106 notContains(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityWindowLaunchedFromTrampoline()
109 ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT, in secondaryActivityWindowLaunchedFromTrampoline()
113 .isAppWindowVisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityWindowLaunchedFromTrampoline()
122 isInvisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityLayerLaunchedFromTrampoline()
[all …]
DOpenActivityEmbeddingSecondaryToSplitTest.kt27 import com.android.server.wm.flicker.helpers.ActivityEmbeddingAppHelper
63 flicker.assertWm { isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in mainActivityWindowIsAlwaysVisible()
75 ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT.or( in mainActivityLayerIsAlwaysVisible()
81 isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayerIsAlwaysVisible()
91 notContains(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityWindowBecomesVisible()
94 ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT, in secondaryActivityWindowBecomesVisible()
98 .isAppWindowVisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityWindowBecomesVisible()
107 isInvisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityLayerBecomesVisible()
109 .isVisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityLayerBecomesVisible()
DMainActivityStartsSecondaryWithAlwaysExpandTest.kt28 import com.android.server.wm.flicker.helpers.ActivityEmbeddingAppHelper
84 this.isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in startsWithSplit()
87 this.isAppWindowVisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in startsWithSplit()
96 isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayerBecomesInvisible()
98 .isInvisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayerBecomesInvisible()
107 isVisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityLayerBecomesInvisible()
109 .isInvisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityLayerBecomesInvisible()
118 this.visibleRegion(ActivityEmbeddingAppHelper.ALWAYS_EXPAND_ACTIVITY_COMPONENT) in endsWithAlwaysExpandActivityCoveringFullScreen()
129 this.isAppWindowOnTop(ActivityEmbeddingAppHelper.ALWAYS_EXPAND_ACTIVITY_COMPONENT) in endsWithAlwaysExpandActivityOnTop()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/pip/
DSecondaryActivityEnterPipTest.kt31 import com.android.server.wm.flicker.helpers.ActivityEmbeddingAppHelper in <lambda>()
76 val leftLayerRegion = visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
78 visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in <lambda>()
91 visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
100 flicker.assertWm { isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in <lambda>()
102 visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
112 isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
115 .isInvisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
117 .isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT, isOptional = true) in <lambda>()
120 visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
[all …]
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/close/
DCloseSecondaryActivityInSplitTest.kt28 import com.android.server.wm.flicker.helpers.ActivityEmbeddingAppHelper
78 flicker.assertWm { isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in mainActivityWindowBecomesFullScreen()
80 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityWindowBecomesFullScreen()
91 ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT.or( in mainActivityLayerIsAlwaysVisible()
97 isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in mainActivityLayerIsAlwaysVisible()
107 contains(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityWindowFinishes()
109 .notContains(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityWindowFinishes()
117 isVisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityLayerFinishes()
119 .isInvisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityLayerFinishes()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/layoutchange/
DHorizontalSplitChangeRatioTest.kt28 import com.android.server.wm.flicker.helpers.ActivityEmbeddingAppHelper
79 flicker.assertWm { isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in backgroundLayerNeverVisible()
86 flicker.assertLayers { isVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in mainActivityLayerIsAlwaysVisible()
94 isAppWindowVisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityWindowIsAlwaysVisible()
102 flicker.assertLayers { isVisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) } in secondaryActivityLayerIsAlwaysVisible()
111 this.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityAdjustsHeightRuntime()
113 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in secondaryActivityAdjustsHeightRuntime()
129 this.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryActivityAdjustsHeightRuntime()
131 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in secondaryActivityAdjustsHeightRuntime()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/rotation/
DRotateSplitNoChangeTest.kt26 import com.android.server.wm.flicker.helpers.ActivityEmbeddingAppHelper in <lambda>()
82 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
84 this.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in <lambda>()
107 this.visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in <lambda>()
109 this.visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in <lambda>()
126 flicker.assertWm { isAppWindowVisible(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) } in <lambda>()
128 isAppWindowVisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in <lambda>()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/
DActivityEmbeddingTestBase.kt23 import com.android.server.wm.flicker.helpers.ActivityEmbeddingAppHelper
28 val testApp = ActivityEmbeddingAppHelper(instrumentation)
33 ActivityEmbeddingAppHelper.assumeActivityEmbeddingSupportedDevice() in assumeActivityEmbeddingSupported()
/frameworks/base/tests/FlickerTests/ActivityEmbedding/src/com/android/server/wm/flicker/activityembedding/splitscreen/
DEnterSystemSplitTest.kt28 import com.android.server.wm.flicker.helpers.ActivityEmbeddingAppHelper
129 visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in secondaryAppWindowBecomesVisible()
131 visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in secondaryAppWindowBecomesVisible()
160 visibleRegion(ActivityEmbeddingAppHelper.MAIN_ACTIVITY_COMPONENT) in activityEmbeddingSplitWindowsAreEven()
162 visibleRegion(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT) in activityEmbeddingSplitWindowsAreEven()
/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/
DActivityEmbeddingAppHelper.kt35 class ActivityEmbeddingAppHelper class