Searched refs:apfVersionSupported (Results 1 – 10 of 10) sorted by relevance
/packages/modules/Connectivity/framework/src/android/net/apf/ |
D | ApfCapabilities.java | 42 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/ |
D | ApfIntegrationTest.kt | 322 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/ |
D | AndroidPacketFilter.java | 108 return capabilities.apfVersionSupported > 2; in hasDataAccess()
|
D | ApfFilter.java | 2209 && 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()
|
D | LegacyApfFilter.java | 1731 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/ |
D | ApfCapabilitiesTest.java | 62 assertEquals(123, caps.apfVersionSupported); in testConstructAndParcel()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClient.java | 1409 } 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/ |
D | WifiVendorHalTest.java | 760 .apfVersionSupported); in testApfCapabilities() 766 assertEquals(myVersion, actual.apfVersionSupported); in testApfCapabilities()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 889 assertEquals(expectedApfVersion, actual.apfCapabilities.apfVersionSupported); in testApfUpdateCapabilities()
|
/packages/modules/Connectivity/framework/api/ |
D | system-current.txt | 539 field public final int apfVersionSupported;
|