Home
last modified time | relevance | path

Searched refs:PnoNetwork (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/nl80211/
DPnoNetwork.java34 public final class PnoNetwork implements Parcelable { class
107 public PnoNetwork() { } in PnoNetwork() method in PnoNetwork
113 if (!(rhs instanceof PnoNetwork)) { in equals()
116 PnoNetwork network = (PnoNetwork) rhs; in equals()
149 @NonNull public static final Parcelable.Creator<PnoNetwork> CREATOR =
150 new Parcelable.Creator<PnoNetwork>() {
152 public PnoNetwork createFromParcel(Parcel in) {
153 PnoNetwork result = new PnoNetwork();
167 public PnoNetwork[] newArray(int size) {
168 return new PnoNetwork[size];
DPnoSettings.java41 private List<PnoNetwork> mPnoNetworks;
129 @NonNull public List<PnoNetwork> getPnoNetworks() { in getPnoNetworks()
140 public void setPnoNetworks(@NonNull List<PnoNetwork> pnoNetworks) { in setPnoNetworks()
199 in.readTypedList(result.mPnoNetworks, PnoNetwork.CREATOR);
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DPnoSettingsTest.java49 private PnoNetwork mPnoNetwork1;
50 private PnoNetwork mPnoNetwork2;
54 mPnoNetwork1 = new PnoNetwork(); in setUp()
59 mPnoNetwork2 = new PnoNetwork(); in setUp()
DWifiNl80211ManagerTest.java137 List<PnoNetwork> initPnoNetworks = new ArrayList<>();
138 PnoNetwork network = new PnoNetwork();
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java693 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithOpenNetwork()
697 WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND in testCreatePnoNetworkWithOpenNetwork()
698 | WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND, pnoNetwork.flags); in testCreatePnoNetworkWithOpenNetwork()
699 assertEquals(WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN, pnoNetwork.authBitField); in testCreatePnoNetworkWithOpenNetwork()
710 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithOpenHiddenNetwork()
714 WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND in testCreatePnoNetworkWithOpenHiddenNetwork()
715 | WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND in testCreatePnoNetworkWithOpenHiddenNetwork()
716 | WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN, pnoNetwork.flags); in testCreatePnoNetworkWithOpenHiddenNetwork()
717 assertEquals(WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN, pnoNetwork.authBitField); in testCreatePnoNetworkWithOpenHiddenNetwork()
728 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithPskNetwork()
[all …]
DWifiNativeTest.java160 networkList = new WifiNative.PnoNetwork[2];
161 networkList[0] = new WifiNative.PnoNetwork();
162 networkList[1] = new WifiNative.PnoNetwork();
319 WifiNative.PnoNetwork pnoNet1 = new WifiNative.PnoNetwork(); in testHashCode()
325 WifiNative.PnoNetwork pnoNet2 = new WifiNative.PnoNetwork(); in testHashCode()
DWifiConnectivityManagerTest.java3008 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoList()
3051 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListFrequencies()
3109 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListOrder()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java805 public static WifiScanner.PnoSettings.PnoNetwork createPnoNetwork( in createPnoNetwork()
807 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in createPnoNetwork()
808 new WifiScanner.PnoSettings.PnoNetwork(config.SSID); in createPnoNetwork()
810 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN; in createPnoNetwork()
812 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND; in createPnoNetwork()
813 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND; in createPnoNetwork()
815 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_PSK; in createPnoNetwork()
818 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_EAPOL; in createPnoNetwork()
820 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN; in createPnoNetwork()
DWifiNative.java2696 public static class PnoNetwork {
2709 PnoNetwork other = (PnoNetwork) otherObj;
2720 android.net.wifi.nl80211.PnoNetwork toNativePnoNetwork() {
2721 android.net.wifi.nl80211.PnoNetwork nativePnoNetwork =
2722 new android.net.wifi.nl80211.PnoNetwork();
2724 (flags & WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN) != 0);
2747 public PnoNetwork[] networkList;
2757 List<android.net.wifi.nl80211.PnoNetwork> pnoNetworks = new ArrayList<>();
2759 for (PnoNetwork network : networkList) {
2760 android.net.wifi.nl80211.PnoNetwork nativeNetwork =
DWifiConnectivityManager.java1373 List<PnoSettings.PnoNetwork> pnoNetworkList = retrievePnoNetworkList(); in startDisconnectedPnoScan()
1382 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan()
1417 public List<PnoSettings.PnoNetwork> retrievePnoNetworkList() { in retrievePnoNetworkList()
1427 List<PnoSettings.PnoNetwork> pnoList = new ArrayList<>(); in retrievePnoNetworkList()
1428 Set<WifiScanner.PnoSettings.PnoNetwork> pnoSet = new HashSet<>(); in retrievePnoNetworkList()
1430 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in retrievePnoNetworkList()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiScannerTest.java36 import android.net.wifi.WifiScanner.PnoSettings.PnoNetwork;
173 PnoNetwork pnoNetwork1 = new PnoNetwork(TEST_SSID_1); in canSerializeAndDeserializePnoSettings()
174 PnoNetwork pnoNetwork2 = new PnoNetwork(TEST_SSID_2); in canSerializeAndDeserializePnoSettings()
178 pnoSettings.networkList = new PnoNetwork[]{pnoNetwork1, pnoNetwork2}; in canSerializeAndDeserializePnoSettings()
200 PnoNetwork expected = pnoSettings.networkList[i]; in canSerializeAndDeserializePnoSettings()
201 PnoNetwork actual = pnoSettingsDeserialized.networkList[i]; in canSerializeAndDeserializePnoSettings()
214 PnoNetwork pnoNetwork = new PnoNetwork(TEST_SSID_1); in pnoNetworkFrequencyIsNotNull()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondPnoScannerTest.java168 private WifiNative.PnoNetwork createDummyPnoNetwork(String ssid) { in createDummyPnoNetwork()
169 WifiNative.PnoNetwork pnoNetwork = new WifiNative.PnoNetwork(); in createDummyPnoNetwork()
177 pnoSettings.networkList = new WifiNative.PnoNetwork[2]; in createDummyPnoSettings()
DWifiScanningServiceTest.java2268 new WifiScanner.PnoSettings.PnoNetwork[results.getRawScanResults().length]; in createPnoSettings()
2272 new WifiScanner.PnoSettings.PnoNetwork(scanResult.SSID); in createPnoSettings()
2281 new WifiNative.PnoNetwork[requestPnoSettings.networkList.length]; in createPnoSettings()
2283 nativePnoSettings.networkList[i] = new WifiNative.PnoNetwork(); in createPnoSettings()
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java717 public static class PnoNetwork { class in WifiScanner.PnoSettings
761 public PnoNetwork(String ssid) { in PnoNetwork() method in WifiScanner.PnoSettings.PnoNetwork
775 if (!(obj instanceof PnoNetwork)) { in equals()
778 PnoNetwork lhs = (PnoNetwork) obj; in equals()
794 public PnoNetwork[] networkList;
830 settings.networkList = new PnoNetwork[numNetworks];
833 PnoNetwork network = new PnoNetwork(ssid);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java523 WifiNative.PnoNetwork[] pnoNetworkList, in LastPnoScanSettings()
531 public WifiNative.PnoNetwork[] pnoNetworkList;
DWifiScanningServiceImpl.java2128 new WifiNative.PnoNetwork[pnoSettings.networkList.length]; in convertSettingsToPnoNative()
2130 nativePnoSetting.networkList[i] = new WifiNative.PnoNetwork(); in convertSettingsToPnoNative()
/frameworks/base/non-updatable-api/
Dsystem-current.txt6748 public final class PnoNetwork implements android.os.Parcelable {
6749 ctor public PnoNetwork();
6758 …ull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.PnoNetwork> CREATOR;
6768 method @NonNull public java.util.List<android.net.wifi.nl80211.PnoNetwork> getPnoNetworks();
6773 method public void setPnoNetworks(@NonNull java.util.List<android.net.wifi.nl80211.PnoNetwork>);
/frameworks/base/api/
Dsystem-current.txt7741 public final class PnoNetwork implements android.os.Parcelable {
7742 ctor public PnoNetwork();
7751 …ull public static final android.os.Parcelable.Creator<android.net.wifi.nl80211.PnoNetwork> CREATOR;
7761 method @NonNull public java.util.List<android.net.wifi.nl80211.PnoNetwork> getPnoNetworks();
7766 method public void setPnoNetworks(@NonNull java.util.List<android.net.wifi.nl80211.PnoNetwork>);