Searched refs:activity2 (Results 1 – 5 of 5) sorted by relevance
57 final SimpleSaveActivity activity2 = startSimpleSaveActivity(); in testActivityNotDelayedIsNotMerged() local61 activity2.syncRunOnUiThread(() -> activity2.mInput.requestFocus()); in testActivityNotDelayedIsNotMerged()65 activity2.syncRunOnUiThread(() -> { in testActivityNotDelayedIsNotMerged()66 activity2.mInput.setText("ID"); in testActivityNotDelayedIsNotMerged()67 activity2.mCommit.performClick(); in testActivityNotDelayedIsNotMerged()105 final SimpleSaveActivity activity2 = startSimpleSaveActivity(); in testDelayedActivityIsMerged() local109 activity2.syncRunOnUiThread(() -> activity2.mInput.requestFocus()); in testDelayedActivityIsMerged()113 activity2.syncRunOnUiThread(() -> { in testDelayedActivityIsMerged()114 activity2.mInput.setText("ID"); in testDelayedActivityIsMerged()115 activity2.mCommit.performClick(); in testDelayedActivityIsMerged()[all …]
99 protected void amStartActivity(Class<? extends Activity> activity2) {101 runAmStartActivity(activity2,
110 final PasswordOnlyActivity activity2 = AutofillTestWatcher123 activity2.focusOnPassword();129 activity2.setPassword("sweet");130 activity2.login();
116 Activity activity2 = instrumentation.startActivitySync(intent); in testActivityMonitor_onStartActivity() local118 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()
160 final LoginActivity activity2 = anotherActivityLauncher.launchActivity(); in testLaunchAnotherActivity() local162 activity2.finish(); in testLaunchAnotherActivity()177 activity2.assertDefaultEvents(session2); in testLaunchAnotherActivity()194 final LoginActivity activity2 = anotherActivityLauncher.launchActivity(); in testLaunchAnotherActivity_onTopOfIt() local197 activity2.finish(); in testLaunchAnotherActivity_onTopOfIt()206 final ComponentName name2 = activity2.getComponentName(); in testLaunchAnotherActivity_onTopOfIt()235 activity2.assertDefaultEvents(session2); in testLaunchAnotherActivity_onTopOfIt()1153 final CustomViewActivity activity2 = launcher2.launchActivity(); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled() local1155 activity2.finish(); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled()1160 activity2.assertDefaultEvents(session); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled()