Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierRestrictionRulesTest.java171 CarrierRestrictionRules newRules = CarrierRestrictionRules.CREATOR.createFromParcel(p); in testParcel() local
174 assertTrue(allowedCarriers.equals(newRules.getAllowedCarriers())); in testParcel()
175 assertTrue(excludedCarriers.equals(newRules.getExcludedCarriers())); in testParcel()
177 newRules.getDefaultCarrierRestriction()); in testParcel()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledOverride.java319 public void updateRules(@NonNull String newRules) { in updateRules() argument
321 String[] rulesString = newRules.trim().split("\\s*,\\s*"); in updateRules()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1733 SparseIntArray newRules = new SparseIntArray(); in setFirewallUidRules() local
1739 newRules.put(uid, rule); in setFirewallUidRules()
1745 if (newRules.indexOfKey(uid) < 0) { in setFirewallUidRules()
DConnectivityService.java2000 void handleUidRulesChanged(int uid, int newRules) { in handleUidRulesChanged() argument
2003 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() argument
7315 uid, newRules, metered, mRestrictBackground); in maybeNotifyNetworkBlockedForNewUidRules()