Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DHighRefreshRateBlacklistTest.java64 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 …]
DRefreshRatePolicyTest.java84 when(mBlacklist.isBlacklisted("com.android.test")).thenReturn(true); in testBlacklist()
93 when(mBlacklist.isBlacklisted("com.android.test")).thenReturn(true); in testAppOverride_blacklist()
/frameworks/base/services/core/java/com/android/server/wm/
DRefreshRatePolicy.java111 if (mHighRefreshRateBlacklist.isBlacklisted(packageName)) { in getPreferredModeId()
DHighRefreshRateBlacklist.java83 boolean isBlacklisted(String packageName) { in isBlacklisted() method in HighRefreshRateBlacklist
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2626 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 …]
/frameworks/base/services/
Dart-profile36925 HSPLcom/android/server/wm/HighRefreshRateBlacklist;->isBlacklisted(Ljava/lang/String;)Z