Searched refs:uidRules (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkPolicyManagerTest.java | 74 private void uidRulesToStringTest(int uidRules, String... expectedOptions) { in uidRulesToStringTest() argument 75 assertContains(uidRulesToString(uidRules), expectedOptions); in uidRulesToStringTest()
|
/frameworks/base/core/java/android/net/ |
D | INetworkPolicyListener.aidl | 22 void onUidRulesChanged(int uid, int uidRules); in onUidRulesChanged() argument
|
D | NetworkPolicyManager.java | 768 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/ |
D | NetworkPolicyManagerService.java | 4634 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 …]
|