Home
last modified time | relevance | path

Searched refs:activity2 (Results 1 – 11 of 11) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/
DMultiScreenDifferentActivitiesTest.java62 final SimpleSaveActivity activity2 = startSimpleSaveActivity(); in testActivityNotDelayedIsNotMerged() local
66 activity2.syncRunOnUiThread(() -> activity2.mInput.requestFocus()); in testActivityNotDelayedIsNotMerged()
70 activity2.syncRunOnUiThread(() -> { in testActivityNotDelayedIsNotMerged()
71 activity2.mInput.setText("ID"); in testActivityNotDelayedIsNotMerged()
72 activity2.mCommit.performClick(); in testActivityNotDelayedIsNotMerged()
110 final SimpleSaveActivity activity2 = startSimpleSaveActivity(); in testDelayedActivityIsMerged() local
114 activity2.syncRunOnUiThread(() -> activity2.mInput.requestFocus()); in testDelayedActivityIsMerged()
118 activity2.syncRunOnUiThread(() -> { in testDelayedActivityIsMerged()
119 activity2.mInput.setText("ID"); in testDelayedActivityIsMerged()
120 activity2.mCommit.performClick(); in testDelayedActivityIsMerged()
[all …]
DMultiScreenLoginTest.java119 final PasswordOnlyActivity activity2 = AutofillTestWatcher
132 activity2.focusOnPassword();
138 activity2.setPassword("sweet");
139 activity2.login();
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DKeepClearRectsTests.java486 final TestActivity activity2 = translucentTestSession.getActivity(); in testKeepClearRectsOnDisplayTwoFullscreenActivities() local
488 final View v2 = createTestViewInActivity(activity2); in testKeepClearRectsOnDisplayTwoFullscreenActivities()
491 () -> getKeepClearRectsForActivity(activity2)); in testKeepClearRectsOnDisplayTwoFullscreenActivities()
494 mWmState.assertVisibility(activity2.getComponentName(), true); in testKeepClearRectsOnDisplayTwoFullscreenActivities()
500 activity2.getComponentName())); in testKeepClearRectsOnDisplayTwoFullscreenActivities()
529 final TestActivity activity2 = mTestSession.getActivity(); in testDisplayHasKeepClearRectsOnlyFromVisibleWindows() local
532 final View v2 = createTestViewInActivity(activity2); in testDisplayHasKeepClearRectsOnlyFromVisibleWindows()
535 () -> getKeepClearRectsForActivity(activity2)); in testDisplayHasKeepClearRectsOnlyFromVisibleWindows()
538 mWmState.assertVisibility(activity2.getComponentName(), true); in testDisplayHasKeepClearRectsOnlyFromVisibleWindows()
544 TEST_KEEP_CLEAR_RECTS, activity2.getComponentName())); in testDisplayHasKeepClearRectsOnlyFromVisibleWindows()
[all …]
/cts/tests/app/src/android/app/cts/
DInstrumentation_ActivityMonitorTest.java116 Activity activity2 = instrumentation.startActivitySync(intent); in testActivityMonitor_onStartActivity() local
118 assertNotNull("Activity should not be null", activity2); in testActivityMonitor_onStartActivity()
120 activity2 instanceof InstrumentationTestActivity); in testActivityMonitor_onStartActivity()
122 ((InstrumentationTestActivity) activity2).isOnCreateCalled()); in testActivityMonitor_onStartActivity()
125 activity2.finish(); in testActivityMonitor_onStartActivity()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DMultiWindowLoginActivityTest.java111 protected void amStartActivity(Class<? extends Activity> activity2) {
113 runAmStartActivity(activity2.getName());
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DChildlessActivityTest.java160 final LoginActivity activity2 = anotherActivityLauncher.launchActivity(); in testLaunchAnotherActivity() local
162 activity2.finish(); in testLaunchAnotherActivity()
177 activity2.assertDefaultEvents(session2); in testLaunchAnotherActivity()
195 final LoginActivity activity2 = anotherActivityLauncher.launchActivity(); in testLaunchAnotherActivity_onTopOfIt() local
198 final int taskId2 = activity2.getTaskId(); in testLaunchAnotherActivity_onTopOfIt()
199 activity2.finish(); in testLaunchAnotherActivity_onTopOfIt()
208 final ComponentName name2 = activity2.getComponentName(); in testLaunchAnotherActivity_onTopOfIt()
235 activity2.assertDefaultEvents(session2); in testLaunchAnotherActivity_onTopOfIt()
1171 final CustomViewActivity activity2 = launcher2.launchActivity(); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled() local
1173 activity2.finish(); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled()
[all …]
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionManagerTest.java247 MediaProjectionCustomIntentActivity activity2 = mActivityRule.getActivity(); in testGetMediaProjectionMultipleProjections() local
250 MediaProjection mediaProjection2 = activity2.waitForMediaProjection(); in testGetMediaProjectionMultipleProjections()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DPinActivityStackTests.java152 final Activity activity2 = getResumedActivityById(activityId2); in pinTopActivityStackAndVerifyLifecycle() local
155 activity2.finish(); in pinTopActivityStackAndVerifyLifecycle()
/cts/tests/devicestate/src/android/hardware/devicestate/cts/
DDeviceStateManagerTests.java377 final DeviceStateTestActivity activity2 = secondActivitySession.getActivity(); in testCancelStateRequestFromNewActivity() local
378 activity2.cancelOverriddenState(); in testCancelStateRequestFromNewActivity()
/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/
DMultiUserMockImeTest.java129 try (var activity2 = MockTestActivityUtil.launchAsUser( in testProfileSwitching() argument
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DLockTaskTest.kt622 val activity2 = testApp2.activities().any().start( in <lambda>() constant
625 activity2.startLockTask() in <lambda>()
632 assertThat(activity2.activity() in <lambda>()