Home
last modified time | relevance | path

Searched refs:FIREWALL_RULE_ALLOW (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSFirewallChainTest.kt24 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>()
DCSDestroySocketTest.kt25 import android.net.ConnectivityManager.FIREWALL_RULE_ALLOW
176 FIREWALL_RULE_ALLOW in testReplaceFirewallChain()
264 FIREWALL_RULE_ALLOW in doTestDestroySockets()
DCSBlockedReasonsTest.kt28 import android.net.ConnectivityManager.FIREWALL_RULE_ALLOW
210 FIREWALL_RULE_ALLOW in cellNc()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DBpfNetMapsTest.java60 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/
DBpfNetMapsUtils.java64 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/
DConnectivityManagerTest.java61 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/
DINetd.aidl119 const int FIREWALL_RULE_ALLOW = 1; field
/packages/modules/DnsResolver/tests/
Dresolv_test_utils.h73 INetd::FIREWALL_RULE_ALLOW) in ~ScopeBlockedUIDRule()
/packages/modules/Connectivity/service/src/com/android/server/
DBpfNetMaps.java37 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/
DINetd.aidl148 const int FIREWALL_RULE_ALLOW = 1; field
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/2/android/net/
DINetd.aidl140 const int FIREWALL_RULE_ALLOW = 1; field
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/13/android/net/
DINetd.aidl210 const int FIREWALL_RULE_ALLOW = 1; field
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/7/android/net/
DINetd.aidl186 const int FIREWALL_RULE_ALLOW = 1; field
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/6/android/net/
DINetd.aidl184 const int FIREWALL_RULE_ALLOW = 1; field
/packages/modules/Connectivity/staticlibs/netd/binder/android/net/
DINetd.aidl1046 const int FIREWALL_RULE_ALLOW = 1; field
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/10/android/net/
DINetd.aidl208 const int FIREWALL_RULE_ALLOW = 1; field
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/current/android/net/
DINetd.aidl244 const int FIREWALL_RULE_ALLOW = 1; field
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/8/android/net/
DINetd.aidl186 const int FIREWALL_RULE_ALLOW = 1; field
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/14/android/net/
DINetd.aidl243 const int FIREWALL_RULE_ALLOW = 1; field
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/9/android/net/
DINetd.aidl207 const int FIREWALL_RULE_ALLOW = 1; field
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/4/android/net/
DINetd.aidl151 const int FIREWALL_RULE_ALLOW = 1; field
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/5/android/net/
DINetd.aidl153 const int FIREWALL_RULE_ALLOW = 1; field
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/15/android/net/
DINetd.aidl244 const int FIREWALL_RULE_ALLOW = 1; field
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/11/android/net/
DINetd.aidl208 const int FIREWALL_RULE_ALLOW = 1; field
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/12/android/net/
DINetd.aidl209 const int FIREWALL_RULE_ALLOW = 1; field

12