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.java125 ArrayList<AvailableNetworkInfo> availableNetworkInfos = in testHandleSimStateChange() local
127 availableNetworkInfos.add(availableNetworkInfo); in testHandleSimStateChange()
135 ONSConfigInput onsConfigInput = new ONSConfigInput(availableNetworkInfos, mCallback); in testHandleSimStateChange()
137 onsConfigInput.setPreferredDataSub(availableNetworkInfos.get(0).getSubId()); in testHandleSimStateChange()
166 ArrayList<AvailableNetworkInfo> availableNetworkInfos = in testSystemPreferredDataWhileCarrierAppIsActive() local
168 availableNetworkInfos.add(availableNetworkInfo); in testSystemPreferredDataWhileCarrierAppIsActive()
176 ONSConfigInput onsConfigInput = new ONSConfigInput(availableNetworkInfos, mCallback); in testSystemPreferredDataWhileCarrierAppIsActive()
178 onsConfigInput.setPreferredDataSub(availableNetworkInfos.get(0).getSubId()); in testSystemPreferredDataWhileCarrierAppIsActive()
257 ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<>(); in testUpdateAvailableNetworksWithInvalidArguments() local
258 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.java134 … ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<AvailableNetworkInfo>(); in testStartProfileSelectionWithNoOpportunisticSub() local
135 availableNetworkInfos.add(availableNetworkInfo); in testStartProfileSelectionWithNoOpportunisticSub()
158 mONSProfileSelector.startProfileSelection(availableNetworkInfos, mCallback); in testStartProfileSelectionWithNoOpportunisticSub()
196 … ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<AvailableNetworkInfo>(); in testStartProfileSelectionSuccess() local
197 availableNetworkInfos.add(availableNetworkInfo); in testStartProfileSelectionSuccess()
224 mONSProfileSelector.startProfileSelection(availableNetworkInfos, mCallback); in testStartProfileSelectionSuccess()
276 ArrayList<AvailableNetworkInfo> availableNetworkInfos = new ArrayList<>(); in testStartProfileSelectionWithDifferentPrioritySubInfo() local
277 availableNetworkInfos.add(availableNetworkInfo); in testStartProfileSelectionWithDifferentPrioritySubInfo()
282 availableNetworkInfos.add(availableNetworkInfo_2); in testStartProfileSelectionWithDifferentPrioritySubInfo()
309 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()