Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/apf/
DApfTest.java605 private static class TestApfFilter extends ApfFilter { class in ApfTest
611 public TestApfFilter(IpManager.Callback ipManagerCallback, boolean multicastFilter, in TestApfFilter() method in ApfTest.TestApfFilter
743 ApfFilter apfFilter = new TestApfFilter(ipManagerCallback, DROP_MULTICAST, mLog); in testApfFilterIPv4()
753 put(packet, ETH_DEST_ADDR_OFFSET, TestApfFilter.MOCK_MAC_ADDR); in testApfFilterIPv4()
781 put(packet, DHCP_CLIENT_MAC_OFFSET, TestApfFilter.MOCK_MAC_ADDR); in testApfFilterIPv4()
785 put(packet, ETH_DEST_ADDR_OFFSET, TestApfFilter.MOCK_MAC_ADDR); in testApfFilterIPv4()
794 ApfFilter apfFilter = new TestApfFilter(ipManagerCallback, ALLOW_MULTICAST, mLog); in testApfFilterIPv6()
835 ApfFilter apfFilter = new TestApfFilter(ipManagerCallback, ALLOW_MULTICAST, mLog); in testApfFilterMulticast()
863 bcastv4unicastl2packet.put(TestApfFilter.MOCK_MAC_ADDR); in testApfFilterMulticast()
897 apfFilter = new TestApfFilter(ipManagerCallback, DROP_MULTICAST, mLog); in testApfFilterMulticast()
[all …]