Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/apphibernation/
DAppHibernationManager.java92 public boolean isHibernatingGlobally(@NonNull String packageName) { in isHibernatingGlobally() method in AppHibernationManager
94 return mIAppHibernationService.isHibernatingGlobally(packageName); in isHibernatingGlobally()
DIAppHibernationService.aidl26 boolean isHibernatingGlobally(String packageName); in isHibernatingGlobally() method
/frameworks/base/services/core/java/com/android/server/apphibernation/
DAppHibernationManagerInternal.java40 public abstract boolean isHibernatingGlobally(String packageName); in isHibernatingGlobally() method in AppHibernationManagerInternal
DAppHibernationShellCommand.java114 ? mService.isHibernatingGlobally(pkg) : mService.isHibernatingForUser(pkg, userId); in runGetState()
DAppHibernationService.java239 boolean isHibernatingGlobally(String packageName) { in isHibernatingGlobally() method in AppHibernationService
742 public boolean isHibernatingGlobally(String packageName) { in isHibernatingGlobally() method in AppHibernationService.LocalService
743 return mService.isHibernatingGlobally(packageName); in isHibernatingGlobally()
772 public boolean isHibernatingGlobally(String packageName) { in isHibernatingGlobally() method in AppHibernationService.AppHibernationServiceStub
773 return mService.isHibernatingGlobally(packageName); in isHibernatingGlobally()
/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/
DAppHibernationServiceTest.java206 assertTrue(mAppHibernationService.isHibernatingGlobally(PACKAGE_NAME_1)); in testSetHibernatingGlobally_packageIsHibernatingGlobally()
281 assertFalse(mAppHibernationService.isHibernatingGlobally(PACKAGE_NAME_1)); in testUnhibernatedPackageForUserUnhibernatesPackageGloballyOnUnlock()
348 assertFalse(mAppHibernationService.isHibernatingGlobally(PACKAGE_NAME_1)); in testHibernatingPackageIsUnhibernatedGloballyWhenUserInteracted()
360 assertFalse(mAppHibernationService.isHibernatingGlobally(PACKAGE_NAME_1)); in testHibernatingPackageIsUnhibernatedGloballyWhenActivityResumed()
372 assertFalse(mAppHibernationService.isHibernatingGlobally(PACKAGE_NAME_1)); in testHibernatingPackageIsUnhibernatedGloballyWhenComponentUsed()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageManagerServiceHibernationTests.kt106 whenever(appHibernationManager.isHibernatingGlobally(TEST_PACKAGE_2_NAME)).thenReturn(true) in testGetOptimizablePackages_ExcludesGloballyHibernatingPackages()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityMetricsLogger.java852 mLastHibernationStates.put(packageName, ahmInternal.isHibernatingGlobally(packageName)); in notifyBeforePackageUnstopped()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java12880 pkgs.removeIf(pkgName -> appHibernationManager.isHibernatingGlobally(pkgName)); in getOptimizablePackages()
/frameworks/base/core/api/
Dsystem-current.txt1904 …ndroid.Manifest.permission.MANAGE_APP_HIBERNATION) public boolean isHibernatingGlobally(@NonNull S…
/frameworks/base/services/
Dart-profile9612 …/apphibernation/AppHibernationService$AppHibernationServiceStub;->isHibernatingGlobally(Ljava/lang…
9627 HPLcom/android/server/apphibernation/AppHibernationService$LocalService;->isHibernatingGlobally(Lja…
9655 HPLcom/android/server/apphibernation/AppHibernationService;->isHibernatingGlobally(Ljava/lang/Strin…