Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTestUtils.java302 public TestApfFilter(Context context, ApfConfiguration config, in TestApfFilter()
309 public TestApfFilter(Context context, ApfConfiguration config, in TestApfFilter()
317 public TestApfFilter(Context context, ApfConfiguration config, in TestApfFilter()
324 public TestApfFilter(Context context, ApfConfiguration config, in TestApfFilter()
338 MockIpClientCallback ipClientCallback, ApfConfiguration config, in createTestApfFilter()
423 public TestLegacyApfFilter(Context context, ApfFilter.ApfConfiguration config, in TestLegacyApfFilter()
431 public TestLegacyApfFilter(Context context, ApfFilter.ApfConfiguration config, in TestLegacyApfFilter()
439 public TestLegacyApfFilter(Context context, ApfFilter.ApfConfiguration config, in TestLegacyApfFilter()
447 public TestLegacyApfFilter(Context context, ApfFilter.ApfConfiguration config, in TestLegacyApfFilter()
DLegacyApfTest.java57 import android.net.apf.ApfFilter.ApfConfiguration;
238 private static ApfConfiguration getDefaultConfig() { in getDefaultConfig()
239 ApfFilter.ApfConfiguration config = new ApfConfiguration(); in getDefaultConfig()
318 ApfConfiguration config = getDefaultConfig(); in testApfFilterPcapFile()
497 ApfConfiguration config = getDefaultConfig(); in testApfFilterIPv4()
554 ApfConfiguration config = getDefaultConfig(); in testApfFilterIPv6()
602 ApfConfiguration config = getDefaultConfig(); in testApfFilterMulticast()
694 final ApfConfiguration configuration = getDefaultConfig(); in testShouldHandleLightDozeKillSwitch()
709 final ApfConfiguration configuration = getDefaultConfig(); in doTestApfFilterMulticastPingWhileDozing()
764 ApfConfiguration config = getDefaultConfig(); in testApfFilter802_3()
[all …]
DApfTest.java73 import android.net.apf.ApfFilter.ApfConfiguration;
262 private static ApfConfiguration getDefaultConfig() { in getDefaultConfig()
263 ApfFilter.ApfConfiguration config = new ApfConfiguration(); in getDefaultConfig()
1022 ApfConfiguration config = getDefaultConfig(); in testApfFilterPcapFile()
1201 ApfConfiguration config = getDefaultConfig(); in testApfFilterIPv4()
1258 ApfConfiguration config = getDefaultConfig(); in testApfFilterIPv6()
1672 ApfConfiguration config = getDefaultConfig(); in testApfFilterMulticast()
1764 final ApfConfiguration configuration = getDefaultConfig(); in testShouldHandleLightDozeKillSwitch()
1779 final ApfConfiguration configuration = getDefaultConfig(); in doTestApfFilterMulticastPingWhileDozing()
1834 ApfConfiguration config = getDefaultConfig(); in testApfFilter802_3()
[all …]
DApfNewTest.kt2364 private fun getDefaultConfig(apfVersion: Int = APF_VERSION_6): ApfFilter.ApfConfiguration { in getDefaultConfig()
2365 val config = ApfFilter.ApfConfiguration() in getDefaultConfig()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java71 import android.net.apf.ApfFilter.ApfConfiguration;
801 private ApfConfiguration verifyApfFilterCreatedOnStart(IpClient ipc, boolean isApfSupported) { in verifyApfFilterCreatedOnStart()
813 final ArgumentCaptor<ApfConfiguration> configCaptor = ArgumentCaptor.forClass( in verifyApfFilterCreatedOnStart()
814 ApfConfiguration.class); in verifyApfFilterCreatedOnStart()
824 final ApfConfiguration config = verifyApfFilterCreatedOnStart(ipc, in testApfConfiguration_R()
844 final ApfConfiguration config = verifyApfFilterCreatedOnStart(ipc, in testApfConfiguration()
861 final ApfConfiguration config = verifyApfFilterCreatedOnStart(ipc, in testApfConfiguration_NoApfDrop8023Frames()
873 final ApfConfiguration config = verifyApfFilterCreatedOnStart(ipc, in testApfUpdateCapabilities()
882 final ArgumentCaptor<ApfConfiguration> configCaptor = ArgumentCaptor.forClass( in testApfUpdateCapabilities()
883 ApfConfiguration.class); in testApfUpdateCapabilities()
[all …]
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java182 public static class ApfConfiguration { class in ApfFilter
368 public ApfFilter(Context context, ApfConfiguration config, InterfaceParams ifParams, in ApfFilter()
375 public ApfFilter(Context context, ApfConfiguration config, InterfaceParams ifParams, in ApfFilter()
383 public ApfFilter(Context context, ApfConfiguration config, InterfaceParams ifParams, in ApfFilter()
2508 public static ApfFilter maybeCreate(Context context, ApfConfiguration config, in maybeCreate()
DLegacyApfFilter.java384 public LegacyApfFilter(Context context, ApfFilter.ApfConfiguration config, in LegacyApfFilter()
392 public LegacyApfFilter(Context context, ApfFilter.ApfConfiguration config, in LegacyApfFilter()
2070 public static LegacyApfFilter maybeCreate(Context context, ApfFilter.ApfConfiguration config, in maybeCreate()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java891 ApfFilter.ApfConfiguration config, InterfaceParams ifParams, in maybeCreateApfFilter()
2558 ApfFilter.ApfConfiguration apfConfig = new ApfFilter.ApfConfiguration(); in maybeCreateApfFilter()