Home
last modified time | relevance | path

Searched refs:isBlacklisted (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DHighRefreshRateBlacklistTest.java57 assertTrue(blacklist.isBlacklisted("com.android.sample1")); in testDefaultBlacklist()
58 assertTrue(blacklist.isBlacklisted("com.android.sample2")); in testDefaultBlacklist()
59 assertFalse(blacklist.isBlacklisted("com.android.sample3")); in testDefaultBlacklist()
67 assertFalse(blacklist.isBlacklisted("com.android.sample1")); in testNoDefaultBlacklist()
76 assertFalse(blacklist.isBlacklisted("com.android.sample1")); in testDefaultBlacklistIsOverriddenByDeviceConfig()
77 assertTrue(blacklist.isBlacklisted("com.android.sample2")); in testDefaultBlacklistIsOverriddenByDeviceConfig()
78 assertTrue(blacklist.isBlacklisted("com.android.sample3")); in testDefaultBlacklistIsOverriddenByDeviceConfig()
87 assertFalse(blacklist.isBlacklisted("com.android.sample1")); in testDefaultBlacklistIsOverriddenByEmptyDeviceConfig()
97 assertTrue(blacklist.isBlacklisted("com.android.sample1")); in testDefaultBlacklistIsOverriddenByDeviceConfigUpdate()
98 assertFalse(blacklist.isBlacklisted("com.android.sample2")); in testDefaultBlacklistIsOverriddenByDeviceConfigUpdate()
[all …]
DRefreshRatePolicyTest.java80 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/
DRefreshRatePolicy.java87 if (mHighRefreshRateBlacklist.isBlacklisted(packageName)) { in getPreferredModeId()
DHighRefreshRateBlacklist.java89 boolean isBlacklisted(String packageName) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java198 public boolean isBlacklisted; field in WifiConnectivityManager.BssidBlacklistStatus
1315 if (!status.isBlacklisted) { in updateBssidBlacklist()
1318 status.isBlacklisted = true; in updateBssidBlacklist()
1365 return status == null ? false : status.isBlacklisted; in isBssidDisabled()
1434 if (status.isBlacklisted && ((currentTimeStamp - status.blacklistedTimeStamp) in refreshBssidBlacklist()
/frameworks/base/services/core/java/com/android/server/location/
DLocationBlacklist.java85 public boolean isBlacklisted(String packageName) { in isBlacklisted() method in LocationBlacklist
DGeofenceManager.java293 if (mBlacklist.isBlacklisted(state.mPackageName)) { in updateFences()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2619 final boolean isBlacklisted = policy == POLICY_REJECT_METERED_BACKGROUND; in setUidPolicyUncheckedUL()
2623 final boolean isBlocked = isBlacklisted || (mRestrictBackground && !isWhitelisted); in setUidPolicyUncheckedUL()
2624 if ((wasWhitelisted && (!isWhitelisted || isBlacklisted)) in setUidPolicyUncheckedUL()
4253 final boolean isBlacklisted = (uidPolicy & POLICY_REJECT_METERED_BACKGROUND) != 0; in updateRulesForDataUsageRestrictionsULInner()
4262 if (isBlacklisted || (mRestrictBackground && !isWhitelisted)) { in updateRulesForDataUsageRestrictionsULInner()
4268 if (isBlacklisted) { in updateRulesForDataUsageRestrictionsULInner()
4279 + ", isBlacklisted=" + isBlacklisted in updateRulesForDataUsageRestrictionsULInner()
4304 if (isBlacklisted) { in updateRulesForDataUsageRestrictionsULInner()
4317 if (isBlacklisted || isRestrictedByAdmin) { in updateRulesForDataUsageRestrictionsULInner()
4323 setMeteredNetworkBlacklist(uid, (isBlacklisted || isRestrictedByAdmin)); in updateRulesForDataUsageRestrictionsULInner()
[all …]
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java2681 if (mBlacklist.isBlacklisted(packageName)) { in getLastLocation()
3363 if (mBlacklist.isBlacklisted(receiver.mCallerIdentity.mPackageName)) { in handleLocationChangedLocked()
/frameworks/base/services/
Dart-profile8164 HSPLcom/android/server/location/LocationBlacklist;->isBlacklisted(Ljava/lang/String;)Z