Searched refs:activity1 (Results 1 – 7 of 7) sorted by relevance
/cts/tests/autofillservice/src/android/autofillservice/cts/servicebehavior/ |
D | MultiScreenDifferentActivitiesTest.java | 52 final PreSimpleSaveActivity activity1 = startPreSimpleSaveActivity(); in testActivityNotDelayedIsNotMerged() local 58 activity1.syncRunOnUiThread(() -> activity1.mPreInput.requestFocus()); in testActivityNotDelayedIsNotMerged() 94 final PreSimpleSaveActivity activity1 = startPreSimpleSaveActivity(); in testDelayedActivityIsMerged() local 101 activity1.syncRunOnUiThread(() -> activity1.mPreInput.requestFocus()); in testDelayedActivityIsMerged() 105 activity1.syncRunOnUiThread(() -> { in testDelayedActivityIsMerged() 106 activity1.mPreInput.setText("PRE"); in testDelayedActivityIsMerged() 139 assertThat(component1).isEqualTo(activity1.getComponentName()); in testDelayedActivityIsMerged()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageReportingTest.java | 233 Activity activity1; in testSplitscreenUsageReporting() local 236 activity1 = Activities.startedActivities.valueAt(1); in testSplitscreenUsageReporting() 240 mUsageStatsManager.reportUsageStart(activity1, TOKEN_1); in testSplitscreenUsageReporting() 248 mUsageStatsManager.reportUsageStop(activity1, TOKEN_1); in testSplitscreenUsageReporting() 270 Activity activity1; in testSplitscreenSameToken() local 273 activity1 = Activities.startedActivities.valueAt(1); in testSplitscreenSameToken() 277 mUsageStatsManager.reportUsageStart(activity1, TOKEN_0); in testSplitscreenSameToken() 283 mUsageStatsManager.reportUsageStop(activity1, TOKEN_0); in testSplitscreenSameToken() 304 Activity activity1; in testSplitscreenSameTokenOneMissedStop() local 307 activity1 = Activities.startedActivities.valueAt(1); in testSplitscreenSameTokenOneMissedStop() [all …]
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/ |
D | PinActivityStackTests.java | 141 final Activity activity1 = getResumedActivityById(activityId1); in pinTopActivityStackAndVerifyLifecycle() local 149 waitAndAssertResumed(activity1); in pinTopActivityStackAndVerifyLifecycle() 158 waitAndAssertResumed(activity1); in pinTopActivityStackAndVerifyLifecycle() 217 final Activity activity1 = getResumedActivityById(activityId1); in testUnpinTopActivityStack_expands() local 223 waitAndAssertNotVisible(activity1); in testUnpinTopActivityStack_expands()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | KeepClearRectsTests.java | 473 final TestActivity activity1 = mTestSession.getActivity(); in testKeepClearRectsOnDisplayTwoFullscreenActivities() local 476 final View v1 = createTestViewInActivity(activity1, viewBounds); in testKeepClearRectsOnDisplayTwoFullscreenActivities() 480 () -> getKeepClearRectsForActivity(activity1)); in testKeepClearRectsOnDisplayTwoFullscreenActivities() 493 mWmState.assertVisibility(activity1.getComponentName(), true); in testKeepClearRectsOnDisplayTwoFullscreenActivities() 513 final TestActivity activity1 = translucentTestSession.getActivity(); in testDisplayHasKeepClearRectsOnlyFromVisibleWindows() local 515 final View v1 = createTestViewInActivity(activity1, viewBounds); in testDisplayHasKeepClearRectsOnlyFromVisibleWindows() 523 activity1.getComponentName())); in testDisplayHasKeepClearRectsOnlyFromVisibleWindows() 537 mWmState.waitAndAssertVisibilityGone(activity1.getComponentName()); in testDisplayHasKeepClearRectsOnlyFromVisibleWindows() 577 private void startKeepClearActivitiesInSplitscreen(ComponentName activity1, in startKeepClearActivitiesInSplitscreen() argument 581 .setTargetActivity(activity1) in startKeepClearActivitiesInSplitscreen() [all …]
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | ChildlessActivityTest.java | 151 final ChildlessActivity activity1 = launchActivity(); in testLaunchAnotherActivity() local 153 activity1.finish(); in testLaunchAnotherActivity() 174 activity1.assertDefaultEvents(session1); in testLaunchAnotherActivity() 186 final ChildlessActivity activity1 = launchActivity(); in testLaunchAnotherActivity_onTopOfIt() local 189 final int taskId1 = activity1.getTaskId(); in testLaunchAnotherActivity_onTopOfIt() 203 activity1.finish(); in testLaunchAnotherActivity_onTopOfIt() 207 final ComponentName name1 = activity1.getComponentName(); in testLaunchAnotherActivity_onTopOfIt() 227 Log.v(TAG, "events on " + activity1 + ": " + events1); in testLaunchAnotherActivity_onTopOfIt() 1154 final ChildlessActivity activity1 = launchActivity(); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled() local 1156 activity1.finish(); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled()
|
/cts/tests/app/src/android/app/cts/ |
D | Instrumentation_ActivityMonitorTest.java | 103 final Activity activity1 = cam1.waitForActivityWithTimeout( in testActivityMonitor_onStartActivity() local 106 assertNull("Activity should not have been started", activity1); in testActivityMonitor_onStartActivity()
|
/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/ |
D | MultiUserMockImeTest.java | 121 try (var activity1 = MockTestActivityUtil.launchAsUser( in testProfileSwitching() argument
|