Home
last modified time | relevance | path

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

/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DOpportunisticNetworkService.java311 public void updateAvailableNetworks(List<AvailableNetworkInfo> availableNetworks,
313 logDebug("updateAvailableNetworks: " + availableNetworks);
317 (ArrayList<AvailableNetworkInfo>) availableNetworks, callbackStub);
323 (ArrayList<AvailableNetworkInfo>) availableNetworks, callbackStub,
399 ArrayList<AvailableNetworkInfo> availableNetworks, in handleCarrierAppAvailableNetworks() argument
401 if ((availableNetworks != null) && (availableNetworks.size() > 0)) { in handleCarrierAppAvailableNetworks()
403 if (availableNetworks.size() > 1) { in handleCarrierAppAvailableNetworks()
416 if (!mProfileSelector.hasOpprotunisticSub(availableNetworks)) { in handleCarrierAppAvailableNetworks()
429 for (AvailableNetworkInfo availableNetworkInfo : availableNetworks) { in handleCarrierAppAvailableNetworks()
455 ONSConfigInput onsConfigInput = new ONSConfigInput(availableNetworks, callbackStub); in handleCarrierAppAvailableNetworks()
[all …]
DONSProfileSelector.java326 public boolean hasOpprotunisticSub(List<AvailableNetworkInfo> availableNetworks) { in hasOpprotunisticSub() argument
327 if ((availableNetworks == null) || (availableNetworks.size() == 0)) { in hasOpprotunisticSub()
334 for (AvailableNetworkInfo availableNetworkInfo : availableNetworks) { in hasOpprotunisticSub()
403 ArrayList<AvailableNetworkInfo> availableNetworks, in getFilteredAvailableNetworks() argument
411 Collections.sort(availableNetworks, new SortAvailableNetworks()); in getFilteredAvailableNetworks()
417 while (availableNetworksIndex < availableNetworks.size() in getFilteredAvailableNetworks()
420 availableNetwork = availableNetworks.get(availableNetworksIndex); in getFilteredAvailableNetworks()
443 ArrayList<AvailableNetworkInfo> availableNetworks) { in isPrimaryActiveOnOpportunisticSlot() argument
447 if (!isOpportunisticSubEmbedded(availableNetworks)) { in isPrimaryActiveOnOpportunisticSlot()
481 ArrayList<AvailableNetworkInfo> availableNetworks = in checkProfileUpdate() local
[all …]
DONSNetworkScanCtlr.java232 …vate NetworkScanRequest createNetworkScanRequest(ArrayList<AvailableNetworkInfo> availableNetworks, in createNetworkScanRequest() argument
241 for (AvailableNetworkInfo availableNetwork : availableNetworks) { in createNetworkScanRequest()
264 public boolean startFastNetworkScan(ArrayList<AvailableNetworkInfo> availableNetworks) { in startFastNetworkScan() argument
265 NetworkScanRequest networkScanRequest = createNetworkScanRequest(availableNetworks, in startFastNetworkScan()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiLastResortWatchdog.java241 List<Pair<ScanDetail, WifiConfiguration>> availableNetworks) { in updateAvailableNetworks() argument
243 if (availableNetworks != null) { in updateAvailableNetworks()
245 Log.v(TAG, "updateAvailableNetworks: size = " + availableNetworks.size()); in updateAvailableNetworks()
247 for (Pair<ScanDetail, WifiConfiguration> pair : availableNetworks) { in updateAvailableNetworks()
DAvailableNetworkNotifier.java282 public void handleScanResults(@NonNull List<ScanDetail> availableNetworks) { in handleScanResults() argument
287 if (availableNetworks.isEmpty() && mState == STATE_SHOWING_RECOMMENDATION_NOTIFICATION) { in handleScanResults()
307 recommendNetwork(availableNetworks); in handleScanResults()