Home
last modified time | relevance | path

Searched refs:RESTRICTION_LEVEL_EXEMPTED (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DPowerAllowlistBackend.java211 pkg, uid, ActivityManager.RESTRICTION_LEVEL_EXEMPTED, in addApp()
252 pkg, uid, ActivityManager.RESTRICTION_LEVEL_EXEMPTED, in removeApp()
/frameworks/base/services/core/java/com/android/server/am/
DAppRestrictionController.java25 import static android.app.ActivityManager.RESTRICTION_LEVEL_EXEMPTED;
1734 level = RESTRICTION_LEVEL_EXEMPTED; in calcAppRestrictionLevel()
1758 if (l == RESTRICTION_LEVEL_EXEMPTED) { in calcAppRestrictionLevel()
1759 return new Pair<>(RESTRICTION_LEVEL_EXEMPTED, levelTypePair.second); in calcAppRestrictionLevel()
1818 return RESTRICTION_LEVEL_EXEMPTED; in standbyBucketToRestrictionLevel()
2040 case RESTRICTION_LEVEL_EXEMPTED: in getRestrictionLevelStatsd()
2088 if (level != RESTRICTION_LEVEL_EXEMPTED) { in getExemptionReasonStatsd()
2411 case RESTRICTION_LEVEL_EXEMPTED -> in getRestrictionTypeStatsd()
DActivityManagerShellCommand.java4047 return ActivityManager.RESTRICTION_LEVEL_EXEMPTED;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java28 import static android.app.ActivityManager.RESTRICTION_LEVEL_EXEMPTED;
431 RESTRICTION_LEVEL_EXEMPTED, in testInitialLevels()
608 verifyRestrictionLevel(RESTRICTION_LEVEL_EXEMPTED, testPkgName, testUid); in testTogglingStandbyBucket()
609 listener.verify(timeout, testUid, testPkgName, RESTRICTION_LEVEL_EXEMPTED); in testTogglingStandbyBucket()
/frameworks/base/core/java/android/app/
DActivityManager.java1321 public static final int RESTRICTION_LEVEL_EXEMPTED = 20; field in ActivityManager
1384 RESTRICTION_LEVEL_EXEMPTED,
1537 case RESTRICTION_LEVEL_EXEMPTED: in restrictionLevelToName()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java1646 case ActivityManager.RESTRICTION_LEVEL_EXEMPTED: in getRestrictionLevelForStatsd()