Searched refs:isBlacklisted (Results 1 – 10 of 10) sorted by relevance
57 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 …]
80 when(mBlacklist.isBlacklisted("com.android.test")).thenReturn(true); in testBlacklist()89 when(mBlacklist.isBlacklisted("com.android.test")).thenReturn(true); in testAppOverride_blacklist()
87 if (mHighRefreshRateBlacklist.isBlacklisted(packageName)) { in getPreferredModeId()
89 boolean isBlacklisted(String packageName) {
198 public boolean isBlacklisted; field in WifiConnectivityManager.BssidBlacklistStatus1315 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()
85 public boolean isBlacklisted(String packageName) { in isBlacklisted() method in LocationBlacklist
293 if (mBlacklist.isBlacklisted(state.mPackageName)) { in updateFences()
2619 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 …]
2681 if (mBlacklist.isBlacklisted(packageName)) { in getLastLocation()3363 if (mBlacklist.isBlacklisted(receiver.mCallerIdentity.mPackageName)) { in handleLocationChangedLocked()
8164 HSPLcom/android/server/location/LocationBlacklist;->isBlacklisted(Ljava/lang/String;)Z