Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DBaseAppStateTimeSlotEventsTracker.java272 mTracker.mAppRestrictionController.refreshAppRestrictionLevelForUid( in onExcessiveEvents()
289 if (mTracker.mAppRestrictionController.hasForegroundServices(packageName, uid)) { in shouldExempt()
313 || !mTracker.mAppRestrictionController.isAutoRestrictAbusiveAppEnabled() in getProposedRestrictionLevel()
330 mTracker.mAppRestrictionController.refreshAppRestrictionLevelForUid(uid, in onUserInteractionStarted()
H A DBaseAppStatePolicy.java122 return mTracker.mAppRestrictionController.getBackgroundRestrictionExemptionReason(uid); in shouldExemptUid()
H A DBaseAppStateTracker.java77 protected final AppRestrictionController mAppRestrictionController; field in BaseAppStateTracker
91 mAppRestrictionController = controller; in BaseAppStateTracker()
H A DAppFGSTracker.java97 final String packageName = mAppRestrictionController.getPackageName(pid);
952 mTracker.mAppRestrictionController.postLongRunningFgsIfNecessary(packageName, uid); in onLongRunningFgs()
956 final long mediaPlaybackMs = mTracker.mAppRestrictionController in shouldExemptMediaPlaybackFGS()
970 final long locationMs = mTracker.mAppRestrictionController in shouldExemptLocationFGS()
997 mTracker.mAppRestrictionController in onLongRunningFgsGone()
H A DAppBatteryTracker.java445 final ImmutableBatteryUsage exemptedUsage = mAppRestrictionController in checkBatteryUsageStats()
817 final BatteryUsage exemptedUsage = mAppRestrictionController in dump()
1769 mTracker.mAppRestrictionController.isAutoRestrictAbusiveAppEnabled() in getProposedRestrictionLevel()
1856 final int curLevel = mTracker.mAppRestrictionController.getRestrictionLevel(uid); in handleUidBatteryUsage()
1947 mTracker.mAppRestrictionController.refreshAppRestrictionLevelForUid( in handleUidBatteryUsage()
1970 && mTracker.mAppRestrictionController.getCompositeMediaPlaybackDurations( in hasMediaPlayback()
1978 final AppRestrictionController controller = mTracker.mAppRestrictionController; in hasLocation()
1996 final int curLevel = mTracker.mAppRestrictionController.getRestrictionLevel( in onUserInteractionStarted()
2011 mTracker.mAppRestrictionController.refreshAppRestrictionLevelForUid(uid, in onUserInteractionStarted()
H A DAppBatteryExemptionTracker.java96 mAppRestrictionController.forEachTracker(tracker -> { in onSystemReady()
116 final ImmutableBatteryUsage batteryUsage = mAppRestrictionController in onStateChange()
220 final ImmutableBatteryUsage batteryUsage = mAppRestrictionController in getUidBatteryExemptedUsageSince()
H A DAppRestrictionController.java3116 private AppRestrictionController mAppRestrictionController; field in AppRestrictionController.Injector
3142 mAppRestrictionController = controller; in initAppStateTrackers()
3165 return mAppRestrictionController; in getAppRestrictionController()
3249 return mAppRestrictionController.mActivityManagerService; in getActivityManagerService()
H A DActivityManagerService.java1564 final AppRestrictionController mAppRestrictionController; field in ActivityManagerService
2477 mAppRestrictionController = new AppRestrictionController(mContext, this); in ActivityManagerService()
2590 mAppRestrictionController = new AppRestrictionController(mContext, this); in ActivityManagerService()
8603 mAppRestrictionController.onSystemReady(); in systemReady()
10018 mAppRestrictionController.dump(pw, ""); in dumpAppRestrictionController()
10022 mAppRestrictionController.dumpAsProto(proto, uid); in dumpAppRestrictionController()
18906 return mAppRestrictionController.getRestrictionLevel(uid); in getRestrictionLevel()
18911 return mAppRestrictionController.getRestrictionLevel(pkg, userId); in getRestrictionLevel()
18922 mAppRestrictionController.addAppBackgroundRestrictionListener(listener); in addAppBackgroundRestrictionListener()
19335 return mAppRestrictionController.getBackgroundRestrictionExemptionReason(uid);
[all …]
H A DActivityManagerShellCommand.java3868 mInternal.mAppRestrictionController.getAppStateTracker(AppBatteryTracker.class);
3907 final ArraySet<String> sysConfigs = mInternal.mAppRestrictionController
H A DActiveServices.java2686 final AppRestrictionController appRestrictionController = mAm.mAppRestrictionController; in checkPermission()