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()
236 final PrimaryActivity primaryActivity = startActivity(PrimaryActivity.class, in testPointerCapture() local
240 getInstrumentation().runOnMainSync(primaryActivity::requestPointerCapture); in testPointerCapture()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java733 protected void launchActivitiesInSplitScreen(LaunchActivityBuilder primaryActivity, in launchActivitiesInSplitScreen() argument
736 primaryActivity in launchActivitiesInSplitScreen()
742 primaryActivity.mTargetActivity).mTaskId; in launchActivitiesInSplitScreen()