Searched refs:setUidFirewallRule (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSDestroySocketTest.kt | 96 cm.setUidFirewallRule( in doTestBackgroundRestrictionDestroySockets() 173 cm.setUidFirewallRule( in testReplaceFirewallChain() 181 cm.setUidFirewallRule( in testReplaceFirewallChain() 234 cm.setUidFirewallRule( in doTestDestroySockets() 261 cm.setUidFirewallRule( in doTestDestroySockets()
|
D | CSFirewallChainTest.kt | 129 cm.setUidFirewallRule(FIREWALL_CHAIN_BACKGROUND, uid, FIREWALL_RULE_DEFAULT) in <lambda>() 134 cm.setUidFirewallRule(FIREWALL_CHAIN_BACKGROUND, uid, FIREWALL_RULE_DENY) in <lambda>() 139 cm.setUidFirewallRule(FIREWALL_CHAIN_BACKGROUND, uid, FIREWALL_RULE_ALLOW) in <lambda>() 154 cm.setUidFirewallRule(FIREWALL_CHAIN_BACKGROUND, uid, rule) in <lambda>()
|
D | CSBlockedReasonsTest.kt | 207 cm.setUidFirewallRule( in cellNc() 222 cm.setUidFirewallRule( in cellNc()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 1618 () -> mCm.setUidFirewallRule(FIREWALL_CHAIN_BACKGROUND, testUid, in testGetBackgroundNetworkingShellCommand() 1625 () -> mCm.setUidFirewallRule(FIREWALL_CHAIN_BACKGROUND, testUid, in testGetBackgroundNetworkingShellCommand() 3555 mCm.setUidFirewallRule(chain, myUid, ruleToRemoveMatch); 3569 mCm.setUidFirewallRule(chain, myUid, ruleToAddMatch); 3579 mCm.setUidFirewallRule(chain, myUid, ruleToRemoveMatch); 3590 mCm.setUidFirewallRule(chain, myUid, previousUidFirewallRule); 3667 private void setUidFirewallRule(final int chain, final int uid, final int rule) { 3669 mCm.setUidFirewallRule(chain, uid, rule); 3693 setUidFirewallRule(chain, targetUid, rule); 3696 setUidFirewallRule(chain, myUid, FIREWALL_RULE_DEFAULT); [all …]
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | IConnectivityManager.aidl | 245 void setUidFirewallRule(int chain, int uid, int rule); in setUidFirewallRule() method
|
D | ConnectivityManager.java | 6191 mService.setUidFirewallRule(FIREWALL_CHAIN_METERED_ALLOW, uid, FIREWALL_RULE_ALLOW); in addUidToMeteredNetworkAllowList() 6214 mService.setUidFirewallRule(FIREWALL_CHAIN_METERED_ALLOW, uid, FIREWALL_RULE_DENY); in removeUidFromMeteredNetworkAllowList() 6243 mService.setUidFirewallRule(FIREWALL_CHAIN_METERED_DENY_USER, uid, FIREWALL_RULE_DENY); in addUidToMeteredNetworkDenyList() 6273 mService.setUidFirewallRule(FIREWALL_CHAIN_METERED_DENY_USER, uid, FIREWALL_RULE_ALLOW); in removeUidFromMeteredNetworkDenyList() 6295 public void setUidFirewallRule(@FirewallChain final int chain, final int uid, in setUidFirewallRule() method in ConnectivityManager 6298 mService.setUidFirewallRule(chain, uid, rule); in setUidFirewallRule()
|
/packages/modules/Connectivity/framework/api/ |
D | module-lib-current.txt | 35 …d.net.NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK}) public void setUidFirewallRule(int, int, in…
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 10522 mCm.setUidFirewallRule(chain, uid, FIREWALL_RULE_ALLOW); 10526 mCm.setUidFirewallRule(chain, uid, FIREWALL_RULE_DENY); 10530 mCm.setUidFirewallRule(chain, uid, FIREWALL_RULE_DEFAULT); 10654 () -> mCm.setUidFirewallRule(-1 /* chain */, uid, FIREWALL_RULE_ALLOW)); 10656 () -> mCm.setUidFirewallRule(100 /* chain */, uid, FIREWALL_RULE_ALLOW)); 10663 () -> mCm.setUidFirewallRule(FIREWALL_CHAIN_DOZABLE, 10666 () -> mCm.setUidFirewallRule(FIREWALL_CHAIN_DOZABLE,
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 11856 setUidFirewallRule(FIREWALL_CHAIN_BACKGROUND, uid, rule); 13873 setUidFirewallRule(chain, uid, rule); 13879 public void setUidFirewallRule(final int chain, final int uid, final int rule) {
|