Searched refs:newRules (Results 1 – 4 of 4) sorted by relevance
171 CarrierRestrictionRules newRules = CarrierRestrictionRules.CREATOR.createFromParcel(p); in testParcel() local174 assertTrue(allowedCarriers.equals(newRules.getAllowedCarriers())); in testParcel()175 assertTrue(excludedCarriers.equals(newRules.getExcludedCarriers())); in testParcel()177 newRules.getDefaultCarrierRestriction()); in testParcel()
291 public void updateRules(@NonNull String newRules) { in updateRules() argument293 String[] rulesString = newRules.trim().split("\\s*,\\s*"); in updateRules()
1798 SparseIntArray newRules = new SparseIntArray(); in setFirewallUidRules() local1804 newRules.put(uid, rule); in setFirewallUidRules()1810 if (newRules.indexOfKey(uid) < 0) { in setFirewallUidRules()
1843 void handleUidRulesChanged(int uid, int newRules) { in handleUidRulesChanged() argument1846 if (oldRules == newRules) return; in handleUidRulesChanged()1848 maybeNotifyNetworkBlockedForNewUidRules(uid, newRules); in handleUidRulesChanged()1850 if (newRules == RULE_NONE) { in handleUidRulesChanged()1853 mUidRules.put(uid, newRules); in handleUidRulesChanged()6676 private void maybeNotifyNetworkBlockedForNewUidRules(int uid, int newRules) { in maybeNotifyNetworkBlockedForNewUidRules() argument6688 uid, newRules, metered, mRestrictBackground); in maybeNotifyNetworkBlockedForNewUidRules()