Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentsAnimationControllerTest.java151 final ActivityRecord homeActivity = createHomeActivity(); in testIncludedApps_expectTargetAndVisible() local
157 initializeRecentsAnimationController(mController, homeActivity); in testIncludedApps_expectTargetAndVisible()
160 assertTrue(mController.isAnimatingTask(homeActivity.getTask())); in testIncludedApps_expectTargetAndVisible()
168 final ActivityRecord homeActivity = createHomeActivity(); in testLaunchAndStartRecents_expectTargetAndVisible() local
183 initializeRecentsAnimationController(mController, homeActivity); in testLaunchAndStartRecents_expectTargetAndVisible()
192 final ActivityRecord homeActivity = createHomeActivity(); in testWallpaperIncluded_expectTarget() local
203 initializeRecentsAnimationController(mController, homeActivity); in testWallpaperIncluded_expectTarget()
214 final ActivityRecord homeActivity = createHomeActivity(); in testWallpaperAnimatorCanceled_expectAnimationKeepsRunning() local
225 initializeRecentsAnimationController(mController, homeActivity); in testWallpaperAnimatorCanceled_expectAnimationKeepsRunning()
239 final ActivityRecord homeActivity = createHomeActivity(); in testFinish_expectTargetAndWallpaperAdaptersRemoved() local
[all …]
DActivityTaskManagerServiceTests.java386 final ActivityRecord homeActivity = new ActivityBuilder(mAtm) in testResumeNextActivityOnCrashedAppDied() local
400 homeActivity.setState(PAUSED, "test"); in testResumeNextActivityOnCrashedAppDied()
406 assertEquals(RESUMED, homeActivity.getState()); in testResumeNextActivityOnCrashedAppDied()
407 assertEquals(homeActivity.app, mAtm.mInternal.getTopApp()); in testResumeNextActivityOnCrashedAppDied()
416 final ActivityRecord homeActivity = new ActivityBuilder(mAtm).setTask(rootHomeTask).build(); in testUpdateSleep() local
461 assertEquals(homeActivity.app, mAtm.mInternal.getTopApp()); in testUpdateSleep()
467 assertTopNonSleeping.accept(homeActivity); in testUpdateSleep()
1148 final ActivityRecord homeActivity = new ActivityBuilder(mAtm) in testFocusTopTask() local
1156 assertTrue(homeActivity.getTask().isFocused()); in testFocusTopTask()
DZOrderingTests.java517 final ActivityRecord homeActivity = new ActivityBuilder(mWm.mAtmService) in testAttachNavBarWhenEnteringRecents_expectNavBarHigherThanIme() local
521 homeActivity.setVisibility(true); in testAttachNavBarWhenEnteringRecents_expectNavBarHigherThanIme()
524 controller.initialize(homeActivity.getActivityType(), new SparseBooleanArray(), in testAttachNavBarWhenEnteringRecents_expectNavBarHigherThanIme()
525 homeActivity); in testAttachNavBarWhenEnteringRecents_expectNavBarHigherThanIme() local
DWallpaperControllerTests.java576 final ActivityRecord homeActivity = new ActivityBuilder(mWm.mAtmService) in createWallpaperTargetWindow() local
579 homeActivity.setVisibility(true); in createWallpaperTargetWindow()
582 homeActivity, "wallpaperTargetWindow"); in createWallpaperTargetWindow()
588 homeActivity.addWindow(appWindow); in createWallpaperTargetWindow()
DTaskDisplayAreaTests.java399 ActivityRecord homeActivity = rootHomeTask.getTopNonFinishingActivity(); in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange() local
400 if (homeActivity == null) { in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange()
401 homeActivity = new ActivityBuilder(mWm.mAtmService) in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange()
404 homeActivity.setVisible(false); in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange()
405 homeActivity.setVisibleRequested(true); in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange()
DBackNavigationControllerTests.java832 final ActivityRecord homeActivity = mRootHomeTask.getTopNonFinishingActivity();
834 openActivities.add(homeActivity);
DRootTaskTests.java337 final ActivityRecord homeActivity = new ActivityBuilder(mAtm) in testRemoveOrganizedTask_UpdateRootTaskReference() local
347 homeActivity.removeImmediately(); in testRemoveOrganizedTask_UpdateRootTaskReference()
DDisplayContentTests.java1766 final ActivityRecord homeActivity = createActivityRecord( in testFixedRotationWithPip() local
1771 .rotationForActivityInDifferentOrientation(eq(homeActivity)); in testFixedRotationWithPip()
1787 assertEquals(homeActivity.getConfiguration().orientation, in testFixedRotationWithPip()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DActivityManagerWrapper.java183 public void invalidateHomeTaskSnapshot(@Nullable final Activity homeActivity) { in invalidateHomeTaskSnapshot() argument
186 homeActivity == null ? null : homeActivity.getActivityToken()); in invalidateHomeTaskSnapshot()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java1176 ResolveInfo homeActivity = mContext.getPackageManager().resolveActivityAsUser( in getHeadlessSyncAdapterPackages() local
1178 if (homeActivity != null) { in getHeadlessSyncAdapterPackages()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java5943 final ActivityRecord homeActivity = in getHomeActivityForUser() local
5945 return homeActivity == null ? null : homeActivity.mActivityComponent; in getHomeActivityForUser()