Searched refs:homeActivity (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentsAnimationControllerTest.java | 153 final ActivityRecord homeActivity = createHomeActivity(); in testIncludedApps_expectTargetAndVisible() local 159 initializeRecentsAnimationController(mController, homeActivity); in testIncludedApps_expectTargetAndVisible() 162 assertTrue(mController.isAnimatingTask(homeActivity.getTask())); in testIncludedApps_expectTargetAndVisible() 170 final ActivityRecord homeActivity = createHomeActivity(); in testWallpaperIncluded_expectTarget() local 181 initializeRecentsAnimationController(mController, homeActivity); in testWallpaperIncluded_expectTarget() 192 final ActivityRecord homeActivity = createHomeActivity(); in testWallpaperAnimatorCanceled_expectAnimationKeepsRunning() local 203 initializeRecentsAnimationController(mController, homeActivity); in testWallpaperAnimatorCanceled_expectAnimationKeepsRunning() 216 final ActivityRecord homeActivity = createHomeActivity(); in testFinish_expectTargetAndWallpaperAdaptersRemoved() local 217 final WindowState hwin1 = createWindow(null, TYPE_BASE_APPLICATION, homeActivity, "hwin1"); in testFinish_expectTargetAndWallpaperAdaptersRemoved() 218 homeActivity.addWindow(hwin1); in testFinish_expectTargetAndWallpaperAdaptersRemoved() [all …]
|
D | ActivityTaskManagerServiceTests.java | 243 final ActivityRecord homeActivity = new ActivityBuilder(mAtm) in testResumeNextActivityOnCrashedAppDied() local 257 homeActivity.setState(Task.ActivityState.PAUSED, "test"); in testResumeNextActivityOnCrashedAppDied() 263 assertEquals(Task.ActivityState.RESUMED, homeActivity.getState()); in testResumeNextActivityOnCrashedAppDied() 264 assertEquals(homeActivity.app, mAtm.mInternal.getTopApp()); in testResumeNextActivityOnCrashedAppDied() 272 final ActivityRecord homeActivity = new ActivityBuilder(mAtm).setTask(rootHomeTask).build(); in testUpdateSleep() local 308 assertEquals(homeActivity.app, mAtm.mInternal.getTopApp()); in testUpdateSleep() 314 assertTopNonSleeping.accept(homeActivity); in testUpdateSleep()
|
D | WallpaperControllerTests.java | 347 final ActivityRecord homeActivity = new ActivityBuilder(mWm.mAtmService) in createWallpaperTargetWindow() local 350 homeActivity.setVisibility(true); in createWallpaperTargetWindow() 353 homeActivity, "wallpaperTargetWindow"); in createWallpaperTargetWindow() 359 homeActivity.addWindow(appWindow); in createWallpaperTargetWindow()
|
D | ZOrderingTests.java | 482 final ActivityRecord homeActivity = new ActivityBuilder(mWm.mAtmService) in testAttachNavBarWhenEnteringRecents_expectNavBarHigherThanIme() local 486 homeActivity.setVisibility(true); in testAttachNavBarWhenEnteringRecents_expectNavBarHigherThanIme() 489 controller.initialize(homeActivity.getActivityType(), new SparseBooleanArray(), in testAttachNavBarWhenEnteringRecents_expectNavBarHigherThanIme() 490 homeActivity); in testAttachNavBarWhenEnteringRecents_expectNavBarHigherThanIme() local
|
D | TaskDisplayAreaTests.java | 404 ActivityRecord homeActivity = rootHomeTask.getTopNonFinishingActivity(); in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange() local 405 if (homeActivity == null) { in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange() 406 homeActivity = new ActivityBuilder(mWm.mAtmService) in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange() 409 homeActivity.setVisible(false); in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange() 410 homeActivity.mVisibleRequested = true; in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange()
|
D | RootTaskTests.java | 425 final ActivityRecord homeActivity = new ActivityBuilder(mAtm) in testRemoveOrganizedTask_UpdateRootTaskReference() local 435 homeActivity.removeImmediately(); in testRemoveOrganizedTask_UpdateRootTaskReference()
|
D | DisplayContentTests.java | 1489 final ActivityRecord homeActivity = createActivityRecord( in testFixedRotationWithPip() local 1494 .rotationForActivityInDifferentOrientation(eq(homeActivity)); in testFixedRotationWithPip() 1510 assertEquals(homeActivity.getConfiguration().orientation, in testFixedRotationWithPip()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | ActivityManagerWrapper.java | 142 public void invalidateHomeTaskSnapshot(final Activity homeActivity) { in invalidateHomeTaskSnapshot() argument 145 homeActivity.getActivityToken()); in invalidateHomeTaskSnapshot()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | DefaultPermissionGrantPolicy.java | 1079 ResolveInfo homeActivity = mContext.getPackageManager().resolveActivityAsUser( in getHeadlessSyncAdapterPackages() local 1081 if (homeActivity != null) { in getHeadlessSyncAdapterPackages()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerService.java | 5117 final ActivityRecord homeActivity = in getHomeActivityForUser() local 5119 return homeActivity == null ? null : homeActivity.mActivityComponent; in getHomeActivityForUser()
|