Home
last modified time | relevance | path

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

/packages/modules/Connectivity/DnsResolver/
DDnsBpfHelperTest.cpp86 {AID_APP_START, NO_MATCH, STANDBY_MATCH, false}, in TEST_F()
87 {AID_APP_START, STANDBY_MATCH, NO_MATCH, false}, in TEST_F()
88 {AID_APP_START, STANDBY_MATCH, STANDBY_MATCH, true}, in TEST_F()
97 {AID_APP_START, DOZABLE_MATCH|STANDBY_MATCH, DOZABLE_MATCH, false}, in TEST_F()
99 {AID_APP_START, DOZABLE_MATCH|STANDBY_MATCH, NO_MATCH, true}, in TEST_F()
107 {AID_SYSTEM, NO_MATCH, STANDBY_MATCH, false}, in TEST_F()
108 {AID_SYSTEM, STANDBY_MATCH, NO_MATCH, false}, in TEST_F()
109 {AID_SYSTEM, STANDBY_MATCH, STANDBY_MATCH, false}, in TEST_F()
113 {AID_SYSTEM, DOZABLE_MATCH|STANDBY_MATCH, DOZABLE_MATCH, false}, in TEST_F()
114 {AID_SYSTEM, DOZABLE_MATCH|STANDBY_MATCH, NO_MATCH, false}, in TEST_F()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DBpfNetMapsConstants.java75 public static final long STANDBY_MATCH = (1 << 3); field in BpfNetMapsConstants
91 Pair.create(STANDBY_MATCH, "STANDBY_MATCH"),
DBpfNetMapsUtils.java38 import static android.net.BpfNetMapsConstants.STANDBY_MATCH;
129 return STANDBY_MATCH; in getMatchByFirewallChain()
284 if ((blockingMatches & STANDBY_MATCH) != 0) { in getUidNetworkingBlockedReasons()
/packages/modules/Connectivity/bpf_progs/
Dnetd.h195 STANDBY_MATCH = (1 << 3), enumerator
256 #define DROP_IF_SET (STANDBY_MATCH | OEM_DENY_1_MATCH | OEM_DENY_2_MATCH | OEM_DENY_3_MATCH)
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DBpfNetMapsTest.java39 import static android.net.BpfNetMapsConstants.STANDBY_MATCH;
977 doTestDumpUidOwnerMap(STANDBY_MATCH, "STANDBY_MATCH"); in testDumpUidOwnerMap()
1035 doTestDumpOwnerMatchConfig(STANDBY_MATCH, "STANDBY_MATCH"); in testDumpUidOwnerMapConfig()
1087 final long match1 = DOZABLE_MATCH | STANDBY_MATCH; in testGetUids()
1209 DOZABLE_MATCH | POWERSAVE_MATCH | STANDBY_MATCH, in testGetUidNetworkingBlockedReasons()
1210 DOZABLE_MATCH | STANDBY_MATCH, in testGetUidNetworkingBlockedReasons()
1222 DOZABLE_MATCH | BACKGROUND_MATCH | STANDBY_MATCH, in testGetUidNetworkingBlockedReasons()
1247 STANDBY_MATCH, in testGetUidNetworkingBlockedReasons()
1248 STANDBY_MATCH | PENALTY_BOX_USER_MATCH | HAPPY_BOX_MATCH, in testGetUidNetworkingBlockedReasons()
1303 DOZABLE_MATCH | POWERSAVE_MATCH | STANDBY_MATCH, in testIsUidRestrictedOnMeteredNetworks()
[all …]
/packages/modules/Connectivity/tests/native/utilities/
Dfirewall.cpp51 BpfConfig newConfiguration = enable ? (oldConfiguration.value() | STANDBY_MATCH) in toggleStandbyMatch()
52 : (oldConfiguration.value() & (~STANDBY_MATCH)); in toggleStandbyMatch()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStackBpfNetMapsTest.kt26 import android.net.BpfNetMapsConstants.STANDBY_MATCH
172 testUidOwnerMap.updateEntry(S32(TEST_UID1), UidOwnerValue(NO_IIF, STANDBY_MATCH)) in testIsUidNetworkingBlockedByFirewallChains_denyChain()
/packages/modules/DnsResolver/tests/
Dresolv_test_utils.h54 EXPECT_RESULT_OK(mFw->addRule(mTestUid, STANDBY_MATCH)); in ScopeBlockedUIDRule()
69 EXPECT_RESULT_OK(mFw->removeRule(mTestUid, STANDBY_MATCH)); in ~ScopeBlockedUIDRule()