Home
last modified time | relevance | path

Searched refs:scanSucceeded (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DScanRequestProxy.java337 private void sendScanResultBroadcast(boolean scanSucceeded) { in sendScanResultBroadcast() argument
340 intent.putExtra(WifiManager.EXTRA_RESULTS_UPDATED, scanSucceeded); in sendScanResultBroadcast()
342 createBroadcastOptionsForScanResultsAvailable(scanSucceeded)); in sendScanResultBroadcast()
349 final boolean scanSucceeded = false; in sendScanResultFailureBroadcastToPackage()
352 intent.putExtra(WifiManager.EXTRA_RESULTS_UPDATED, scanSucceeded); in sendScanResultFailureBroadcastToPackage()
355 createBroadcastOptionsForScanResultsAvailable(scanSucceeded)); in sendScanResultFailureBroadcastToPackage()
358 static Bundle createBroadcastOptionsForScanResultsAvailable(boolean scanSucceeded) { in createBroadcastOptionsForScanResultsAvailable() argument
366 String.valueOf(scanSucceeded)) in createBroadcastOptionsForScanResultsAvailable()
DWifiServiceImpl.java974 final boolean scanSucceeded = false; in sendFailedScanBroadcast()
977 intent.putExtra(WifiManager.EXTRA_RESULTS_UPDATED, scanSucceeded); in sendFailedScanBroadcast()
979 createBroadcastOptionsForScanResultsAvailable(scanSucceeded)); in sendFailedScanBroadcast()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanRequestProxyTest.java1079 boolean scanSucceeded = intent.getBooleanExtra(WifiManager.EXTRA_RESULTS_UPDATED, false); in validateScanResultsAvailableBroadcastSent()
1080 assertEquals(expectScanSuceeded, scanSucceeded); in validateScanResultsAvailableBroadcastSent()
1082 verifyScanAvailableBroadcastOptions(broadcastOptionsCaptor.getValue(), scanSucceeded); in validateScanResultsAvailableBroadcastSent() local
1098 boolean scanSucceeded = intent.getBooleanExtra(WifiManager.EXTRA_RESULTS_UPDATED, false); in validateScanResultsFailureBroadcastSent()
1099 assertFalse(scanSucceeded); in validateScanResultsFailureBroadcastSent()