Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DStatusBarSwitch.java37 private Set<String> mBlacklist; field in StatusBarSwitch
60 mBlacklist = StatusBarIconController.getIconBlacklist(newValue); in onTuningChanged()
61 setChecked(!mBlacklist.contains(getKey())); in onTuningChanged()
68 if (!mBlacklist.contains(getKey())) { in persistBoolean()
71 mBlacklist.add(getKey()); in persistBoolean()
72 setList(mBlacklist); in persistBoolean()
75 if (mBlacklist.remove(getKey())) { in persistBoolean()
77 setList(mBlacklist); in persistBoolean()
DBatteryPreference.java41 private ArraySet<String> mBlacklist; field in BatteryPreference
67 mBlacklist = StatusBarIconController.getIconBlacklist(newValue); in onTuningChanged()
68 mBatteryEnabled = !mBlacklist.contains(mBattery); in onTuningChanged()
91 mBlacklist.add(mBattery); in persistString()
93 mBlacklist.remove(mBattery); in persistString()
96 TextUtils.join(",", mBlacklist)); in persistString()
DClockPreference.java36 private ArraySet<String> mBlacklist; field in ClockPreference
64 mBlacklist = StatusBarIconController.getIconBlacklist(newValue); in onTuningChanged()
65 mClockEnabled = !mBlacklist.contains(mClock); in onTuningChanged()
90 mBlacklist.add(mClock); in persistString()
92 mBlacklist.remove(mClock); in persistString()
95 TextUtils.join(",", mBlacklist)); in persistString()
/frameworks/base/services/core/java/com/android/server/location/
DLocationBlacklist.java51 private String[] mBlacklist = new String[0]; field in LocationBlacklist
71 mBlacklist = getStringArrayLocked(BLACKLIST_CONFIG_NAME); in reloadBlacklistLocked()
72 if (D) Slog.d(TAG, "blacklist: " + Arrays.toString(mBlacklist)); in reloadBlacklistLocked()
87 for (String black : mBlacklist) { in isBlacklisted()
149 Arrays.toString(mBlacklist)); in dump()
DGeofenceManager.java80 private final LocationBlacklist mBlacklist; field in GeofenceManager
127 mBlacklist = blacklist; in GeofenceManager()
293 if (mBlacklist.isBlacklisted(state.mPackageName)) { in updateFences()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRefreshRatePolicyTest.java47 private HighRefreshRateBlacklist mBlacklist = mock(HighRefreshRateBlacklist.class); field in RefreshRatePolicyTest
60 mPolicy = new RefreshRatePolicy(mWm, di, mBlacklist); in setUp()
80 when(mBlacklist.isBlacklisted("com.android.test")).thenReturn(true); in testBlacklist()
89 when(mBlacklist.isBlacklisted("com.android.test")).thenReturn(true); in testAppOverride_blacklist()
/frameworks/base/services/core/java/com/android/server/wm/
DPolicyControl.java192 private final ArraySet<String> mBlacklist; field in PolicyControl.Filter
196 mBlacklist = blacklist; in Filter()
203 if (isApp && mBlacklist.contains(APPS)) return false; in matches()
214 return mBlacklist.contains(packageName) || mBlacklist.contains(ALL); in onBlacklist()
224 dump("blacklist", mBlacklist, pw); pw.print(']'); in dump()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java204 private LocationBlacklist mBlacklist; field in LocationManagerService
311 mBlacklist = new LocationBlacklist(mContext, mHandler); in initializeLocked()
312 mBlacklist.init(); in initializeLocked()
313 mGeofenceManager = new GeofenceManager(mContext, mBlacklist); in initializeLocked()
930 mBlacklist.switchUser(userId); in onUserChangedLocked()
2681 if (mBlacklist.isBlacklisted(packageName)) { in getLastLocation()
3363 if (mBlacklist.isBlacklisted(receiver.mCallerIdentity.mPackageName)) { in handleLocationChangedLocked()
3738 if (mBlacklist != null) { in dump()
3740 mBlacklist.dump(pw); in dump()