Searched refs:activity1 (Results 1 – 4 of 4) sorted by relevance
47 final PreSimpleSaveActivity activity1 = startPreSimpleSaveActivity(); in testActivityNotDelayedIsNotMerged() local53 activity1.syncRunOnUiThread(() -> activity1.mPreInput.requestFocus()); in testActivityNotDelayedIsNotMerged()89 final PreSimpleSaveActivity activity1 = startPreSimpleSaveActivity(); in testDelayedActivityIsMerged() local96 activity1.syncRunOnUiThread(() -> activity1.mPreInput.requestFocus()); in testDelayedActivityIsMerged()100 activity1.syncRunOnUiThread(() -> { in testDelayedActivityIsMerged()101 activity1.mPreInput.setText("PRE"); in testDelayedActivityIsMerged()134 assertThat(component1).isEqualTo(activity1.getComponentName()); in testDelayedActivityIsMerged()
230 Activity activity1; in testSplitscreenUsageReporting() local233 activity1 = Activities.startedActivities.valueAt(1); in testSplitscreenUsageReporting()237 mUsageStatsManager.reportUsageStart(activity1, TOKEN_1); in testSplitscreenUsageReporting()245 mUsageStatsManager.reportUsageStop(activity1, TOKEN_1); in testSplitscreenUsageReporting()267 Activity activity1; in testSplitscreenSameToken() local270 activity1 = Activities.startedActivities.valueAt(1); in testSplitscreenSameToken()274 mUsageStatsManager.reportUsageStart(activity1, TOKEN_0); in testSplitscreenSameToken()280 mUsageStatsManager.reportUsageStop(activity1, TOKEN_0); in testSplitscreenSameToken()301 Activity activity1; in testSplitscreenSameTokenOneMissedStop() local304 activity1 = Activities.startedActivities.valueAt(1); in testSplitscreenSameTokenOneMissedStop()[all …]
151 final ChildlessActivity activity1 = launchActivity(); in testLaunchAnotherActivity() local153 activity1.finish(); in testLaunchAnotherActivity()174 activity1.assertDefaultEvents(session1); in testLaunchAnotherActivity()187 final ChildlessActivity activity1 = launchActivity(); in testLaunchAnotherActivity_onTopOfIt() local201 activity1.finish(); in testLaunchAnotherActivity_onTopOfIt()205 final ComponentName name1 = activity1.getComponentName(); in testLaunchAnotherActivity_onTopOfIt()227 Log.v(TAG, "events on " + activity1 + ": " + events1); in testLaunchAnotherActivity_onTopOfIt()1137 final ChildlessActivity activity1 = launchActivity(); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled() local1139 activity1.finish(); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled()
103 final Activity activity1 = cam1.waitForActivityWithTimeout( in testActivityMonitor_onStartActivity() local106 assertNull("Activity should not have been started", activity1); in testActivityMonitor_onStartActivity()