Searched refs:mAppRestrictionController (Results 1 – 10 of 10) sorted by relevance
272 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()
122 return mTracker.mAppRestrictionController.getBackgroundRestrictionExemptionReason(uid); in shouldExemptUid()
77 protected final AppRestrictionController mAppRestrictionController; field in BaseAppStateTracker91 mAppRestrictionController = controller; in BaseAppStateTracker()
97 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()
445 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()
96 mAppRestrictionController.forEachTracker(tracker -> { in onSystemReady()116 final ImmutableBatteryUsage batteryUsage = mAppRestrictionController in onStateChange()220 final ImmutableBatteryUsage batteryUsage = mAppRestrictionController in getUidBatteryExemptedUsageSince()
3116 private AppRestrictionController mAppRestrictionController; field in AppRestrictionController.Injector3142 mAppRestrictionController = controller; in initAppStateTrackers()3165 return mAppRestrictionController; in getAppRestrictionController()3249 return mAppRestrictionController.mActivityManagerService; in getActivityManagerService()
1564 final AppRestrictionController mAppRestrictionController; field in ActivityManagerService2477 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 …]
3868 mInternal.mAppRestrictionController.getAppStateTracker(AppBatteryTracker.class);3907 final ArraySet<String> sysConfigs = mInternal.mAppRestrictionController
2686 final AppRestrictionController appRestrictionController = mAm.mAppRestrictionController; in checkPermission()