Searched refs:isBlacklisted (Results 1 – 6 of 6) sorted by relevance
64 assertTrue(mBlacklist.isBlacklisted(APP1)); in testDefaultBlacklist()65 assertTrue(mBlacklist.isBlacklisted(APP2)); in testDefaultBlacklist()66 assertFalse(mBlacklist.isBlacklisted(APP3)); in testDefaultBlacklist()74 assertFalse(mBlacklist.isBlacklisted(APP1)); in testNoDefaultBlacklist()84 assertFalse(mBlacklist.isBlacklisted(APP1)); in testDefaultBlacklistIsOverriddenByDeviceConfig()85 assertTrue(mBlacklist.isBlacklisted(APP2)); in testDefaultBlacklistIsOverriddenByDeviceConfig()86 assertTrue(mBlacklist.isBlacklisted(APP3)); in testDefaultBlacklistIsOverriddenByDeviceConfig()96 assertFalse(mBlacklist.isBlacklisted(APP1)); in testDefaultBlacklistIsOverriddenByEmptyDeviceConfig()106 assertTrue(mBlacklist.isBlacklisted(APP1)); in testDefaultBlacklistIsOverriddenByDeviceConfigUpdate()107 assertFalse(mBlacklist.isBlacklisted(APP2)); in testDefaultBlacklistIsOverriddenByDeviceConfigUpdate()[all …]
84 when(mBlacklist.isBlacklisted("com.android.test")).thenReturn(true); in testBlacklist()93 when(mBlacklist.isBlacklisted("com.android.test")).thenReturn(true); in testAppOverride_blacklist()
111 if (mHighRefreshRateBlacklist.isBlacklisted(packageName)) { in getPreferredModeId()
83 boolean isBlacklisted(String packageName) { in isBlacklisted() method in HighRefreshRateBlacklist
2626 final boolean isBlacklisted = policy == POLICY_REJECT_METERED_BACKGROUND; in setUidPolicyUncheckedUL()2630 final boolean isBlocked = isBlacklisted || (mRestrictBackground && !isWhitelisted); in setUidPolicyUncheckedUL()2631 if ((wasWhitelisted && (!isWhitelisted || isBlacklisted)) in setUidPolicyUncheckedUL()4298 final boolean isBlacklisted = (uidPolicy & POLICY_REJECT_METERED_BACKGROUND) != 0; in updateRulesForDataUsageRestrictionsULInner()4307 if (isBlacklisted || (mRestrictBackground && !isWhitelisted)) { in updateRulesForDataUsageRestrictionsULInner()4313 if (isBlacklisted) { in updateRulesForDataUsageRestrictionsULInner()4324 + ", isBlacklisted=" + isBlacklisted in updateRulesForDataUsageRestrictionsULInner()4349 if (isBlacklisted) { in updateRulesForDataUsageRestrictionsULInner()4362 if (isBlacklisted || isRestrictedByAdmin) { in updateRulesForDataUsageRestrictionsULInner()4368 setMeteredNetworkBlacklist(uid, (isBlacklisted || isRestrictedByAdmin)); in updateRulesForDataUsageRestrictionsULInner()[all …]
36925 HSPLcom/android/server/wm/HighRefreshRateBlacklist;->isBlacklisted(Ljava/lang/String;)Z