Home
last modified time | relevance | path

Searched refs:networkList (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java362 assertNotNull("expected networkList was null", expected.networkList); in assertNativePnoSettingsEquals()
363 assertNotNull("actual networkList was null", actual.networkList); in assertNativePnoSettingsEquals()
364 assertEquals("networkList.length", expected.networkList.length, actual.networkList.length); in assertNativePnoSettingsEquals()
365 for (int i = 0; i < expected.networkList.length; i++) { in assertNativePnoSettingsEquals()
367 expected.networkList[i].ssid, actual.networkList[i].ssid); in assertNativePnoSettingsEquals()
369 expected.networkList[i].networkId, actual.networkList[i].networkId); in assertNativePnoSettingsEquals()
371 expected.networkList[i].priority, actual.networkList[i].priority); in assertNativePnoSettingsEquals()
373 expected.networkList[i].flags, actual.networkList[i].flags); in assertNativePnoSettingsEquals()
375 expected.networkList[i].auth_bit_field, actual.networkList[i].auth_bit_field); in assertNativePnoSettingsEquals()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DSupplicantPnoScannerTest.java249 pnoSettings.networkList = new WifiNative.PnoNetwork[2]; in createDummyPnoSettings()
250 pnoSettings.networkList[0] = new WifiNative.PnoNetwork(); in createDummyPnoSettings()
251 pnoSettings.networkList[0].ssid = "ssid_pno_1"; in createDummyPnoSettings()
252 pnoSettings.networkList[0].networkId = 1; in createDummyPnoSettings()
253 pnoSettings.networkList[0].priority = 1; in createDummyPnoSettings()
254 pnoSettings.networkList[1] = new WifiNative.PnoNetwork(); in createDummyPnoSettings()
255 pnoSettings.networkList[1].ssid = "ssid_pno_2"; in createDummyPnoSettings()
256 pnoSettings.networkList[1].networkId = 2; in createDummyPnoSettings()
257 pnoSettings.networkList[1].priority = 2; in createDummyPnoSettings()
306 for (int i = 0; i < pnoSettings.networkList.length; i++) { in expectSuccessfulHwDisconnectedPnoScan()
[all …]
DWifiScanningServiceTest.java909 requestPnoSettings.networkList = in createPnoSettings()
913 requestPnoSettings.networkList[i++] = in createPnoSettings()
926 nativePnoSettings.networkList = in createPnoSettings()
927 new WifiNative.PnoNetwork[requestPnoSettings.networkList.length]; in createPnoSettings()
928 for (i = 0; i < requestPnoSettings.networkList.length; i++) { in createPnoSettings()
929 nativePnoSettings.networkList[i] = new WifiNative.PnoNetwork(); in createPnoSettings()
930 nativePnoSettings.networkList[i].ssid = requestPnoSettings.networkList[i].ssid; in createPnoSettings()
931 nativePnoSettings.networkList[i].networkId = in createPnoSettings()
932 requestPnoSettings.networkList[i].networkId; in createPnoSettings()
933 nativePnoSettings.networkList[i].priority = requestPnoSettings.networkList[i].priority; in createPnoSettings()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java562 public PnoNetwork[] networkList; field in WifiScanner.PnoSettings
579 if (networkList != null) { in writeToParcel()
580 dest.writeInt(networkList.length); in writeToParcel()
581 for (int i = 0; i < networkList.length; i++) { in writeToParcel()
582 dest.writeString(networkList[i].ssid); in writeToParcel()
583 dest.writeInt(networkList[i].networkId); in writeToParcel()
584 dest.writeInt(networkList[i].priority); in writeToParcel()
585 dest.writeByte(networkList[i].flags); in writeToParcel()
586 dest.writeByte(networkList[i].authBitField); in writeToParcel()
607 settings.networkList = new PnoNetwork[numNetworks];
[all …]
/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java268 List<ScoredNetwork> networkList = networksByType.get(network.networkKey.type); in updateScores() local
269 if (networkList == null) { in updateScores()
270 networkList = new ArrayList<>(); in updateScores()
271 networksByType.put(network.networkKey.type, networkList); in updateScores()
273 networkList.add(network); in updateScores()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java799 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startDisconnectedPnoScan()
800 pnoSettings.networkList = pnoNetworkList.toArray(pnoSettings.networkList); in startDisconnectedPnoScan()
842 pnoSettings.networkList = new PnoSettings.PnoNetwork[listSize]; in startConnectedPnoScan()
843 pnoSettings.networkList = pnoNetworkList.toArray(pnoSettings.networkList); in startConnectedPnoScan()
DWifiNative.java1720 public PnoNetwork[] networkList; field in WifiNative.PnoSettings
2915 settings.networkList = list; in setPnoList()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java1629 nativePnoSetting.networkList = in convertPnoSettingsToNative()
1630 new WifiNative.PnoNetwork[pnoSettings.networkList.length]; in convertPnoSettingsToNative()
1631 for (int i = 0; i < pnoSettings.networkList.length; i++) { in convertPnoSettingsToNative()
1632 nativePnoSetting.networkList[i] = new WifiNative.PnoNetwork(); in convertPnoSettingsToNative()
1633 nativePnoSetting.networkList[i].ssid = pnoSettings.networkList[i].ssid; in convertPnoSettingsToNative()
1634 nativePnoSetting.networkList[i].networkId = pnoSettings.networkList[i].networkId; in convertPnoSettingsToNative()
1635 nativePnoSetting.networkList[i].priority = pnoSettings.networkList[i].priority; in convertPnoSettingsToNative()
1636 nativePnoSetting.networkList[i].flags = pnoSettings.networkList[i].flags; in convertPnoSettingsToNative()
1637 nativePnoSetting.networkList[i].auth_bit_field = in convertPnoSettingsToNative()
1638 pnoSettings.networkList[i].authBitField; in convertPnoSettingsToNative()
[all …]
DSupplicantWifiScannerImpl.java658 private boolean setNetworkPriorities(WifiNative.PnoNetwork[] networkList) { in setNetworkPriorities() argument
659 if (networkList != null) { in setNetworkPriorities()
661 for (WifiNative.PnoNetwork network : networkList) { in setNetworkPriorities()
713 if (!setNetworkPriorities(settings.networkList)) return false; in setHwPnoList()