Home
last modified time | relevance | path

Searched refs:scan_type (Results 1 – 23 of 23) sorted by relevance

/system/bt/stack/btm/
Dbtm_ble_bgconn.c127 …p_inq->scan_type = p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE ? BTM_BLE_SCAN_MODE_ACTI : p_inq->sc… in btm_update_scanner_filter_policy()
131 btsnd_hcic_ble_set_scan_params(p_inq->scan_type, (UINT16)scan_interval, in btm_update_scanner_filter_policy()
138 btm_ble_send_extended_scan_params(p_inq->scan_type, scan_interval, scan_window, in btm_update_scanner_filter_policy()
472 btm_cb.ble_ctr_cb.inq_var.scan_type = BTM_BLE_SCAN_MODE_PASS; in btm_ble_start_select_conn()
Dbtm_inq.c298 tBTM_STATUS BTM_SetInquiryScanType (UINT16 scan_type) in BTM_SetInquiryScanType() argument
302 if (scan_type != BTM_SCAN_TYPE_STANDARD && scan_type != BTM_SCAN_TYPE_INTERLACED) in BTM_SetInquiryScanType()
310 if (scan_type != btm_cb.btm_inq_vars.inq_scan_type) in BTM_SetInquiryScanType()
314 if (btsnd_hcic_write_inqscan_type ((UINT8)scan_type)) in BTM_SetInquiryScanType()
315 btm_cb.btm_inq_vars.inq_scan_type = scan_type; in BTM_SetInquiryScanType()
336 tBTM_STATUS BTM_SetPageScanType (UINT16 scan_type) in BTM_SetPageScanType() argument
339 if (scan_type != BTM_SCAN_TYPE_STANDARD && scan_type != BTM_SCAN_TYPE_INTERLACED) in BTM_SetPageScanType()
347 if (scan_type != btm_cb.btm_inq_vars.page_scan_type) in BTM_SetPageScanType()
351 if (btsnd_hcic_write_pagescan_type ((UINT8)scan_type)) in BTM_SetPageScanType()
352 btm_cb.btm_inq_vars.page_scan_type = scan_type; in BTM_SetPageScanType()
[all …]
Dbtm_ble_gap.c315 BOOLEAN btm_ble_send_extended_scan_params(UINT8 scan_type, UINT32 scan_int, in btm_ble_send_extended_scan_params() argument
324 UINT8_TO_STREAM(pp_scan, scan_type); in btm_ble_send_extended_scan_params()
362 BTM_TRACE_EVENT ("%s : scan_type:%d, %d, %d", __func__, btm_cb.btm_inq_vars.scan_type, in BTM_BleObserve()
385 p_inq->scan_type = (p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE) ? in BTM_BleObserve()
386 BTM_BLE_SCAN_MODE_ACTI: p_inq->scan_type; in BTM_BleObserve()
395 btsnd_hcic_ble_set_scan_params(p_inq->scan_type, (UINT16)scan_interval, in BTM_BleObserve()
402 btm_ble_send_extended_scan_params(p_inq->scan_type, scan_interval, scan_window, in BTM_BleObserve()
1173 p_cb->scan_type = scan_mode; in BTM_BleSetScanParams()
2554 if ((btm_cb.ble_ctr_cb.inq_var.scan_type == BTM_BLE_SCAN_MODE_ACTI && in btm_ble_update_inq_result()
2558 scan_type_active=%d", btm_cb.ble_ctr_cb.inq_var.scan_type); in btm_ble_update_inq_result()
[all …]
Dbtm_ble_int.h140 UINT8 scan_type; /* current scan type: active or passive */ member
365 extern BOOLEAN btm_ble_send_extended_scan_params(UINT8 scan_type, UINT32 scan_int,
Dbtm_int.h258 tBTM_INQ_TYPE scan_type; member
/system/connectivity/shill/wifi/
Dmock_wifi.h53 MOCK_METHOD3(Scan, void(ScanType scan_type, Error* error,
Dwifi.h147 void Scan(ScanType scan_type, Error* error,
512 void InitiateScan(ScanType scan_type);
Dwifi.cc318 void WiFi::Scan(ScanType scan_type, Error* /*error*/, const string& reason) { in Scan() argument
324 if (progressive_scan_enabled_ && scan_type == kProgressiveScan) { in Scan()
1925 void WiFi::InitiateScan(ScanType scan_type) { in InitiateScan() argument
1933 Scan(scan_type, nullptr, __func__); in InitiateScan()
Dwifi_unittest.cc1167 void InitiateScan(Device::ScanType scan_type) { in InitiateScan() argument
1168 wifi_->InitiateScan(scan_type); in InitiateScan()
4463 Device::ScanType scan_type = Device::kFullScan; in TEST_F() local
4467 InitiateScan(scan_type); in TEST_F()
4469 scan_type = Device::kProgressiveScan; in TEST_F()
4472 InitiateScan(scan_type); in TEST_F()
4476 const Device::ScanType scan_type = Device::kFullScan; in TEST_F() local
4487 InitiateScan(scan_type); in TEST_F()
/system/connectivity/shill/
Dmock_device.h54 MOCK_METHOD3(Scan, void(Device::ScanType scan_type, Error* error,
Ddevice.h132 virtual void Scan(ScanType scan_type, Error* error,
Dmetrics.cc1544 DarkResumeScanType scan_type = in NotifyScanStartedInDarkResume() local
1546 SendEnumToUMA(kMetricDarkResumeScanType, scan_type, kDarkResumeScanTypeMax); in NotifyScanStartedInDarkResume()
Dmanager.h209 virtual void RequestScan(Device::ScanType scan_type,
Dmanager.cc2544 void Manager::RequestScan(Device::ScanType scan_type, in RequestScan() argument
2549 wifi_device->Scan(scan_type, error, __func__); in RequestScan()
Ddevice.cc258 void Device::Scan(ScanType scan_type, Error* error, const string& reason) { in Scan() argument
/system/bt/bta/dm/
Dbta_dm_api.c1073 extern void BTA_DmBleReadScanReports(tBTA_BLE_BATCH_SCAN_MODE scan_type, in BTA_DmBleReadScanReports() argument
1080 p_msg->scan_type = scan_type; in BTA_DmBleReadScanReports()
Dbta_dm_int.h578 tBTA_BLE_BATCH_SCAN_MODE scan_type; member
Dbta_dm_act.c5038 btm_status = BTM_BleReadScanReports(p_data->ble_read_reports.scan_type, in bta_dm_ble_read_scan_reports()
/system/bt/stack/hcic/
Dhciblecmds.c183 BOOLEAN btsnd_hcic_ble_set_scan_params (UINT8 scan_type, in btsnd_hcic_ble_set_scan_params() argument
196 UINT8_TO_STREAM (pp, scan_type); in btsnd_hcic_ble_set_scan_params()
/system/bt/stack/include/
Dhcimsgs.h709 extern BOOLEAN btsnd_hcic_ble_set_scan_params (UINT8 scan_type,
Dbtm_api.h2370 extern tBTM_STATUS BTM_SetInquiryScanType (UINT16 scan_type);
2387 extern tBTM_STATUS BTM_SetPageScanType (UINT16 scan_type);
Dbtm_ble_api.h1010 UINT32 scan_window, tBLE_SCAN_MODE scan_type,
/system/bt/bta/include/
Dbta_api.h2192 extern void BTA_DmBleReadScanReports(tBTA_BLE_BATCH_SCAN_MODE scan_type,