Home
last modified time | relevance | path

Searched refs:addOnUidImportanceListener (Results 1 – 13 of 13) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DServiceRestarterTest.java164 am.addOnUidImportanceListener(uid1Listener1, RunningAppProcessInfo.IMPORTANCE_SERVICE); in testDisableServiceRestartBackoff()
165 am.addOnUidImportanceListener(uid1Listener2, RunningAppProcessInfo.IMPORTANCE_GONE); in testDisableServiceRestartBackoff()
166 am.addOnUidImportanceListener(uid2Listener1, RunningAppProcessInfo.IMPORTANCE_SERVICE); in testDisableServiceRestartBackoff()
167 am.addOnUidImportanceListener(uid2Listener2, RunningAppProcessInfo.IMPORTANCE_GONE); in testDisableServiceRestartBackoff()
168 am.addOnUidImportanceListener(uid3Listener1, RunningAppProcessInfo.IMPORTANCE_SERVICE); in testDisableServiceRestartBackoff()
169 am.addOnUidImportanceListener(uid3Listener2, RunningAppProcessInfo.IMPORTANCE_GONE); in testDisableServiceRestartBackoff()
230 am.addOnUidImportanceListener(uid1Listener1, RunningAppProcessInfo.IMPORTANCE_SERVICE); in testExtraDelaysInServiceRestartOnLowMem()
231 am.addOnUidImportanceListener(uid1Listener2, RunningAppProcessInfo.IMPORTANCE_GONE); in testExtraDelaysInServiceRestartOnLowMem()
232 am.addOnUidImportanceListener(uid2Listener1, RunningAppProcessInfo.IMPORTANCE_SERVICE); in testExtraDelaysInServiceRestartOnLowMem()
233 am.addOnUidImportanceListener(uid2Listener2, RunningAppProcessInfo.IMPORTANCE_GONE); in testExtraDelaysInServiceRestartOnLowMem()
[all …]
H A DActivityManagerTest.java300 am.addOnUidImportanceListener(uidListener1, in testFgsProcStatsTracker()
302 am.addOnUidImportanceListener(uidListener2, RunningAppProcessInfo.IMPORTANCE_GONE); in testFgsProcStatsTracker()
394 am.addOnUidImportanceListener(uid1Listener, in testAppFreezerWithAllowOomAdj()
396 am.addOnUidImportanceListener(uid2Listener, RunningAppProcessInfo.IMPORTANCE_CACHED); in testAppFreezerWithAllowOomAdj()
527 am.addOnUidImportanceListener(uidListener1, in testKillAppIfBgRestrictedCachedIdle()
529 am.addOnUidImportanceListener(uidListener2, RunningAppProcessInfo.IMPORTANCE_GONE); in testKillAppIfBgRestrictedCachedIdle()
530 am.addOnUidImportanceListener(uidListener3, RunningAppProcessInfo.IMPORTANCE_CACHED); in testKillAppIfBgRestrictedCachedIdle()
726 am.addOnUidImportanceListener(uid1Listener1, RunningAppProcessInfo.IMPORTANCE_SERVICE); in testKillPids()
727 am.addOnUidImportanceListener(uid1Listener2, RunningAppProcessInfo.IMPORTANCE_GONE); in testKillPids()
729 am.addOnUidImportanceListener(uid2Listener2, RunningAppProcessInfo.IMPORTANCE_GONE); in testKillPids()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/location/injector/
H A DSystemAppForegroundHelper.java52 mActivityManager.addOnUidImportanceListener(this::onAppForegroundChanged, in onSystemReady()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DGentleUpdateHelper.java153 am.addOnUidImportanceListener(this::onUidImportance, IMPORTANCE_FOREGROUND); in systemReady()
155 am.addOnUidImportanceListener(this::onUidImportance, IMPORTANCE_FOREGROUND_SERVICE); in systemReady()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
H A DSystemAppForegroundHelperTest.java71 }).when(mActivityManager).addOnUidImportanceListener(any( in setUp()
/aosp14/frameworks/base/core/api/
H A Dmodule-lib-lint-baseline.txt4 SamShouldBeLast: android.app.ActivityManager#addOnUidImportanceListener(android.app.ActivityManager…
5 …uch as parameter 1, "listener", in android.app.ActivityManager.addOnUidImportanceListener) should …
H A Dsystem-current.txt532 …n(android.Manifest.permission.PACKAGE_USAGE_STATS) public void addOnUidImportanceListener(android.…
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/
H A DCompanionDeviceManagerService.java1540 () -> mAm.addOnUidImportanceListener( in startListening()
/aosp14/frameworks/base/services/core/java/com/android/server/media/
H A DMediaRouter2ServiceImpl.java163 mActivityManager.addOnUidImportanceListener(mOnUidImportanceListener, in MediaRouter2ServiceImpl()
/aosp14/frameworks/base/core/java/android/app/
H A DActivityManager.java4283 public void addOnUidImportanceListener(OnUidImportanceListener listener, in addOnUidImportanceListener() method in ActivityManager
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayManagerService.java693 mActivityManager.addOnUidImportanceListener(mUidImportanceListener, IMPORTANCE_CACHED); in windowManagerAndInputReady()
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt746 HSPLandroid/app/ActivityManager;->addOnUidImportanceListener(Landroid/app/ActivityManager$OnUidImpo…
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt746 HSPLandroid/app/ActivityManager;->addOnUidImportanceListener(Landroid/app/ActivityManager$OnUidImpo…