Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_ble_batchscan.cc233 void btm_ble_read_batchscan_reports(tBTM_BLE_BATCH_SCAN_MODE scan_mode, in btm_ble_read_batchscan_reports() argument
241 UINT8_TO_STREAM(pp, scan_mode); in btm_ble_read_batchscan_reports()
318 void btm_ble_set_batchscan_param(tBTM_BLE_BATCH_SCAN_MODE scan_mode, in btm_ble_set_batchscan_param() argument
333 UINT8_TO_STREAM(p, scan_mode); in btm_ble_set_batchscan_param()
412 void BTM_BleEnableBatchScan(tBTM_BLE_BATCH_SCAN_MODE scan_mode, in BTM_BleEnableBatchScan() argument
417 BTM_TRACE_EVENT("%s: %d, %d, %d, %d, %d, %d", __func__, scan_mode, in BTM_BleEnableBatchScan()
425 BTM_TRACE_DEBUG("%s: %d, %x, %x, %d, %d", __func__, scan_mode, scan_interval, in BTM_BleEnableBatchScan()
435 (BTM_BLE_BATCH_SCAN_MODE_PASS == scan_mode || in BTM_BleEnableBatchScan()
436 BTM_BLE_BATCH_SCAN_MODE_ACTI == scan_mode || in BTM_BleEnableBatchScan()
437 BTM_BLE_BATCH_SCAN_MODE_PASS_ACTI == scan_mode) && in BTM_BleEnableBatchScan()
[all …]
Dbtm_inq.cc145 uint8_t scan_mode = 0; in BTM_SetDiscoverability() local
204 scan_mode |= HCI_INQUIRY_SCAN_ENABLED; in BTM_SetDiscoverability()
216 scan_mode |= HCI_PAGE_SCAN_ENABLED; in BTM_SetDiscoverability()
218 btsnd_hcic_write_scan_enable(scan_mode); in BTM_SetDiscoverability()
537 uint8_t scan_mode = 0; in BTM_SetConnectability() local
578 scan_mode |= HCI_PAGE_SCAN_ENABLED; in BTM_SetConnectability()
590 scan_mode |= HCI_INQUIRY_SCAN_ENABLED; in BTM_SetConnectability()
592 btsnd_hcic_write_scan_enable(scan_mode); in BTM_SetConnectability()
Dbtm_ble_gap.cc835 tBLE_SCAN_MODE scan_mode, in BTM_BleSetScanParams() argument
860 (scan_mode == BTM_BLE_SCAN_MODE_ACTI || in BTM_BleSetScanParams()
861 scan_mode == BTM_BLE_SCAN_MODE_PASS)) { in BTM_BleSetScanParams()
862 p_cb->scan_type = scan_mode; in BTM_BleSetScanParams()
/system/bt/btif/src/
Dbtif_ble_scanner.cc309 void BatchscanEnable(int scan_mode, int scan_interval, int scan_window, in BatchscanEnable() argument
312 FROM_HERE, base::Bind(&BTM_BleEnableBatchScan, scan_mode, scan_interval, in BatchscanEnable()
322 void BatchscanReadReports(int client_if, int scan_mode) override { in BatchscanReadReports() argument
324 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/service/common/android/bluetooth/
DIBluetooth.aidl43 boolean SetScanMode(int scan_mode); in SetScanMode() argument
/system/bt/stack/include/
Dbtm_ble_api.h137 tBTM_BLE_BATCH_SCAN_MODE scan_mode, uint32_t scan_interval,
146 extern void BTM_BleReadScanReports(tBLE_SCAN_MODE scan_mode,
Dbtm_ble_api_types.h386 tBTM_BLE_BATCH_SCAN_MODE scan_mode; member
/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/btcore/test/
Dproperty_test.cc121 TEST_F(PropertyTest, scan_mode) { in TEST_F() argument