Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/apf/
DApfFilter.java169 ApfFilter(ApfCapabilities apfCapabilities, NetworkInterface networkInterface, in ApfFilter() argument
171 mApfCapabilities = apfCapabilities; in ApfFilter()
876 public static ApfFilter maybeCreate(ApfCapabilities apfCapabilities, in maybeCreate() argument
879 if (apfCapabilities == null || networkInterface == null) return null; in maybeCreate()
880 if (apfCapabilities.apfVersionSupported == 0) return null; in maybeCreate()
881 if (apfCapabilities.maximumApfProgramSize < 512) { in maybeCreate()
882 Log.e(TAG, "Unacceptably small APF limit: " + apfCapabilities.maximumApfProgramSize); in maybeCreate()
889 if (apfCapabilities.apfPacketFormat != ARPHRD_ETHER) return null; in maybeCreate()
890 if (!new ApfGenerator().setApfVersion(apfCapabilities.apfVersionSupported)) { in maybeCreate()
891 Log.e(TAG, "Unsupported APF version: " + apfCapabilities.apfVersionSupported); in maybeCreate()
[all …]
/frameworks/base/services/net/java/android/net/ip/
DIpManager.java309 public Builder withApfCapabilities(ApfCapabilities apfCapabilities) { in withApfCapabilities() argument
310 mConfig.mApfCapabilities = apfCapabilities; in withApfCapabilities()