Searched refs:isSysAllowlisted (Results 1 – 8 of 8) sorted by relevance
92 if (!on && mBackend.isSysAllowlisted(mPackageName)) { in setup()105 if (!mBackend.isSysAllowlisted(mPackageName)) { in onCreateDialog()185 powerAllowlist.isSysAllowlisted(pkg) || powerAllowlist.isDefaultActiveApp(pkg, uid) in getSummary()
280 return powerAllowlistBackend.isSysAllowlisted(packageName) in isSystemOrDefaultApp()
113 if (mPowerAllowlistBackend.isSysAllowlisted(entry.info.packageName)) { in createAppPreference()131 if (mPowerAllowlistBackend.isSysAllowlisted(pkg)) { in updateSummary()
69 public boolean isSysAllowlisted(String pkg) { in isSysAllowlisted() method in PowerAllowlistBackend
90 if (mPowerAllowlistBackend.isSysAllowlisted(entry.info.packageName)) { in bindPreference()113 if (mPowerAllowlistBackend.isSysAllowlisted(pkg)) { in updateSummary()
302 inOrder.verify(mMockBackend).isSysAllowlisted(PACKAGE_NAME); in testResetAppOptimizationModeInternal_SystemOrDefault_verifyAction()347 doReturn(isSystemOrDefaultApp).when(mMockBackend).isSysAllowlisted(anyString()); in runTestForResetWithMode()
196 doReturn(true).when(mPowerAllowlistBackend).isSysAllowlisted(PACKAGE_NAME1); in backupOptimizationMode_backupOptimizationModeAndIgnoreSystemApp()214 doReturn(false).when(mPowerAllowlistBackend).isSysAllowlisted(anyString()); in backupOptimizationMode_backupOptimizationModeAndIgnoreDefaultApp()
1752 return !mBackend.isSysAllowlisted(entry.info.packageName) in isEnabled()