Home
last modified time | relevance | path

Searched refs:isWhitelisted (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datausage/
DDataSaverBackend.java94 public boolean isWhitelisted(int uid) { in isWhitelisted() method in DataSaverBackend
152 private void handleWhitelistChanged(int uid, boolean isWhitelisted) { in handleWhitelistChanged() argument
154 mListeners.get(i).onWhitelistStatusChanged(uid, isWhitelisted); in handleWhitelistChanged()
177 final boolean isWhitelisted = newPolicy == POLICY_ALLOW_METERED_BACKGROUND; in handleUidPoliciesChanged()
180 if (wasWhitelisted != isWhitelisted) { in handleUidPoliciesChanged()
181 handleWhitelistChanged(uid, isWhitelisted); in handleUidPoliciesChanged()
222 void onWhitelistStatusChanged(int uid, boolean isWhitelisted); in onWhitelistStatusChanged() argument
DAppStateDataUsageBridge.java40 app.extraInfo = new DataUsageState(mDataSaverBackend.isWhitelisted(app.info.uid), in loadAllExtraInfo()
47 app.extraInfo = new DataUsageState(mDataSaverBackend.isWhitelisted(uid), in updateExtraInfo()
DAppDataUsage.java322 return mDataSaverBackend.isWhitelisted(mAppItem.key); in getUnrestrictData()
421 public void onWhitelistStatusChanged(int uid, boolean isWhitelisted) { in onWhitelistStatusChanged() argument
423 updatePrefs(getAppRestrictBackground(), isWhitelisted); in onWhitelistStatusChanged() local
DUnrestrictedDataAccess.java325 public void onWhitelistStatusChanged(int uid, boolean isWhitelisted) { in onWhitelistStatusChanged() argument
327 mState.isDataSaverWhitelisted = isWhitelisted; in onWhitelistStatusChanged()
DDataSaverPreference.java49 public void onWhitelistStatusChanged(int uid, boolean isWhitelisted) { in onWhitelistStatusChanged() argument
DDataSaverSummary.java123 public void onWhitelistStatusChanged(int uid, boolean isWhitelisted) { in onWhitelistStatusChanged() argument
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryOptimizationPreferenceController.java69 final boolean isWhitelisted = mBackend.isWhitelisted(mPackageName); in updateState()
70 preference.setSummary(isWhitelisted ? R.string.high_power_on : R.string.high_power_off); in updateState()
DHighPowerDetail.java72 mIsEnabled = mDefaultOn || mBackend.isWhitelisted(mPackageName); in onCreate()
128 boolean oldValue = mBackend.isWhitelisted(mPackageName); in onClick()
164 : powerWhitelist.isWhitelisted(pkg) ? R.string.high_power_on in getSummary()
DPowerWhitelistBackend.java56 public boolean isWhitelisted(String pkg) { in isWhitelisted() method in PowerWhitelistBackend
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexServerSession.java192 boolean isWhitelisted = BluetoothOppManager.getInstance(mContext). in onPut()
193 isWhitelisted(destination); in onPut()
250 || (!isWhitelisted && !Constants.mimeTypeMatches(mimeType, in onPut()
289 if (isWhitelisted) { in onPut()
562 isWhitelisted(destination); in onConnect()
DBluetoothOppManager.java180 public synchronized boolean isWhitelisted(String address) { in isWhitelisted() method in BluetoothOppManager
/packages/apps/Settings/src/com/android/settings/applications/
DAppStatePowerBridge.java43 app.extraInfo = mBackend.isWhitelisted(app.info.packageName) in loadAllExtraInfo()
50 app.extraInfo = mBackend.isWhitelisted(pkg) ? Boolean.TRUE : Boolean.FALSE; in updateExtraInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryOptimizationPreferenceControllerTest.java72 doReturn(false).when(mBackend).isWhitelisted(PKG_NOT_IN_WHITELIST); in setUp()
73 doReturn(true).when(mBackend).isWhitelisted(PKG_IN_WHITELIST); in setUp()
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java223 public void onWhitelistStatusChanged(int uid, boolean isWhitelisted) { in onWhitelistStatusChanged() argument