Home
last modified time | relevance | path

Searched refs:ApfCapabilities (Results 1 – 25 of 25) sorted by relevance

/packages/modules/Connectivity/tests/common/java/android/net/apf/
DApfCapabilitiesTest.java60 final ApfCapabilities caps = new ApfCapabilities(123, 456, 789); in testConstructAndParcel()
70 assertEquals(new ApfCapabilities(1, 2, 3), new ApfCapabilities(1, 2, 3)); in testEquals()
71 assertNotEquals(new ApfCapabilities(2, 2, 3), new ApfCapabilities(1, 2, 3)); in testEquals()
72 assertNotEquals(new ApfCapabilities(1, 3, 3), new ApfCapabilities(1, 2, 3)); in testEquals()
73 assertNotEquals(new ApfCapabilities(1, 2, 4), new ApfCapabilities(1, 2, 3)); in testEquals()
79 ApfCapabilities caps = new ApfCapabilities(1 /* apfVersionSupported */, 2, 3); in testHasDataAccess()
82 caps = new ApfCapabilities(4 /* apfVersionSupported */, 5, 6); in testHasDataAccess()
93 final boolean actual = ApfCapabilities.getApfDrop8023Frames(); in testGetApfDrop8023Frames()
105 ApfCapabilities.getApfDrop8023Frames()); in testGetApfDrop8023Frames_S()
115 final int[] actual = ApfCapabilities.getApfEtherTypeBlackList(); in testGetApfEtherTypeBlackList()
[all …]
/packages/modules/Connectivity/framework/src/android/net/apf/
DApfCapabilities.java38 public final class ApfCapabilities implements Parcelable { class
57 public ApfCapabilities( in ApfCapabilities() method in ApfCapabilities
64 private ApfCapabilities(Parcel in) { in ApfCapabilities() method in ApfCapabilities
91 public static final Creator<ApfCapabilities> CREATOR = new Creator<ApfCapabilities>() {
93 public ApfCapabilities createFromParcel(Parcel in) {
94 return new ApfCapabilities(in);
98 public ApfCapabilities[] newArray(int size) {
99 return new ApfCapabilities[size];
112 if (!(obj instanceof ApfCapabilities)) return false; in equals()
113 final ApfCapabilities other = (ApfCapabilities) obj; in equals()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/
DProvisioningConfigurationParcelable.aidl25 import android.net.apf.ApfCapabilities;
39 ApfCapabilities apfCapabilities;
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/
DProvisioningConfigurationTest.java32 import android.net.apf.ApfCapabilities;
94 mConfig.mApfCapabilities = new ApfCapabilities(1, 2, 3); in setUp()
177 assertNotEqualsAfterChange(c -> c.mApfCapabilities = new ApfCapabilities(4, 5, 6)); in testEquals()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/
DProvisioningConfiguration.java29 import android.net.apf.ApfCapabilities;
172 public Builder withApfCapabilities(ApfCapabilities apfCapabilities) { in withApfCapabilities()
444 public ApfCapabilities mApfCapabilities;
/packages/modules/Connectivity/framework/aidl-export/android/net/apf/
DApfCapabilities.aidl20 @JavaOnlyStableParcelable parcelable ApfCapabilities;
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java53 import android.net.apf.ApfCapabilities;
653 .withApfCapabilities(new ApfCapabilities( in verifyApfFilterCreatedOnStart()
671 assertEquals(ApfCapabilities.getApfDrop8023Frames(), config.ieee802_3Filter); in testApfConfiguration_R()
672 assertArrayEquals(ApfCapabilities.getApfEtherTypeBlackList(), config.ethTypeBlackList); in testApfConfiguration_R()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/
DProvisioningConfigurationParcelable.aidl10 android.net.apf.ApfCapabilities apfCapabilities;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/
DProvisioningConfigurationParcelable.aidl10 android.net.apf.ApfCapabilities apfCapabilities;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/
DProvisioningConfigurationParcelable.aidl27 android.net.apf.ApfCapabilities apfCapabilities;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/
DProvisioningConfigurationParcelable.aidl10 android.net.apf.ApfCapabilities apfCapabilities;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/
DProvisioningConfigurationParcelable.aidl27 android.net.apf.ApfCapabilities apfCapabilities;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/
DProvisioningConfigurationParcelable.aidl27 android.net.apf.ApfCapabilities apfCapabilities;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/
DProvisioningConfigurationParcelable.aidl27 android.net.apf.ApfCapabilities apfCapabilities;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/8/android/net/
DProvisioningConfigurationParcelable.aidl27 android.net.apf.ApfCapabilities apfCapabilities;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/9/android/net/
DProvisioningConfigurationParcelable.aidl28 android.net.apf.ApfCapabilities apfCapabilities;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/
DProvisioningConfigurationParcelable.aidl29 android.net.apf.ApfCapabilities apfCapabilities;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/10/android/net/
DProvisioningConfigurationParcelable.aidl29 android.net.apf.ApfCapabilities apfCapabilities;
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java56 import android.net.apf.ApfCapabilities;
1062 final ApfCapabilities apfCapabilities = (provisioningConfig != null) in dump()
2216 apfConfig.ieee802_3Filter = ApfCapabilities.getApfDrop8023Frames(); in enter()
2217 apfConfig.ethTypeBlackList = ApfCapabilities.getApfEtherTypeBlackList(); in enter()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiVendorHal.java62 import android.net.apf.ApfCapabilities;
1879 public ApfCapabilities getApfCapabilities(@NonNull String ifaceName) { in getApfCapabilities()
1881 public ApfCapabilities value = sNoApfCapabilities; in getApfCapabilities()
1890 box.value = new ApfCapabilities( in getApfCapabilities()
1903 private static final ApfCapabilities sNoApfCapabilities = new ApfCapabilities(0, 0, 0);
DWifiNative.java26 import android.net.apf.ApfCapabilities;
3371 public ApfCapabilities getApfCapabilities(@NonNull String ifaceName) {
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java107 public ApfCapabilities apfCapabilities;
345 private final ApfCapabilities mApfCapabilities;
1792 ApfCapabilities apfCapabilities = config.apfCapabilities; in maybeCreate()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java127 private static final ApfCapabilities MOCK_APF_CAPABILITIES =
128 new ApfCapabilities(2, 4096, ARPHRD_ETHER);
918 ApfCapabilities MOCK_APF_PCAP_CAPABILITIES = new ApfCapabilities(4, 1700, ARPHRD_ETHER); in testApfFilterPcapFile()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt491 public final class ApfCapabilities implements android.os.Parcelable {
492 ctor public ApfCapabilities(int, int, int);
498 … field public static final android.os.Parcelable.Creator<android.net.apf.ApfCapabilities> CREATOR;
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java97 import android.net.apf.ApfCapabilities;
1831 ApfCapabilities actual = mWifiVendorHal.getApfCapabilities(TEST_IFACE_NAME); in testApfCapabilities()