Home
last modified time | relevance | path

Searched refs:PENALTY_BOX_USER_MATCH (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/DnsResolver/
DDnsBpfHelperTest.cpp163 {NO_MATCH, false, PENALTY_BOX_USER_MATCH, true}, in TEST_F()
165 {NO_MATCH, false, PENALTY_BOX_USER_MATCH|PENALTY_BOX_ADMIN_MATCH, true}, in TEST_F()
167 {NO_MATCH, false, PENALTY_BOX_USER_MATCH|HAPPY_BOX_MATCH, true}, in TEST_F()
170 {NO_MATCH, true, PENALTY_BOX_USER_MATCH, true}, in TEST_F()
172 {NO_MATCH, true, PENALTY_BOX_USER_MATCH|PENALTY_BOX_ADMIN_MATCH, true}, in TEST_F()
174 {NO_MATCH, true, PENALTY_BOX_USER_MATCH|HAPPY_BOX_MATCH, true}, in TEST_F()
177 {STANDBY_MATCH, false, STANDBY_MATCH|PENALTY_BOX_USER_MATCH, true}, in TEST_F()
180 {STANDBY_MATCH, false, STANDBY_MATCH|PENALTY_BOX_USER_MATCH|HAPPY_BOX_MATCH, true}, in TEST_F()
183 {STANDBY_MATCH, true, STANDBY_MATCH|PENALTY_BOX_USER_MATCH, true}, in TEST_F()
186 {STANDBY_MATCH, true, STANDBY_MATCH|PENALTY_BOX_USER_MATCH|HAPPY_BOX_MATCH, true}, in TEST_F()
DDnsBpfHelper.cpp75 if (uidRules & (PENALTY_BOX_USER_MATCH | PENALTY_BOX_ADMIN_MATCH)) return true; in isUidNetworkingBlocked()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStackBpfNetMapsTest.kt25 import android.net.BpfNetMapsConstants.PENALTY_BOX_USER_MATCH
198 testUidOwnerMap.updateEntry(S32(TEST_UID1), UidOwnerValue(NO_IIF, PENALTY_BOX_USER_MATCH)) in testIsUidNetworkingBlockedByDataSaver()
206 UidOwnerValue(NO_IIF, PENALTY_BOX_USER_MATCH or PENALTY_BOX_ADMIN_MATCH) in testIsUidNetworkingBlockedByDataSaver()
223 UidOwnerValue(NO_IIF, PENALTY_BOX_USER_MATCH or HAPPY_BOX_MATCH) in testIsUidNetworkingBlockedByDataSaver()
264 testUidOwnerMap.updateEntry(S32(uid), UidOwnerValue(NO_IIF, PENALTY_BOX_USER_MATCH)) in testIsUidNetworkingBlocked_SystemUid()
/packages/modules/Connectivity/framework/src/android/net/
DBpfNetMapsConstants.java73 public static final long PENALTY_BOX_USER_MATCH = (1 << 1); field in BpfNetMapsConstants
89 Pair.create(PENALTY_BOX_USER_MATCH, "PENALTY_BOX_USER_MATCH"),
DBpfNetMapsUtils.java35 import static android.net.BpfNetMapsConstants.PENALTY_BOX_USER_MATCH;
147 return PENALTY_BOX_USER_MATCH; in getMatchByFirewallChain()
301 if ((uidMatch & PENALTY_BOX_USER_MATCH) != 0) { in getUidNetworkingBlockedReasons()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DBpfNetMapsTest.java36 import static android.net.BpfNetMapsConstants.PENALTY_BOX_USER_MATCH;
975 doTestDumpUidOwnerMap(PENALTY_BOX_USER_MATCH, "PENALTY_BOX_USER_MATCH"); in testDumpUidOwnerMap()
1230 PENALTY_BOX_USER_MATCH, in testGetUidNetworkingBlockedReasons()
1242 PENALTY_BOX_USER_MATCH | PENALTY_BOX_ADMIN_MATCH | HAPPY_BOX_MATCH, in testGetUidNetworkingBlockedReasons()
1248 STANDBY_MATCH | PENALTY_BOX_USER_MATCH | HAPPY_BOX_MATCH, in testGetUidNetworkingBlockedReasons()
1310 PENALTY_BOX_USER_MATCH, in testIsUidRestrictedOnMeteredNetworks()
1322 PENALTY_BOX_USER_MATCH | PENALTY_BOX_ADMIN_MATCH | HAPPY_BOX_MATCH, in testIsUidRestrictedOnMeteredNetworks()
/packages/modules/Connectivity/bpf_progs/
Dnetd.h193 PENALTY_BOX_USER_MATCH = (1 << 1), enumerator
Dnetd.c658 uint32_t penalty_box = PENALTY_BOX_USER_MATCH | PENALTY_BOX_ADMIN_MATCH;