Home
last modified time | relevance | path

Searched refs:uidRules (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/net/
DNetworkPolicyManagerTest.java74 private void uidRulesToStringTest(int uidRules, String... expectedOptions) { in uidRulesToStringTest() argument
75 assertContains(uidRulesToString(uidRules), expectedOptions); in uidRulesToStringTest()
/frameworks/base/core/java/android/net/
DINetworkPolicyListener.aidl22 void onUidRulesChanged(int uid, int uidRules); in onUidRulesChanged() argument
DNetworkPolicyManager.java768 public static String uidRulesToString(int uidRules) {
769 final StringBuilder string = new StringBuilder().append(uidRules).append(" (");
770 if (uidRules == RULE_NONE) {
773 string.append(DebugUtils.flagsToString(NetworkPolicyManager.class, "RULE_", uidRules));
1086 @Override public void onUidRulesChanged(int uid, int uidRules) { }
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java4634 final int uidRules;
4652 uidRules = oldEffectiveBlockedReasons == newEffectiveBlockedReasons
4660 postUidRulesChangedMsg(uid, uidRules);
4728 final SparseIntArray uidRules = rules;
4729 uidRules.clear();
4733 updateRulesForAllowlistedAppIds(uidRules, mPowerSaveTempWhitelistAppIds, user.id);
4734 updateRulesForAllowlistedAppIds(uidRules, mPowerSaveWhitelistAppIds, user.id);
4736 updateRulesForAllowlistedAppIds(uidRules,
4742 uidRules.put(mUidState.keyAt(i), FIREWALL_RULE_ALLOW);
4745 setUidFirewallRulesUL(chain, uidRules, CHAIN_TOGGLE_ENABLE);
[all …]