/system/bt/stack/btm/ |
D | btm_ble_batchscan.cc | 233 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 …]
|
D | btm_inq.cc | 145 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()
|
D | btm_ble_gap.cc | 835 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/ |
D | btif_ble_scanner.cc | 309 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/ |
D | ble_scanner.h | 109 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/ |
D | IBluetooth.aidl | 43 boolean SetScanMode(int scan_mode); in SetScanMode() argument
|
/system/bt/stack/include/ |
D | btm_ble_api.h | 137 tBTM_BLE_BATCH_SCAN_MODE scan_mode, uint32_t scan_interval, 146 extern void BTM_BleReadScanReports(tBLE_SCAN_MODE scan_mode,
|
D | btm_ble_api_types.h | 386 tBTM_BLE_BATCH_SCAN_MODE scan_mode; member
|
/system/bt/btcore/include/ |
D | property.h | 51 bt_property_t* property_new_scan_mode(bt_scan_mode_t scan_mode);
|
/system/bt/service/ |
D | adapter.cc | 311 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()
|
D | adapter.h | 139 virtual bool SetScanMode(int scan_mode) = 0;
|
/system/bt/btcore/src/ |
D | property.cc | 110 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/ |
D | low_energy_scanner_unittest.cc | 63 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/ |
D | bluetooth_binder_server.cc | 113 Status BluetoothBinderServer::SetScanMode(int32_t scan_mode, in SetScanMode() argument 116 *_aidl_return = adapter_->SetScanMode(scan_mode); in SetScanMode()
|
D | bluetooth_binder_server.h | 83 Status SetScanMode(int32_t scan_mode, bool* _aidl_return) override;
|
/system/bt/btcore/test/ |
D | property_test.cc | 121 TEST_F(PropertyTest, scan_mode) { in TEST_F() argument
|