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()
319 public void updateRules(@NonNull String newRules) { in updateRules() argument321 String[] rulesString = newRules.trim().split("\\s*,\\s*"); in updateRules()
1733 SparseIntArray newRules = new SparseIntArray(); in setFirewallUidRules() local1739 newRules.put(uid, rule); in setFirewallUidRules()1745 if (newRules.indexOfKey(uid) < 0) { in setFirewallUidRules()
2000 void handleUidRulesChanged(int uid, int newRules) { in handleUidRulesChanged() argument2003 if (oldRules == newRules) return; in handleUidRulesChanged()2005 maybeNotifyNetworkBlockedForNewUidRules(uid, newRules); in handleUidRulesChanged()2007 if (newRules == RULE_NONE) { in handleUidRulesChanged()2010 mUidRules.put(uid, newRules); in handleUidRulesChanged()7303 private void maybeNotifyNetworkBlockedForNewUidRules(int uid, int newRules) { in maybeNotifyNetworkBlockedForNewUidRules() argument7315 uid, newRules, metered, mRestrictBackground); in maybeNotifyNetworkBlockedForNewUidRules()