Home
last modified time | relevance | path

Searched refs:primaryActivity (Results 1 – 2 of 2) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowFocusTests.java145 final PrimaryActivity primaryActivity = startActivity(PrimaryActivity.class, in testKeyReceiving() local
147 sendAndAssertTargetConsumedKey(primaryActivity, KEYCODE_0, INVALID_DISPLAY); in testKeyReceiving()
148 sendAndAssertTargetConsumedKey(primaryActivity, KEYCODE_1, DEFAULT_DISPLAY); in testKeyReceiving()
161 primaryActivity.waitAndAssertWindowFocusState(false /* hasFocus */); in testKeyReceiving()
183 sendAndAssertTargetConsumedKey(primaryActivity, KEYCODE_8, INVALID_DISPLAY); in testKeyReceiving()
196 final PrimaryActivity primaryActivity = startActivity(PrimaryActivity.class, in testMovingDisplayToTopByKeyEvent() local
205 sendAndAssertTargetConsumedKey(primaryActivity, KEYCODE_0, DEFAULT_DISPLAY); in testMovingDisplayToTopByKeyEvent()
206 sendAndAssertTargetConsumedKey(primaryActivity, KEYCODE_1, INVALID_DISPLAY); in testMovingDisplayToTopByKeyEvent()
235 final PrimaryActivity primaryActivity = startActivity(PrimaryActivity.class, in testPointerCapture() local
239 getInstrumentation().runOnMainSync(primaryActivity::requestPointerCapture); in testPointerCapture()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java686 protected void launchActivitiesInSplitScreen(LaunchActivityBuilder primaryActivity, in launchActivitiesInSplitScreen() argument
689 primaryActivity in launchActivitiesInSplitScreen()
695 primaryActivity.mTargetActivity).mTaskId; in launchActivitiesInSplitScreen()