Searched refs:secondActivity (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/ |
D | AutoShowTest.java | 182 TestActivity secondActivity = firstActivity.startSecondTestActivity(intent2); in autoShow_forwardWithKeyboardOff() local 185 verifyAutoShowBehavior_forwardWithKeyboardOff(secondActivity); in autoShow_forwardWithKeyboardOff() 213 TestActivity secondActivity = firstActivity.startSecondTestActivity(intent2); in autoShow_forwardWithKeyboardOn() local 216 verifyAutoShowBehavior_forwardWithKeyboardOn(secondActivity); in autoShow_forwardWithKeyboardOn() 237 TestActivity secondActivity = firstActivity.startSecondTestActivity(intent2); in autoShow_backwardWithKeyboardOff() local 238 secondActivity.finish(); in autoShow_backwardWithKeyboardOff() 265 ImeStressTestUtil.TestActivity secondActivity = activity.startSecondTestActivity(intent2); in autoShow_backwardWithKeyboardOn() local 267 callOnMainSync(secondActivity::showImeWithInputMethodManager); in autoShow_backwardWithKeyboardOn() 271 secondActivity.finish(); in autoShow_backwardWithKeyboardOn()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityTaskSupervisorTests.java | 102 final ActivityRecord secondActivity = new ActivityBuilder(mAtm) in testReportWaitingActivityLaunched() local 115 mSupervisor.reportActivityLaunched(false /* timeout */, secondActivity, in testReportWaitingActivityLaunched() 125 ArgumentMatchers.argThat(r -> r == firstActivity || r == secondActivity)); in testReportWaitingActivityLaunched() 133 assertEquals(secondActivity.mActivityComponent, taskToFrontWait.who); in testReportWaitingActivityLaunched() 149 mSupervisor.reportWaitingActivityLaunchedIfNeeded(secondActivity, in testReportWaitingActivityLaunched() 158 assertEquals(deliverToTopWait.who, secondActivity.mActivityComponent); in testReportWaitingActivityLaunched()
|
D | RootTaskTests.java | 822 final ActivityRecord secondActivity = new ActivityBuilder(mAtm) in testShouldBeVisible_FullscreenBehindTranslucentInHomeRootTask() local 826 doReturn(false).when(secondActivity).occludesParent(); in testShouldBeVisible_FullscreenBehindTranslucentInHomeRootTask() 1062 final ActivityRecord secondActivity = new ActivityBuilder(mAtm).setTask(task).build(); in testFinishDisabledPackageActivities_FinishAliveActivities() local 1064 secondActivity.setState(RESUMED, "testFinishDisabledPackageActivities"); in testFinishDisabledPackageActivities_FinishAliveActivities() 1065 task.setResumedActivity(secondActivity, "test"); in testFinishDisabledPackageActivities_FinishAliveActivities() 1075 assertThat(secondActivity.getState()).isEqualTo(PAUSING); in testFinishDisabledPackageActivities_FinishAliveActivities() 1076 assertTrue(secondActivity.finishing); in testFinishDisabledPackageActivities_FinishAliveActivities() 1115 final ActivityRecord secondActivity = new ActivityBuilder(mAtm).setTask(task).build(); in testHandleAppDied() local 1124 secondActivity.setSavedState(null /* savedState */); in testHandleAppDied() 1128 secondActivity.app.handleAppDied(); in testHandleAppDied() [all …]
|
D | RootWindowContainerTests.java | 315 final ActivityRecord secondActivity = new ActivityBuilder(mAtm) in testReplacingTaskInPinnedRootTask() local 321 ensureTaskPlacement(fullscreenTask, firstActivity, secondActivity); in testReplacingTaskInPinnedRootTask() 331 ensureTaskPlacement(fullscreenTask, secondActivity); in testReplacingTaskInPinnedRootTask() 334 mRootWindowContainer.moveActivityToPinnedRootTask(secondActivity, in testReplacingTaskInPinnedRootTask() 342 ensureTaskPlacement(pinnedRootTask, secondActivity); in testReplacingTaskInPinnedRootTask() 354 final ActivityRecord secondActivity = new ActivityBuilder(mAtm) in testMovingBottomMostRootTaskActivityToPinnedRootTask() local 360 ensureTaskPlacement(fullscreenTask, firstActivity, secondActivity); in testMovingBottomMostRootTaskActivityToPinnedRootTask() 361 assertEquals(task.getTopMostActivity(), secondActivity); in testMovingBottomMostRootTaskActivityToPinnedRootTask() local 366 mRootWindowContainer.moveActivityToPinnedRootTask(secondActivity, in testMovingBottomMostRootTaskActivityToPinnedRootTask() 473 final ActivityRecord secondActivity = taskFragment.getBottomMostActivity(); in testMultipleActivitiesInTaskFragmentEnterPip() local [all …]
|
D | TaskDisplayAreaTests.java | 423 final ActivityRecord secondActivity = new ActivityBuilder(mAtm) in testIsLastFocused() local 441 mDisplayContent.setFocusedApp(secondActivity); in testIsLastFocused() 459 final ActivityRecord secondActivity = new ActivityBuilder(mAtm) in testCanSpecifyOrientation() local 478 mDisplayContent.setFocusedApp(secondActivity); in testCanSpecifyOrientation() 496 final ActivityRecord secondActivity = new ActivityBuilder(mAtm) in testCanSpecifyOrientationNoSensor() local 510 mDisplayContent.setFocusedApp(secondActivity); in testCanSpecifyOrientationNoSensor() 528 final ActivityRecord secondActivity = new ActivityBuilder(mAtm) in testCanSpecifyOrientationLocked() local 542 mDisplayContent.setFocusedApp(secondActivity); in testCanSpecifyOrientationLocked()
|
D | ActivityRecordTests.java | 1606 final ActivityRecord secondActivity = new ActivityBuilder(mAtm).setTask(task).build(); in testCompleteFinishing_ensureActivitiesVisible() local 1607 secondActivity.setVisibleRequested(true); in testCompleteFinishing_ensureActivitiesVisible() 1608 secondActivity.nowVisible = true; in testCompleteFinishing_ensureActivitiesVisible() 1609 secondActivity.setState(secondActivityState, "test"); in testCompleteFinishing_ensureActivitiesVisible() 1622 doReturn(true).when(secondActivity).occludesParent(true); in testCompleteFinishing_ensureActivitiesVisible() 1625 secondActivity.finishing = true; in testCompleteFinishing_ensureActivitiesVisible() 1626 secondActivity.completeFinishing("test"); in testCompleteFinishing_ensureActivitiesVisible() 1627 verify(secondActivity.mDisplayContent).ensureActivitiesVisible(null /* starting */, in testCompleteFinishing_ensureActivitiesVisible() 2000 final ActivityRecord secondActivity = new ActivityBuilder(mAtm) in testIsSnapshotCompatibleTopActivityChanged() local 2004 final Task task = secondActivity.getTask(); in testIsSnapshotCompatibleTopActivityChanged() [all …]
|
D | TaskTests.java | 1545 final ActivityRecord secondActivity = new ActivityBuilder(mAtm) in testNotSpecifyOrientation_taskDisplayAreaNotFocused() local 1548 secondActivity.setRequestedOrientation(SCREEN_ORIENTATION_PORTRAIT); in testNotSpecifyOrientation_taskDisplayAreaNotFocused() 1563 mDisplayContent.setFocusedApp(secondActivity); in testNotSpecifyOrientation_taskDisplayAreaNotFocused()
|
D | SizeCompatTests.java | 927 final ActivityRecord secondActivity = secondTask.getTopNonFinishingActivity(); in testHandleActivitySizeCompatModeChangedOnDifferentTask() local 929 secondActivity.setState(RESUMED, in testHandleActivitySizeCompatModeChangedOnDifferentTask() 931 prepareUnresizable(secondActivity, -1.f /* maxAspect */, SCREEN_ORIENTATION_PORTRAIT); in testHandleActivitySizeCompatModeChangedOnDifferentTask()
|
D | WindowOrganizerTests.java | 1479 final ActivityRecord secondActivity = new ActivityBuilder(mAtm) in testReorderWithParents() local
|