Home
last modified time | relevance | path

Searched refs:primaryApp (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/libs/WindowManager/Shell/tests/flicker/splitscreen/src/com/android/wm/shell/flicker/splitscreen/benchmark/
DMultipleShowImeRequestsInSplitScreenBenchmark.kt38 override val primaryApp = ImeAppHelper(instrumentation) constant in com.android.wm.shell.flicker.splitscreen.benchmark.MultipleShowImeRequestsInSplitScreenBenchmark
42 primaryApp.closeIME(wmHelper) in <lambda>()
54 primaryApp, in <lambda>()
59 primaryApp.openIME(wmHelper) in <lambda>()
63 primaryApp.openIME(wmHelper) in <lambda>()
DEnterSplitScreenByDragFromTaskbarBenchmark.kt45 primaryApp.launchViaIntent(wmHelper) in <lambda>()
51 .dragToSplitscreen(secondaryApp.packageName, primaryApp.packageName) in <lambda>()
52 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in <lambda>()
DEnterSplitScreenByDragFromAllAppsBenchmark.kt45 primaryApp.launchViaIntent(wmHelper) in <lambda>()
53 .dragToSplitscreen(secondaryApp.packageName, primaryApp.packageName) in <lambda>()
54 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in <lambda>()
DEnterSplitScreenByDragFromShortcutBenchmark.kt55 primaryApp.launchViaIntent(wmHelper) in <lambda>()
64 .dragToSplitscreen(secondaryApp.packageName, primaryApp.packageName) in <lambda>()
65 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/splitscreen/scenarios/
DEnterSplitScreenByDragFromAllApps.kt44 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation) constant
55 primaryApp.launchViaIntent(wmHelper) in setup()
70 .dragToSplitscreen(secondaryApp.packageName, primaryApp.packageName) in enterSplitScreenByDragFromAllApps()
71 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in enterSplitScreenByDragFromAllApps()
76 primaryApp.exit(wmHelper) in teardown()
DEnterSplitScreenByDragFromTaskbar.kt43 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation) constant in com.android.wm.shell.flicker.service.splitscreen.scenarios.EnterSplitScreenByDragFromTaskbar
59 primaryApp.launchViaIntent(wmHelper) in setup()
67 .dragToSplitscreen(secondaryApp.packageName, primaryApp.packageName) in enterSplitScreenByDragFromTaskbar()
68 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in enterSplitScreenByDragFromTaskbar()
73 primaryApp.exit(wmHelper) in teardown()
DEnterSplitScreenByDragFromShortcut.kt44 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation) constant
55 primaryApp.launchViaIntent(wmHelper) in setup()
71 .dragToSplitscreen(secondaryApp.packageName, primaryApp.packageName) in enterSplitScreenByDragFromShortcut()
72 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in enterSplitScreenByDragFromShortcut()
85 primaryApp.exit(wmHelper) in teardwon()
DEnterSplitScreenFromOverview.kt42 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation) constant
49 primaryApp.launchViaIntent(wmHelper) in setup()
65 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in enterSplitScreenFromOverview()
70 primaryApp.exit(wmHelper) in teardown()
DSwitchBackToSplitFromHome.kt42 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation) constant in com.android.wm.shell.flicker.service.splitscreen.scenarios.SwitchBackToSplitFromHome
52 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, secondaryApp, rotation) in setup()
61 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in switchBackToSplitFromHome()
66 primaryApp.exit(wmHelper) in teardown()
DCopyContentInSplit.kt43 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation) constant
54 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, textEditApp, rotation) in setup()
59 SplitScreenUtils.copyContentInSplit(instrumentation, device, primaryApp, textEditApp) in copyContentInSplit()
64 primaryApp.exit(wmHelper) in teardown()
DSwitchBackToSplitFromRecent.kt42 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation) constant
54 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, secondaryApp, rotation) in setup()
63 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in switchBackToSplitFromRecent()
68 primaryApp.exit(wmHelper) in teardown()
DSwitchBackToSplitFromAnotherApp.kt42 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation) constant
53 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, secondaryApp, rotation) in setup()
62 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in switchBackToSplitFromAnotherApp()
67 primaryApp.exit(wmHelper) in teardown()
DSwitchBetweenSplitPairs.kt42 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation) constant in com.android.wm.shell.flicker.service.splitscreen.scenarios.SwitchBetweenSplitPairs
54 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, secondaryApp, rotation) in setup()
62 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in switchBetweenSplitPairs()
67 primaryApp.exit(wmHelper) in teardown()
DEnterSplitScreenByDragFromNotification.kt45 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation) constant in com.android.wm.shell.flicker.service.splitscreen.scenarios.EnterSplitScreenByDragFromNotification
67 primaryApp.launchViaIntent(wmHelper) in setup()
74 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, sendNotificationApp) in enterSplitScreenByDragFromNotification()
79 primaryApp.exit(wmHelper) in teardown()
DSwitchAppByDoubleTapDivider.kt44 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation) in <lambda>() constant
56 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, secondaryApp, rotation) in <lambda>()
70 primaryApp.exit(wmHelper) in <lambda>()
80 primaryApp.windowMatchesAnyOf(window) in <lambda>()
112 primaryApp.layerMatchesAnyOf(window) in <lambda>()
DDismissSplitScreenByGoHome.kt42 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation) constant in com.android.wm.shell.flicker.service.splitscreen.scenarios.DismissSplitScreenByGoHome
52 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, secondaryApp, rotation) in setup()
63 primaryApp.exit(wmHelper) in teardown()
DDragDividerToResize.kt42 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation) constant
52 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, secondaryApp, rotation) in setup()
62 primaryApp.exit(wmHelper) in teardown()
DUnlockKeyguardToSplitScreen.kt40 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation) constant in com.android.wm.shell.flicker.service.splitscreen.scenarios.UnlockKeyguardToSplitScreen
52 SplitScreenUtils.enterSplitViaIntent(wmHelper, primaryApp, secondaryApp) in setup()
66 primaryApp.exit(wmHelper) in teardown()
DDismissSplitScreenByDivider.kt42 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation) constant
52 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, secondaryApp, rotation) in setup()
77 primaryApp.exit(wmHelper) in teardown()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/splitscreen/src/com/android/wm/shell/flicker/splitscreen/
DUnlockKeyguardToSplitScreen.kt83 @Test fun primaryAppLayerIsVisibleAtEnd() = flicker.layerIsVisibleAtEnd(primaryApp) in <lambda>()
88 primaryApp, in <lambda>()
101 @Test fun primaryAppWindowIsVisibleAtEnd() = flicker.appWindowIsVisibleAtEnd(primaryApp) in <lambda>()
112 subject.name.contains(primaryApp.toLayerName()) && subject.isVisible in <lambda>()
114 .mapNotNull { primaryApp -> primaryApp.layer.visibleRegion } in <lambda>() method
DEnterSplitScreenByDragFromShortcut.kt64 @Presubmit @Test fun primaryAppLayerIsVisibleAtEnd() = flicker.layerIsVisibleAtEnd(primaryApp) in splitScreenDividerBecomesVisible()
74 primaryApp, in splitScreenDividerBecomesVisible()
86 fun primaryAppWindowIsVisibleAtEnd() = flicker.appWindowIsVisibleAtEnd(primaryApp) in splitScreenDividerBecomesVisible()
DSwitchAppByDoubleTapDivider.kt62 @Presubmit @Test fun primaryAppLayerIsVisibleAtEnd() = flicker.layerIsVisibleAtEnd(primaryApp) in splitScreenDividerKeepVisible()
72 primaryApp, in splitScreenDividerKeepVisible()
88 fun primaryAppWindowIsVisibleAtEnd() = flicker.appWindowIsVisibleAtEnd(primaryApp) in splitScreenDividerKeepVisible()
DEnterSplitScreenFromOverview.kt62 @Presubmit @Test fun primaryAppLayerIsVisibleAtEnd() = flicker.layerIsVisibleAtEnd(primaryApp) in splitScreenDividerBecomesVisible()
72 primaryApp, in splitScreenDividerBecomesVisible()
89 fun primaryAppWindowBecomesVisible() = flicker.appWindowBecomesVisible(primaryApp) in primaryAppWindowBecomesVisible()
DCopyContentInSplit.kt62 @Presubmit @Test fun primaryAppLayerKeepVisible() = flicker.layerKeepVisible(primaryApp) in splitScreenDividerKeepVisible()
70 primaryApp, in splitScreenDividerKeepVisible()
84 @Presubmit @Test fun primaryAppWindowKeepVisible() = flicker.appWindowKeepVisible(primaryApp) in splitScreenDividerKeepVisible()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/
DSplitScreenUtils.kt90 primaryApp: IComponentMatcher, in <lambda>()
95 .withWindowSurfaceAppeared(primaryApp) in <lambda>()
105 primaryApp: StandardAppHelper, in <lambda>()
109 primaryApp.launchViaIntent(wmHelper) in <lambda>()
115 waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in <lambda>()
120 primaryApp: StandardAppHelper, in <lambda>()
124 primaryApp.launchViaIntent(wmHelper, null, null, stringExtras) in <lambda>()
125 waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in <lambda>()

12