Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework/src/android/net/apf/
DApfCapabilities.java42 public final int apfVersionSupported; field in ApfCapabilities
55 int apfVersionSupported, int maximumApfProgramSize, int apfPacketFormat) { in ApfCapabilities() argument
56 this.apfVersionSupported = apfVersionSupported; in ApfCapabilities()
62 apfVersionSupported = in.readInt(); in ApfCapabilities()
74 dest.writeInt(apfVersionSupported); in writeToParcel()
95 apfVersionSupported, maximumApfProgramSize, apfPacketFormat); in toString()
102 return apfVersionSupported == other.apfVersionSupported in equals()
111 return Objects.hash(apfVersionSupported, maximumApfProgramSize, apfPacketFormat); in hashCode()
122 return apfVersionSupported > 2; in hasDataAccess()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DApfIntegrationTest.kt322 assertThat(caps.apfVersionSupported).isAtLeast(4) in testApfCapabilities()
325 if (caps.apfVersionSupported > 4) { in testApfCapabilities()
327 assertThat(caps.apfVersionSupported).isEqualTo(6000) // v6.0000 in testApfCapabilities()
341 assume().that(caps.apfVersionSupported).isAtLeast(version) in assumeApfVersionSupportAtLeast()
/packages/modules/NetworkStack/src/android/net/apf/
DAndroidPacketFilter.java108 return capabilities.apfVersionSupported > 2; in hasDataAccess()
DApfFilter.java2209 && ApfV6Generator.supportsVersion(mApfCapabilities.apfVersionSupported)) { in emitPrologueLocked()
2212 gen = new ApfV4Generator(mApfCapabilities.apfVersionSupported); in emitPrologueLocked()
2514 if (apfCapabilities.apfVersionSupported < 2) return null; in maybeCreate()
2522 if (!ApfV4Generator.supportsVersion(apfCapabilities.apfVersionSupported)) { in maybeCreate()
2523 Log.e(TAG, "Unsupported APF version: " + apfCapabilities.apfVersionSupported); in maybeCreate()
2546 mApfSessionInfoMetrics.setVersion(mApfCapabilities.apfVersionSupported); in collectAndSendMetrics()
DLegacyApfFilter.java1731 ApfV4Generator gen = new ApfV4Generator(mApfCapabilities.apfVersionSupported); in emitPrologueLocked()
2076 if (apfCapabilities.apfVersionSupported == 0) return null; in maybeCreate()
2086 if (!ApfV4Generator.supportsVersion(apfCapabilities.apfVersionSupported)) { in maybeCreate()
2087 Log.e(TAG, "Unsupported APF version: " + apfCapabilities.apfVersionSupported); in maybeCreate()
2111 mApfSessionInfoMetrics.setVersion(mApfCapabilities.apfVersionSupported); in collectAndSendMetrics()
/packages/modules/Connectivity/tests/common/java/android/net/apf/
DApfCapabilitiesTest.java62 assertEquals(123, caps.apfVersionSupported); in testConstructAndParcel()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java1409 } else if (apfCapabilities == null || apfCapabilities.apfVersionSupported == 0) { in dump()
1504 joiner.add(Integer.toString(mCurrentApfCapabilities.apfVersionSupported)); in apfShellCommand()
2564 int apfVersionSupported = apfCaps.hasDataAccess() ? 3 : 2; in maybeCreateApfFilter() local
2565 apfConfig.apfCapabilities = new ApfCapabilities(apfVersionSupported, in maybeCreateApfFilter()
2569 && apfConfig.apfCapabilities.apfVersionSupported <= 4) { in maybeCreateApfFilter()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java760 .apfVersionSupported); in testApfCapabilities()
766 assertEquals(myVersion, actual.apfVersionSupported); in testApfCapabilities()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java889 assertEquals(expectedApfVersion, actual.apfCapabilities.apfVersionSupported); in testApfUpdateCapabilities()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt539 field public final int apfVersionSupported;