/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSFirewallChainTest.kt | 24 import android.net.ConnectivityManager.FIREWALL_RULE_ALLOW in <lambda>() 139 cm.setUidFirewallRule(FIREWALL_CHAIN_BACKGROUND, uid, FIREWALL_RULE_ALLOW) in <lambda>() 140 verify(bpfNetMaps).setUidRule(FIREWALL_CHAIN_BACKGROUND, uid, FIREWALL_RULE_ALLOW) in <lambda>() 153 listOf(FIREWALL_RULE_DEFAULT, FIREWALL_RULE_ALLOW, FIREWALL_RULE_DENY).forEach { rule -> in <lambda>() 175 verify(bpfNetMaps).setUidRule(FIREWALL_CHAIN_METERED_ALLOW, uid, FIREWALL_RULE_ALLOW) in <lambda>() 196 verify(bpfNetMaps).setUidRule(FIREWALL_CHAIN_METERED_DENY_USER, uid, FIREWALL_RULE_ALLOW) in <lambda>()
|
D | CSDestroySocketTest.kt | 25 import android.net.ConnectivityManager.FIREWALL_RULE_ALLOW 176 FIREWALL_RULE_ALLOW in testReplaceFirewallChain() 264 FIREWALL_RULE_ALLOW in doTestDestroySockets()
|
D | CSBlockedReasonsTest.kt | 28 import android.net.ConnectivityManager.FIREWALL_RULE_ALLOW 210 FIREWALL_RULE_ALLOW in cellNc()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | BpfNetMapsTest.java | 60 import static android.net.ConnectivityManager.FIREWALL_RULE_ALLOW; 506 ? FIREWALL_RULE_ALLOW : FIREWALL_RULE_DENY; in doTestSetUidRule() 514 ? FIREWALL_RULE_DENY : FIREWALL_RULE_ALLOW; in doTestSetUidRule() 568 () -> mBpfNetMaps.setUidRule(-1 /* childChain */, TEST_UID, FIREWALL_RULE_ALLOW)); in testSetUidRuleInvalidChain() 570 () -> mBpfNetMaps.setUidRule(1000 /* childChain */, TEST_UID, FIREWALL_RULE_ALLOW)); in testSetUidRuleInvalidChain() 587 mBpfNetMaps.setUidRule(FIREWALL_CHAIN_DOZABLE, TEST_UID, FIREWALL_RULE_ALLOW)); in testSetUidRuleBeforeT() 597 ? FIREWALL_RULE_ALLOW : FIREWALL_RULE_DENY; in doTestGetUidRule() 601 ? FIREWALL_RULE_DENY : FIREWALL_RULE_ALLOW; in doTestGetUidRule() 644 ? FIREWALL_RULE_DENY : FIREWALL_RULE_ALLOW; in testGetUidRuleNoEntry()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | BpfNetMapsUtils.java | 64 import static android.net.ConnectivityManager.FIREWALL_RULE_ALLOW; 246 return isMatchEnabled == isAllowList ? FIREWALL_RULE_ALLOW : FIREWALL_RULE_DENY; in getUidRule()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 61 import static android.net.ConnectivityManager.FIREWALL_RULE_ALLOW; 1605 assertEquals(rule, FIREWALL_RULE_ALLOW); in testSetBackgroundNetworkingShellCommand() 1619 FIREWALL_RULE_ALLOW)); in testGetBackgroundNetworkingShellCommand() 3541 final int ruleToAddMatch = isAllowList ? FIREWALL_RULE_ALLOW : FIREWALL_RULE_DENY; 3542 final int ruleToRemoveMatch = isAllowList ? FIREWALL_RULE_DENY : FIREWALL_RULE_ALLOW; 3723 doTestFirewallCloseSocket(FIREWALL_CHAIN_DOZABLE, FIREWALL_RULE_ALLOW, 3735 doTestFirewallCloseSocket(FIREWALL_CHAIN_DOZABLE, FIREWALL_RULE_ALLOW, 3743 doTestFirewallCloseSocket(FIREWALL_CHAIN_STANDBY, FIREWALL_RULE_ALLOW, 3755 doTestFirewallCloseSocket(FIREWALL_CHAIN_STANDBY, FIREWALL_RULE_ALLOW, 3849 () -> mCm.setUidFirewallRule(chain, myUid, FIREWALL_RULE_ALLOW), [all …]
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/1/android/net/ |
D | INetd.aidl | 119 const int FIREWALL_RULE_ALLOW = 1; field
|
/packages/modules/DnsResolver/tests/ |
D | resolv_test_utils.h | 73 INetd::FIREWALL_RULE_ALLOW) in ~ScopeBlockedUIDRule()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | BpfNetMaps.java | 37 import static android.net.ConnectivityManager.FIREWALL_RULE_ALLOW; 563 final boolean add = (firewallRule == FIREWALL_RULE_ALLOW && isAllowList) in setUidRule()
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/3/android/net/ |
D | INetd.aidl | 148 const int FIREWALL_RULE_ALLOW = 1; field
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/2/android/net/ |
D | INetd.aidl | 140 const int FIREWALL_RULE_ALLOW = 1; field
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/13/android/net/ |
D | INetd.aidl | 210 const int FIREWALL_RULE_ALLOW = 1; field
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/7/android/net/ |
D | INetd.aidl | 186 const int FIREWALL_RULE_ALLOW = 1; field
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/6/android/net/ |
D | INetd.aidl | 184 const int FIREWALL_RULE_ALLOW = 1; field
|
/packages/modules/Connectivity/staticlibs/netd/binder/android/net/ |
D | INetd.aidl | 1046 const int FIREWALL_RULE_ALLOW = 1; field
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/10/android/net/ |
D | INetd.aidl | 208 const int FIREWALL_RULE_ALLOW = 1; field
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/current/android/net/ |
D | INetd.aidl | 244 const int FIREWALL_RULE_ALLOW = 1; field
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/8/android/net/ |
D | INetd.aidl | 186 const int FIREWALL_RULE_ALLOW = 1; field
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/14/android/net/ |
D | INetd.aidl | 243 const int FIREWALL_RULE_ALLOW = 1; field
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/9/android/net/ |
D | INetd.aidl | 207 const int FIREWALL_RULE_ALLOW = 1; field
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/4/android/net/ |
D | INetd.aidl | 151 const int FIREWALL_RULE_ALLOW = 1; field
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/5/android/net/ |
D | INetd.aidl | 153 const int FIREWALL_RULE_ALLOW = 1; field
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/15/android/net/ |
D | INetd.aidl | 244 const int FIREWALL_RULE_ALLOW = 1; field
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/11/android/net/ |
D | INetd.aidl | 208 const int FIREWALL_RULE_ALLOW = 1; field
|
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/12/android/net/ |
D | INetd.aidl | 209 const int FIREWALL_RULE_ALLOW = 1; field
|