Home
last modified time | relevance | path

Searched refs:availableNetworkInfos (Results 1 – 4 of 4) sorted by relevance

/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DOpportunisticNetworkServiceTest.java117 ArrayList<AvailableNetworkInfo> availableNetworkInfos = in testHandleSimStateChange() local
119 availableNetworkInfos.add(availableNetworkInfo); in testHandleSimStateChange()
127 ONSConfigInput onsConfigInput = new ONSConfigInput(availableNetworkInfos, mCallback); in testHandleSimStateChange()
129 onsConfigInput.setPreferredDataSub(availableNetworkInfos.get(0).getSubId()); in testHandleSimStateChange()
158 ArrayList<AvailableNetworkInfo> availableNetworkInfos = in testSystemPreferredDataWhileCarrierAppIsActive() local
160 availableNetworkInfos.add(availableNetworkInfo); in testSystemPreferredDataWhileCarrierAppIsActive()
168 ONSConfigInput onsConfigInput = new ONSConfigInput(availableNetworkInfos, mCallback); in testSystemPreferredDataWhileCarrierAppIsActive()
170 onsConfigInput.setPreferredDataSub(availableNetworkInfos.get(0).getSubId()); in testSystemPreferredDataWhileCarrierAppIsActive()
249 ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<>(); in testUpdateAvailableNetworksWithInvalidArguments() local
250 availableNetworkInfos.add(availableNetworkInfo); in testUpdateAvailableNetworksWithInvalidArguments()
[all …]
DONSNetworkScanCtlrTest.java72 … ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<AvailableNetworkInfo>(); in testStartFastNetworkScan() local
73 availableNetworkInfos.add(availableNetworkInfo); in testStartFastNetworkScan()
110 mONSNetworkScanCtlr.startFastNetworkScan(availableNetworkInfos); in testStartFastNetworkScan()
127 … ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<AvailableNetworkInfo>(); in testStartFastNetworkScanFail() local
128 availableNetworkInfos.add(availableNetworkInfo); in testStartFastNetworkScanFail()
163 mONSNetworkScanCtlr.startFastNetworkScan(availableNetworkInfos); in testStartFastNetworkScanFail()
181 … ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<AvailableNetworkInfo>(); in testStartFastNetworkScanWithMultipleNetworks() local
182 availableNetworkInfos.add(availableNetworkInfo); in testStartFastNetworkScanWithMultipleNetworks()
215 mONSNetworkScanCtlr.startFastNetworkScan(availableNetworkInfos); in testStartFastNetworkScanWithMultipleNetworks()
232 … ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<AvailableNetworkInfo>(); in testStopNetworkScan() local
[all …]
DONSProfileSelectorTest.java160 … ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<AvailableNetworkInfo>(); in testStartProfileSelectionWithNoOpportunisticSub() local
161 availableNetworkInfos.add(availableNetworkInfo); in testStartProfileSelectionWithNoOpportunisticSub()
184 mONSProfileSelector.startProfileSelection(availableNetworkInfos, mCallback); in testStartProfileSelectionWithNoOpportunisticSub()
223 … ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<AvailableNetworkInfo>(); in testStartProfileSelectionSuccess() local
224 availableNetworkInfos.add(availableNetworkInfo); in testStartProfileSelectionSuccess()
251 mONSProfileSelector.startProfileSelection(availableNetworkInfos, mCallback); in testStartProfileSelectionSuccess()
305 ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<>(); in testStartProfileSelectionWithDifferentPrioritySubInfo() local
306 availableNetworkInfos.add(availableNetworkInfo); in testStartProfileSelectionWithDifferentPrioritySubInfo()
311 availableNetworkInfos.add(availableNetworkInfo_2); in testStartProfileSelectionWithDifferentPrioritySubInfo()
338 mONSProfileSelector.startProfileSelection(availableNetworkInfos, mCallback); in testStartProfileSelectionWithDifferentPrioritySubInfo()
[all …]
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSConfigInput.java40 ONSConfigInput(ArrayList<AvailableNetworkInfo> availableNetworkInfos, in ONSConfigInput() argument
42 mAvailableNetworkInfos = availableNetworkInfos; in ONSConfigInput()
52 public void setAvailableNetworkInfo(ArrayList<AvailableNetworkInfo> availableNetworkInfos) { in setAvailableNetworkInfo() argument
53 mAvailableNetworkInfos = availableNetworkInfos; in setAvailableNetworkInfo()