Home
last modified time | relevance | path

Searched refs:availableNetworks (Results 1 – 5 of 5) sorted by relevance

/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSProfileSelector.java338 public boolean hasOpprotunisticSub(List<AvailableNetworkInfo> availableNetworks) { in hasOpprotunisticSub() argument
339 if ((availableNetworks == null) || (availableNetworks.size() == 0)) { in hasOpprotunisticSub()
346 for (AvailableNetworkInfo availableNetworkInfo : availableNetworks) { in hasOpprotunisticSub()
465 ArrayList<AvailableNetworkInfo> availableNetworks, in getFilteredAvailableNetworks() argument
473 Collections.sort(availableNetworks, new SortAvailableNetworks()); in getFilteredAvailableNetworks()
479 while (availableNetworksIndex < availableNetworks.size() in getFilteredAvailableNetworks()
482 availableNetwork = availableNetworks.get(availableNetworksIndex); in getFilteredAvailableNetworks()
518 ArrayList<AvailableNetworkInfo> availableNetworks = in checkProfileUpdate() local
544 if (isSame(availableNetworks, mAvailableNetworkInfos)) { in checkProfileUpdate()
557 mAvailableNetworkInfos = availableNetworks; in checkProfileUpdate()
[all …]
DOpportunisticNetworkService.java379 public void updateAvailableNetworks(List<AvailableNetworkInfo> availableNetworks,
381 logDebug("updateAvailableNetworks: " + availableNetworks);
389 (ArrayList<AvailableNetworkInfo>) availableNetworks, callbackStub);
399 (ArrayList<AvailableNetworkInfo>) availableNetworks, callbackStub,
565 ArrayList<AvailableNetworkInfo> availableNetworks, in handleCarrierAppAvailableNetworks() argument
567 if ((availableNetworks != null) && (availableNetworks.size() > 0)) { in handleCarrierAppAvailableNetworks()
569 if (availableNetworks.size() > 1) { in handleCarrierAppAvailableNetworks()
582 if (!mProfileSelector.hasOpprotunisticSub(availableNetworks)) { in handleCarrierAppAvailableNetworks()
595 for (AvailableNetworkInfo availableNetworkInfo : availableNetworks) { in handleCarrierAppAvailableNetworks()
621 ONSConfigInput onsConfigInput = new ONSConfigInput(availableNetworks, callbackStub); in handleCarrierAppAvailableNetworks()
[all …]
DONSNetworkScanCtlr.java298 NetworkScanRequest createNetworkScanRequest(ArrayList<AvailableNetworkInfo> availableNetworks, in createNetworkScanRequest() argument
308 for (AvailableNetworkInfo availableNetwork : availableNetworks) { in createNetworkScanRequest()
375 public boolean startFastNetworkScan(ArrayList<AvailableNetworkInfo> availableNetworks) { in startFastNetworkScan() argument
376 NetworkScanRequest networkScanRequest = createNetworkScanRequest(availableNetworks, in startFastNetworkScan()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiLastResortWatchdog.java242 List<Pair<ScanDetail, WifiConfiguration>> availableNetworks) { in updateAvailableNetworks() argument
244 if (availableNetworks != null) { in updateAvailableNetworks()
246 Log.v(TAG, "updateAvailableNetworks: size = " + availableNetworks.size()); in updateAvailableNetworks()
248 for (Pair<ScanDetail, WifiConfiguration> pair : availableNetworks) { in updateAvailableNetworks()
DAvailableNetworkNotifier.java298 public void handleScanResults(@NonNull List<ScanDetail> availableNetworks) { in handleScanResults() argument
303 if (availableNetworks.isEmpty() && mState == STATE_SHOWING_RECOMMENDATION_NOTIFICATION) { in handleScanResults()
323 recommendNetwork(availableNetworks); in handleScanResults()