Home
last modified time | relevance | path

Searched refs:homeActivity (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentsAnimationControllerTest.java153 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 …]
DActivityTaskManagerServiceTests.java243 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()
DWallpaperControllerTests.java347 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()
DZOrderingTests.java482 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
DTaskDisplayAreaTests.java404 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()
DRootTaskTests.java425 final ActivityRecord homeActivity = new ActivityBuilder(mAtm) in testRemoveOrganizedTask_UpdateRootTaskReference() local
435 homeActivity.removeImmediately(); in testRemoveOrganizedTask_UpdateRootTaskReference()
DDisplayContentTests.java1489 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/
DActivityManagerWrapper.java142 public void invalidateHomeTaskSnapshot(final Activity homeActivity) { in invalidateHomeTaskSnapshot() argument
145 homeActivity.getActivityToken()); in invalidateHomeTaskSnapshot()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java1079 ResolveInfo homeActivity = mContext.getPackageManager().resolveActivityAsUser( in getHeadlessSyncAdapterPackages() local
1081 if (homeActivity != null) { in getHeadlessSyncAdapterPackages()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java5117 final ActivityRecord homeActivity = in getHomeActivityForUser() local
5119 return homeActivity == null ? null : homeActivity.mActivityComponent; in getHomeActivityForUser()