/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfTestUtils.java | 61 public static final int DROP = 0; field in ApfTestUtils 73 case DROP: in label() 135 assertVerdict(apfVersion, DROP, program, packet, filterAge); in assertDrop() 142 assertVerdict(apfVersion, DROP, program, packet); in assertDrop() 222 assertVerdict(apfVersion, DROP, gen, packet, filterAge); in assertDrop() 238 assertVerdict(apfVersion, DROP, gen, new byte[MIN_PKT_SIZE], 0); in assertDrop()
|
D | ApfStandaloneTest.kt | 81 ApfTestUtils.DROP, in runApfTest() 142 ApfTestUtils.DROP, in runApfTest() 178 ApfTestUtils.assertVerdict(APF_VERSION_4, ApfTestUtils.DROP, program, rsPkt, dataRegion) in runApfTest() 220 ApfTestUtils.DROP, in runApfTest()
|
D | ApfNewTest.kt | 43 import android.net.apf.ApfTestUtils.DROP 1435 assertVerdict(APF_VERSION_6, DROP, program, testPacket, dataRegion) in testV2CountAndPassDrop() 1589 verifyProgramRun(APF_VERSION_6, program, badUdpPayload, CORRUPT_DNS_PACKET, result = DROP) in testDnsQuestionMatch() 1682 verifyProgramRun(APF_VERSION_6, program, badUdpPayload, CORRUPT_DNS_PACKET, result = DROP) in testDnsAnswerMatch() 2314 result: Int = if (targetCnt.name.startsWith("PASSED")) PASS else DROP
|
D | ApfTest.java | 29 import static android.net.apf.ApfTestUtils.DROP; 912 assertDataMemoryContents(DROP, program, packet, data, expected_data); in testApfDataRead() 953 assertDataMemoryContents(DROP, gen.generate(), packet, data, expected_data); in testApfDataBoundChecking() 974 assertDataMemoryContents(DROP, gen.generate(), packet, data, expected_data); in testApfDataBoundChecking() 981 assertDataMemoryContents(DROP, gen.generate(), packet, data, expected_data); in testApfDataBoundChecking() 1594 DROP, programWithJustEnoughOverhead, pkt, 0); in doTestDnsParsingNecessaryOverhead() 1973 verifyArpFilter(getProgram(ipClientCallback, apfFilter, lp), DROP); in testApfFilterArp() local 3235 assertDataMemoryContentsIgnoreVersion(DROP, program, mcastv4packet.array(), data, in testApfSessionInfoMetrics()
|
D | LegacyApfTest.java | 20 import static android.net.apf.ApfTestUtils.DROP; 903 verifyArpFilter(getProgram(ipClientCallback, apfFilter, lp), DROP); in testApfFilterArp() local 1868 assertDataMemoryContentsIgnoreVersion(DROP, program, mcastv4packet.array(), data, in testApfSessionInfoMetrics_LegacyApfFilter()
|
/packages/modules/Connectivity/bpf_progs/ |
D | netd.c | 37 static const int DROP = 0; variable 425 if (isBlockedByUidRules(enabledRules, uidRules)) return DROP; in bpf_owner_match() 428 if (ingress_should_discard(skb, kver)) return DROP; in bpf_owner_match() 498 if (match == DROP_UNLESS_DNS) match = DROP; in bpf_traffic_account() 502 if (egress.egress && (match == DROP)) return DROP; in bpf_traffic_account()
|
/packages/modules/Bluetooth/system/stack/arbiter/ |
D | acl_arbiter.h | 37 DROP enumerator
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.h | 135 DROP // DNS server not supporting EDNS will not do any response. enumerator
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 3074 case Edns::DROP: in TEST_F() 3101 {OFF, GETHOSTBYNAME, Edns::DROP, EXPECT_SUCCESS}, in TEST_F() 3102 {OPPORTUNISTIC_UDP, GETHOSTBYNAME, Edns::DROP, EXPECT_SUCCESS}, in TEST_F() 3105 {OPPORTUNISTIC_FALLBACK_UDP, GETHOSTBYNAME, Edns::DROP, EXPECT_FAILURE}, in TEST_F() 3119 {OFF, GETADDRINFO, Edns::DROP, EXPECT_SUCCESS}, in TEST_F() 3120 {OPPORTUNISTIC_UDP, GETADDRINFO, Edns::DROP, EXPECT_SUCCESS}, in TEST_F() 3123 {OPPORTUNISTIC_FALLBACK_UDP, GETADDRINFO, Edns::DROP, EXPECT_FAILURE}, in TEST_F() 3190 int returnCode = (config.edns == Edns::DROP) ? RCODE_TIMEOUT : EAI_FAIL; in TEST_F() 3206 int returnCode = (config.edns == Edns::DROP) ? RCODE_TIMEOUT : EAI_FAIL; in TEST_F()
|
/packages/modules/Bluetooth/system/stack/gatt/ |
D | gatt_main.cc | 750 if (decision == bluetooth::shim::arbiter::InterceptAction::DROP) { in gatt_le_data_ind()
|