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.java242 ApfFilter(ApfCapabilities apfCapabilities, NetworkInterface networkInterface, in ApfFilter() argument
244 mApfCapabilities = apfCapabilities; in ApfFilter()
1074 public static ApfFilter maybeCreate(ApfCapabilities apfCapabilities, in maybeCreate() argument
1077 if (apfCapabilities == null || networkInterface == null) return null; in maybeCreate()
1078 if (apfCapabilities.apfVersionSupported == 0) return null; in maybeCreate()
1079 if (apfCapabilities.maximumApfProgramSize < 512) { in maybeCreate()
1080 Log.e(TAG, "Unacceptably small APF limit: " + apfCapabilities.maximumApfProgramSize); in maybeCreate()
1087 if (apfCapabilities.apfPacketFormat != ARPHRD_ETHER) return null; in maybeCreate()
1088 if (!new ApfGenerator().setApfVersion(apfCapabilities.apfVersionSupported)) { in maybeCreate()
1089 Log.e(TAG, "Unsupported APF version: " + apfCapabilities.apfVersionSupported); in maybeCreate()
[all …]
/frameworks/base/services/net/java/android/net/ip/
DIpManager.java312 public Builder withApfCapabilities(ApfCapabilities apfCapabilities) { in withApfCapabilities() argument
313 mConfig.mApfCapabilities = apfCapabilities; in withApfCapabilities()
617 final ApfCapabilities apfCapabilities = (provisioningConfig != null) in dump() local
629 } else if (apfCapabilities == null || apfCapabilities.apfVersionSupported == 0) { in dump()
632 pw.println("ApfFilter not yet started, APF capabilities: " + apfCapabilities); in dump()