Home
last modified time | relevance | path

Searched refs:scan_mode (Results 1 – 17 of 17) sorted by relevance

/system/bt/stack/btm/
Dbtm_ble_batchscan.cc235 void btm_ble_read_batchscan_reports(tBTM_BLE_BATCH_SCAN_MODE scan_mode, in btm_ble_read_batchscan_reports() argument
243 UINT8_TO_STREAM(pp, scan_mode); in btm_ble_read_batchscan_reports()
320 void btm_ble_set_batchscan_param(tBTM_BLE_BATCH_SCAN_MODE scan_mode, in btm_ble_set_batchscan_param() argument
335 UINT8_TO_STREAM(p, scan_mode); in btm_ble_set_batchscan_param()
414 void BTM_BleEnableBatchScan(tBTM_BLE_BATCH_SCAN_MODE scan_mode, in BTM_BleEnableBatchScan() argument
419 BTM_TRACE_EVENT("%s: %d, %d, %d, %d, %d, %d", __func__, scan_mode, in BTM_BleEnableBatchScan()
427 BTM_TRACE_DEBUG("%s: %d, %x, %x, %d, %d", __func__, scan_mode, scan_interval, in BTM_BleEnableBatchScan()
437 (BTM_BLE_BATCH_SCAN_MODE_PASS == scan_mode || in BTM_BleEnableBatchScan()
438 BTM_BLE_BATCH_SCAN_MODE_ACTI == scan_mode || in BTM_BleEnableBatchScan()
439 BTM_BLE_BATCH_SCAN_MODE_PASS_ACTI == scan_mode) && in BTM_BleEnableBatchScan()
[all …]
Dbtm_inq.cc160 uint8_t scan_mode = 0; in BTM_SetDiscoverability() local
219 scan_mode |= HCI_INQUIRY_SCAN_ENABLED; in BTM_SetDiscoverability()
231 scan_mode |= HCI_PAGE_SCAN_ENABLED; in BTM_SetDiscoverability()
233 btsnd_hcic_write_scan_enable(scan_mode); in BTM_SetDiscoverability()
461 uint8_t scan_mode = 0; in BTM_SetConnectability() local
502 scan_mode |= HCI_PAGE_SCAN_ENABLED; in BTM_SetConnectability()
514 scan_mode |= HCI_INQUIRY_SCAN_ENABLED; in BTM_SetConnectability()
516 btsnd_hcic_write_scan_enable(scan_mode); in BTM_SetConnectability()
Dbtm_ble_gap.cc776 tBLE_SCAN_MODE scan_mode, in BTM_BleSetScanParams() argument
801 (scan_mode == BTM_BLE_SCAN_MODE_ACTI || in BTM_BleSetScanParams()
802 scan_mode == BTM_BLE_SCAN_MODE_PASS)) { in BTM_BleSetScanParams()
803 p_cb->scan_type = scan_mode; in BTM_BleSetScanParams()
/system/bt/btif/src/
Dbtif_ble_scanner.cc308 void BatchscanEnable(int scan_mode, int scan_interval, int scan_window, in BatchscanEnable() argument
311 FROM_HERE, base::Bind(&BTM_BleEnableBatchScan, scan_mode, scan_interval, in BatchscanEnable()
321 void BatchscanReadReports(int client_if, int scan_mode) override { in BatchscanReadReports() argument
323 base::Bind(&BTM_BleReadScanReports, (uint8_t)scan_mode, in BatchscanReadReports()
/system/bt/include/hardware/
Dble_scanner.h109 virtual void BatchscanEnable(int scan_mode, int scan_interval,
117 virtual void BatchscanReadReports(int client_if, int scan_mode) = 0;
/system/bt/stack/include/
Dbtm_ble_api.h124 tBTM_BLE_BATCH_SCAN_MODE scan_mode, uint32_t scan_interval,
133 extern void BTM_BleReadScanReports(tBLE_SCAN_MODE scan_mode,
Dbtm_ble_api_types.h350 tBTM_BLE_BATCH_SCAN_MODE scan_mode; member
/system/bt/service/common/android/bluetooth/
DIBluetooth.aidl43 boolean SetScanMode(int scan_mode); in SetScanMode() argument
/system/bt/btcore/include/
Dproperty.h51 bt_property_t* property_new_scan_mode(bt_scan_mode_t scan_mode);
/system/bt/service/
Dadapter.cc311 bool SetScanMode(int scan_mode) override { in SetScanMode() argument
312 switch (scan_mode) { in SetScanMode()
318 LOG(ERROR) << "Unknown scan mode: " << scan_mode; in SetScanMode()
322 auto bd_scanmode = static_cast<bt_scan_mode_t>(scan_mode); in SetScanMode()
326 LOG(ERROR) << "Failed to set scan mode to : " << scan_mode; in SetScanMode()
Dadapter.h139 virtual bool SetScanMode(int scan_mode) = 0;
/system/bt/btcore/src/
Dproperty.cc110 bt_property_t* property_new_scan_mode(bt_scan_mode_t scan_mode) { in property_new_scan_mode() argument
111 return property_new_((void*)&scan_mode, sizeof(bt_scan_mode_t), in property_new_scan_mode()
/system/bt/service/test/
Dlow_energy_scanner_unittest.cc63 void(int scan_mode, int scan_interval, int scan_window,
68 MOCK_METHOD2(BatchscanReadReports, void(int client_if, int scan_mode));
/system/bt/service/ipc/binder/
Dbluetooth_binder_server.cc113 Status BluetoothBinderServer::SetScanMode(int32_t scan_mode, in SetScanMode() argument
116 *_aidl_return = adapter_->SetScanMode(scan_mode); in SetScanMode()
Dbluetooth_binder_server.h83 Status SetScanMode(int32_t scan_mode, bool* _aidl_return) override;
/system/bt/main/shim/
Dbtm_api.h2083 void BTM_BleEnableBatchScan(tBTM_BLE_BATCH_SCAN_MODE scan_mode,
2093 void BTM_BleReadScanReports(tBLE_SCAN_MODE scan_mode,
/system/bt/btcore/test/
Dproperty_test.cc121 TEST_F(PropertyTest, scan_mode) { in TEST_F() argument