Searched refs:apfCapabilities (Results 1 – 2 of 2) sorted by relevance
169 ApfFilter(ApfCapabilities apfCapabilities, NetworkInterface networkInterface, in ApfFilter() argument171 mApfCapabilities = apfCapabilities; in ApfFilter()876 public static ApfFilter maybeCreate(ApfCapabilities apfCapabilities, in maybeCreate() argument879 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 …]
309 public Builder withApfCapabilities(ApfCapabilities apfCapabilities) { in withApfCapabilities() argument310 mConfig.mApfCapabilities = apfCapabilities; in withApfCapabilities()