Searched refs:PENALTY_BOX_USER_MATCH (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Connectivity/DnsResolver/ |
D | DnsBpfHelperTest.cpp | 163 {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()
|
D | DnsBpfHelper.cpp | 75 if (uidRules & (PENALTY_BOX_USER_MATCH | PENALTY_BOX_ADMIN_MATCH)) return true; in isUidNetworkingBlocked()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStackBpfNetMapsTest.kt | 25 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/ |
D | BpfNetMapsConstants.java | 73 public static final long PENALTY_BOX_USER_MATCH = (1 << 1); field in BpfNetMapsConstants 89 Pair.create(PENALTY_BOX_USER_MATCH, "PENALTY_BOX_USER_MATCH"),
|
D | BpfNetMapsUtils.java | 35 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/ |
D | BpfNetMapsTest.java | 36 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/ |
D | netd.h | 193 PENALTY_BOX_USER_MATCH = (1 << 1), enumerator
|
D | netd.c | 658 uint32_t penalty_box = PENALTY_BOX_USER_MATCH | PENALTY_BOX_ADMIN_MATCH;
|