Home
last modified time | relevance | path

Searched refs:isPackageExempt (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/
DLowPowerStandbyController.java938 boolean isPackageExempt(int uid) { in isPackageExempt() method in LowPowerStandbyController
989 if (mEnableStandbyPorts && isEnabled() && isPackageExempt(uid)) { in acquireStandbyPorts()
1014 if (mEnableStandbyPorts && isEnabled() && isPackageExempt(standbyPortsLock.getUid())) { in releaseStandbyPorts()
DPowerManagerService.java6537 return mLowPowerStandbyController.isPackageExempt(callingUid);
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DLowPowerStandbyControllerTest.java743 assertTrue(mController.isPackageExempt(TEST_PKG1_APP_ID)); in testIsExempt_exemptIfDisabled()
752 assertFalse(mController.isPackageExempt(TEST_PKG1_APP_ID)); in testIsExempt_notExemptIfEnabled()