/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiScannerTest.java | 41 import android.net.wifi.WifiScanner.PnoSettings.PnoNetwork; 179 PnoNetwork pnoNetwork1 = new PnoNetwork(TEST_SSID_1); in canSerializeAndDeserializePnoSettings() 180 PnoNetwork pnoNetwork2 = new PnoNetwork(TEST_SSID_2); in canSerializeAndDeserializePnoSettings() 184 pnoSettings.networkList = new PnoNetwork[]{pnoNetwork1, pnoNetwork2}; in canSerializeAndDeserializePnoSettings() 206 PnoNetwork expected = pnoSettings.networkList[i]; in canSerializeAndDeserializePnoSettings() 207 PnoNetwork actual = pnoSettingsDeserialized.networkList[i]; in canSerializeAndDeserializePnoSettings() 220 PnoNetwork pnoNetwork = new PnoNetwork(TEST_SSID_1); in pnoNetworkFrequencyIsNotNull()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationUtilTest.java | 909 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithOpenNetwork() 913 WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND in testCreatePnoNetworkWithOpenNetwork() 914 | WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND, pnoNetwork.flags); in testCreatePnoNetworkWithOpenNetwork() 915 assertEquals(WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN, pnoNetwork.authBitField); in testCreatePnoNetworkWithOpenNetwork() 926 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithOpenHiddenNetwork() 930 WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND in testCreatePnoNetworkWithOpenHiddenNetwork() 931 | WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND in testCreatePnoNetworkWithOpenHiddenNetwork() 932 | WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN, pnoNetwork.flags); in testCreatePnoNetworkWithOpenHiddenNetwork() 933 assertEquals(WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN, pnoNetwork.authBitField); in testCreatePnoNetworkWithOpenHiddenNetwork() 944 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in testCreatePnoNetworkWithPskNetwork() [all …]
|
D | WifiNativeTest.java | 192 networkList = new WifiNative.PnoNetwork[2]; 193 networkList[0] = new WifiNative.PnoNetwork(); 194 networkList[1] = new WifiNative.PnoNetwork(); 428 WifiNative.PnoNetwork pnoNet1 = new WifiNative.PnoNetwork(); in testHashCode() 434 WifiNative.PnoNetwork pnoNet2 = new WifiNative.PnoNetwork(); in testHashCode()
|
D | WifiConnectivityManagerTest.java | 5650 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testExternalPnoScanRequest_gatedBylocationMode() 5689 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testExternalPnoScanRequest_withSavedNetworks() 5758 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoList() 5815 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListFrequencies() 5897 List<WifiScanner.PnoSettings.PnoNetwork> pnoNetworks = in testRetrievePnoListOrder()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WificondPnoScannerTest.java | 170 private WifiNative.PnoNetwork createDummyPnoNetwork(String ssid) { in createDummyPnoNetwork() 171 WifiNative.PnoNetwork pnoNetwork = new WifiNative.PnoNetwork(); in createDummyPnoNetwork() 179 pnoSettings.networkList = new WifiNative.PnoNetwork[2]; in createDummyPnoSettings()
|
D | WifiScanningServiceTest.java | 2425 new WifiScanner.PnoSettings.PnoNetwork[results.getRawScanResults().length]; in createPnoSettings() 2429 new WifiScanner.PnoSettings.PnoNetwork(scanResult.SSID); in createPnoSettings() 2438 new WifiNative.PnoNetwork[requestPnoSettings.networkList.length]; in createPnoSettings() 2440 nativePnoSettings.networkList[i] = new WifiNative.PnoNetwork(); in createPnoSettings()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiConfigurationUtil.java | 993 public static WifiScanner.PnoSettings.PnoNetwork createPnoNetwork( in createPnoNetwork() 995 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in createPnoNetwork() 996 new WifiScanner.PnoSettings.PnoNetwork(config.SSID); in createPnoNetwork() 998 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN; in createPnoNetwork() 1000 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_A_BAND; in createPnoNetwork() 1001 pnoNetwork.flags |= WifiScanner.PnoSettings.PnoNetwork.FLAG_G_BAND; in createPnoNetwork() 1003 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_PSK; in createPnoNetwork() 1005 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_EAPOL; in createPnoNetwork() 1007 pnoNetwork.authBitField |= WifiScanner.PnoSettings.PnoNetwork.AUTH_CODE_OPEN; in createPnoNetwork()
|
D | WifiNative.java | 3515 public static class PnoNetwork { 3528 PnoNetwork other = (PnoNetwork) otherObj; 3539 android.net.wifi.nl80211.PnoNetwork toNativePnoNetwork() { 3540 android.net.wifi.nl80211.PnoNetwork nativePnoNetwork = 3541 new android.net.wifi.nl80211.PnoNetwork(); 3543 (flags & WifiScanner.PnoSettings.PnoNetwork.FLAG_DIRECTED_SCAN) != 0); 3568 public PnoNetwork[] networkList; 3582 List<android.net.wifi.nl80211.PnoNetwork> pnoNetworks = new ArrayList<>(); 3584 for (PnoNetwork network : networkList) { 3585 android.net.wifi.nl80211.PnoNetwork nativeNetwork =
|
D | WifiConnectivityManager.java | 2498 List<PnoSettings.PnoNetwork> pnoNetworkList = retrievePnoNetworkList(); in startDisconnectedPnoScan() 2507 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan() 2616 public List<PnoSettings.PnoNetwork> retrievePnoNetworkList() { in retrievePnoNetworkList() 2633 List<PnoSettings.PnoNetwork> pnoList = new ArrayList<>(); in retrievePnoNetworkList() 2642 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = new PnoSettings.PnoNetwork(ssid); in retrievePnoNetworkList() 2660 WifiScanner.PnoSettings.PnoNetwork pnoNetwork = in retrievePnoNetworkList()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiScanner.java | 1094 public static class PnoNetwork { class in WifiScanner.PnoSettings 1138 public PnoNetwork(String ssid) { in PnoNetwork() method in WifiScanner.PnoSettings.PnoNetwork 1152 if (!(obj instanceof PnoNetwork)) { in equals() 1155 PnoNetwork lhs = (PnoNetwork) obj; in equals() 1175 public PnoNetwork[] networkList; 1215 settings.networkList = new PnoNetwork[numNetworks]; 1218 PnoNetwork network = new PnoNetwork(ssid);
|
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/ |
D | WificondScannerImpl.java | 563 WifiNative.PnoNetwork[] pnoNetworkList, in LastPnoScanSettings() 571 public WifiNative.PnoNetwork[] pnoNetworkList;
|
D | WifiScanningServiceImpl.java | 2927 new WifiNative.PnoNetwork[pnoSettings.networkList.length]; in convertToWifiNativePnoSettings() 2929 nativePnoSetting.networkList[i] = new WifiNative.PnoNetwork(); in convertToWifiNativePnoSettings()
|
/packages/modules/Wifi/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 1944 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;-><init>(Ljava/lang/String;)V 1945 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->authBitField:B 1946 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->AUTH_CODE_EAPOL:B 1947 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->AUTH_CODE_OPEN:B 1948 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->AUTH_CODE_PSK:B 1949 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->flags:B 1950 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->FLAG_A_BAND:B 1951 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->FLAG_DIRECTED_SCAN:B 1952 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->FLAG_G_BAND:B 1953 Landroid/net/wifi/WifiScanner$PnoSettings$PnoNetwork;->FLAG_SAME_NETWORK:B [all …]
|