Home
last modified time | relevance | path

Searched refs:isSysAllowlisted (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DHighPowerDetail.java92 if (!on && mBackend.isSysAllowlisted(mPackageName)) { in setup()
105 if (!mBackend.isSysAllowlisted(mPackageName)) { in onCreateDialog()
185 powerAllowlist.isSysAllowlisted(pkg) || powerAllowlist.isDefaultActiveApp(pkg, uid) in getSummary()
DBatteryOptimizeUtils.java280 return powerAllowlistBackend.isSysAllowlisted(packageName) in isSystemOrDefaultApp()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/specialaccess/
DHighPowerState.java113 if (mPowerAllowlistBackend.isSysAllowlisted(entry.info.packageName)) { in createAppPreference()
131 if (mPowerAllowlistBackend.isSysAllowlisted(pkg)) { in updateSummary()
DPowerAllowlistBackend.java69 public boolean isSysAllowlisted(String pkg) { in isSysAllowlisted() method in PowerAllowlistBackend
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DHighPower.java90 if (mPowerAllowlistBackend.isSysAllowlisted(entry.info.packageName)) { in bindPreference()
113 if (mPowerAllowlistBackend.isSysAllowlisted(pkg)) { in updateSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryOptimizeUtilsTest.java302 inOrder.verify(mMockBackend).isSysAllowlisted(PACKAGE_NAME); in testResetAppOptimizationModeInternal_SystemOrDefault_verifyAction()
347 doReturn(isSystemOrDefaultApp).when(mMockBackend).isSysAllowlisted(anyString()); in runTestForResetWithMode()
DBatteryBackupHelperTest.java196 doReturn(true).when(mPowerAllowlistBackend).isSysAllowlisted(PACKAGE_NAME1); in backupOptimizationMode_backupOptimizationModeAndIgnoreSystemApp()
214 doReturn(false).when(mPowerAllowlistBackend).isSysAllowlisted(anyString()); in backupOptimizationMode_backupOptimizationModeAndIgnoreDefaultApp()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java1752 return !mBackend.isSysAllowlisted(entry.info.packageName) in isEnabled()