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.java291 public void updateRules(@NonNull String newRules) { in updateRules() argument
293 String[] rulesString = newRules.trim().split("\\s*,\\s*"); in updateRules()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1798 SparseIntArray newRules = new SparseIntArray(); in setFirewallUidRules() local
1804 newRules.put(uid, rule); in setFirewallUidRules()
1810 if (newRules.indexOfKey(uid) < 0) { in setFirewallUidRules()
DConnectivityService.java1843 void handleUidRulesChanged(int uid, int newRules) { in handleUidRulesChanged() argument
1846 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() argument
6688 uid, newRules, metered, mRestrictBackground); in maybeNotifyNetworkBlockedForNewUidRules()