Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowFocusTests.java156 final SecondaryActivity secondaryActivity = in testKeyReceiving() local
158 sendAndAssertTargetConsumedKey(secondaryActivity, KEYCODE_2, INVALID_DISPLAY); in testKeyReceiving()
159 sendAndAssertTargetConsumedKey(secondaryActivity, KEYCODE_3, secondaryDisplayId); in testKeyReceiving()
167 secondaryActivity.assertAndConsumeKeyEvent(ACTION_DOWN, KEYCODE_5, 0 /* flags */); in testKeyReceiving()
168 secondaryActivity.assertAndConsumeKeyEvent(ACTION_DOWN, KEYCODE_6, 0 /* flags */); in testKeyReceiving()
169 secondaryActivity.assertAndConsumeKeyEvent(ACTION_DOWN, KEYCODE_7, 0 /* flags */); in testKeyReceiving()
176 secondaryActivity.waitAssertAndConsumeKeyEvent(ACTION_UP, KEYCODE_5, FLAG_CANCELED); in testKeyReceiving()
177 secondaryActivity.waitAssertAndConsumeKeyEvent(ACTION_UP, KEYCODE_7, FLAG_CANCELED); in testKeyReceiving()
178 secondaryActivity.waitAssertAndConsumeKeyEvent(ACTION_UP, KEYCODE_6, FLAG_CANCELED); in testKeyReceiving()
179 assertEquals(secondaryActivity.getLogTag() + " must only receive expected events.", in testKeyReceiving()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java687 LaunchActivityBuilder secondaryActivity) { in launchActivitiesInSplitScreen() argument
700 secondaryActivity in launchActivitiesInSplitScreen()