Home
last modified time | relevance | path

Searched refs:networkScanRequest (Results 1 – 2 of 2) sorted by relevance

/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSNetworkScanCtlrTest.java184 NetworkScanRequest networkScanRequest = createNetworkScanRequest(new ArrayList<>()); in testCreateNetworkScanRequest_withNoSpecifiedRasOrBands_4gScanEnabled() local
185 RadioAccessSpecifier[] radioAccessSpecifiers = networkScanRequest.getSpecifiers(); in testCreateNetworkScanRequest_withNoSpecifiedRasOrBands_4gScanEnabled()
187 assertEquals(networkScanRequest.getSearchPeriodicity(), SEARCH_PERIODICITY); in testCreateNetworkScanRequest_withNoSpecifiedRasOrBands_4gScanEnabled()
188 assertEquals(networkScanRequest.getPlmns().size(), 1); in testCreateNetworkScanRequest_withNoSpecifiedRasOrBands_4gScanEnabled()
189 assertEquals(networkScanRequest.getPlmns().get(0), "310210"); in testCreateNetworkScanRequest_withNoSpecifiedRasOrBands_4gScanEnabled()
200 NetworkScanRequest networkScanRequest = createNetworkScanRequest(new ArrayList<>()); in testCreateNetworkScanRequest_withNoSpecifiedRasOrBands_4gScanDisabled() local
201 RadioAccessSpecifier[] radioAccessSpecifiers = networkScanRequest.getSpecifiers(); in testCreateNetworkScanRequest_withNoSpecifiedRasOrBands_4gScanDisabled()
203 assertEquals(networkScanRequest.getSearchPeriodicity(), SEARCH_PERIODICITY); in testCreateNetworkScanRequest_withNoSpecifiedRasOrBands_4gScanDisabled()
204 assertEquals(networkScanRequest.getPlmns().size(), 1); in testCreateNetworkScanRequest_withNoSpecifiedRasOrBands_4gScanDisabled()
205 assertEquals(networkScanRequest.getPlmns().get(0), "310210"); in testCreateNetworkScanRequest_withNoSpecifiedRasOrBands_4gScanDisabled()
[all …]
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSNetworkScanCtlr.java361 NetworkScanRequest networkScanRequest = new NetworkScanRequest( in createNetworkScanRequest() local
367 return networkScanRequest; in createNetworkScanRequest()
376 NetworkScanRequest networkScanRequest = createNetworkScanRequest(availableNetworks, in startFastNetworkScan() local
378 return startNetworkScan(networkScanRequest); in startFastNetworkScan()
382 private boolean startNetworkScan(NetworkScanRequest networkScanRequest) { in startNetworkScan() argument
386 if (mIsScanActive && mCurrentScanRequest.equals(networkScanRequest)) { in startNetworkScan()
402 networkScan = mTelephonyManager.requestNetworkScan(networkScanRequest, in startNetworkScan()
407 mCurrentScanRequest = networkScanRequest; in startNetworkScan()
410 logDebug("startNetworkScan " + networkScanRequest); in startNetworkScan()