Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java824 Bundle scanParams = new Bundle(); in startBackgroundScan() local
825 scanParams.putParcelable(SCAN_PARAMS_SCAN_SETTINGS_KEY, settings); in startBackgroundScan()
826 scanParams.putParcelable(SCAN_PARAMS_WORK_SOURCE_KEY, workSource); in startBackgroundScan()
827 scanParams.putString(REQUEST_PACKAGE_NAME_KEY, mContext.getOpPackageName()); in startBackgroundScan()
828 mAsyncChannel.sendMessage(CMD_START_BACKGROUND_SCAN, 0, key, scanParams); in startBackgroundScan()
842 Bundle scanParams = new Bundle(); in stopBackgroundScan() local
843 scanParams.putString(REQUEST_PACKAGE_NAME_KEY, mContext.getOpPackageName()); in stopBackgroundScan()
844 mAsyncChannel.sendMessage(CMD_STOP_BACKGROUND_SCAN, 0, key, scanParams); in stopBackgroundScan()
854 Bundle scanParams = new Bundle(); in getScanResults() local
855 scanParams.putString(REQUEST_PACKAGE_NAME_KEY, mContext.getOpPackageName()); in getScanResults()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java661 Bundle scanParams = (Bundle) msg.obj; in processMessage() local
662 if (scanParams == null) { in processMessage()
667 scanParams.setDefusable(true); in processMessage()
669 scanParams.getParcelable(WifiScanner.SCAN_PARAMS_SCAN_SETTINGS_KEY); in processMessage()
671 scanParams.getParcelable(WifiScanner.SCAN_PARAMS_WORK_SOURCE_KEY); in processMessage()
1231 Bundle scanParams = (Bundle) msg.obj; in processMessage() local
1232 if (scanParams == null) { in processMessage()
1236 scanParams.setDefusable(true); in processMessage()
1238 scanParams.getParcelable(WifiScanner.SCAN_PARAMS_SCAN_SETTINGS_KEY); in processMessage()
1240 scanParams.getParcelable(WifiScanner.SCAN_PARAMS_WORK_SOURCE_KEY); in processMessage()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java265 Bundle scanParams = new Bundle(); in sendBackgroundScanRequest() local
266 scanParams.putParcelable(WifiScanner.SCAN_PARAMS_SCAN_SETTINGS_KEY, settings); in sendBackgroundScanRequest()
267 scanParams.putParcelable(WifiScanner.SCAN_PARAMS_WORK_SOURCE_KEY, workSource); in sendBackgroundScanRequest()
269 scanRequestId, scanParams)); in sendBackgroundScanRequest()
274 Bundle scanParams = new Bundle(); in sendSingleScanRequest() local
275 scanParams.putParcelable(WifiScanner.SCAN_PARAMS_SCAN_SETTINGS_KEY, settings); in sendSingleScanRequest()
276 scanParams.putParcelable(WifiScanner.SCAN_PARAMS_WORK_SOURCE_KEY, workSource); in sendSingleScanRequest()
278 scanRequestId, scanParams)); in sendSingleScanRequest()