Lines Matching refs:cb
157 void storage_config_cb(Callback<void(uint8_t /* status */)> cb, uint8_t* p, in storage_config_cb() argument
175 cb.Run(status); in storage_config_cb()
178 void param_enable_cb(Callback<void(uint8_t /* status */)> cb, uint8_t* p, in param_enable_cb() argument
196 cb.Run(status); in param_enable_cb()
199 void disable_cb(base::Callback<void(uint8_t /* status */)> cb, uint8_t* p, in disable_cb() argument
228 cb.Run(status); in disable_cb()
236 hci_cmd_cb cb) { in btm_ble_read_batchscan_reports() argument
245 btu_hcif_send_cmd_with_cb(FROM_HERE, HCI_BLE_BATCH_SCAN, param, len, cb); in btm_ble_read_batchscan_reports()
251 tBTM_BLE_SCAN_REP_CBACK cb, uint8_t* p, uint16_t len) { in read_reports_cb() argument
276 cb.Run(status, report_format, num_records_all, data_all); in read_reports_cb()
287 num_records_all, std::move(cb))); in read_reports_cb()
305 hci_cmd_cb cb) { in btm_ble_set_storage_config() argument
316 btu_hcif_send_cmd_with_cb(FROM_HERE, HCI_BLE_BATCH_SCAN, param, len, cb); in btm_ble_set_storage_config()
324 hci_cmd_cb cb) { in btm_ble_set_batchscan_param() argument
341 btu_hcif_send_cmd_with_cb(FROM_HERE, HCI_BLE_BATCH_SCAN, param, len, cb); in btm_ble_set_batchscan_param()
345 void btm_ble_enable_batchscan(hci_cmd_cb cb) { in btm_ble_enable_batchscan() argument
354 btu_hcif_send_cmd_with_cb(FROM_HERE, HCI_BLE_BATCH_SCAN, param, len, cb); in btm_ble_enable_batchscan()
377 Callback<void(uint8_t /* status */)> cb, in BTM_BleSetStorageConfig()
381 cb.Run(BTM_ERR_PROCESSING); in BTM_BleSetStorageConfig()
396 cb.Run(BTM_ILLEGAL_VALUE); in BTM_BleSetStorageConfig()
409 Bind(&storage_config_cb, cb)); in BTM_BleSetStorageConfig()
418 Callback<void(uint8_t /* status */)> cb) { in BTM_BleEnableBatchScan()
423 cb.Run(BTM_ERR_PROCESSING); in BTM_BleEnableBatchScan()
444 cb.Run(BTM_ILLEGAL_VALUE); in BTM_BleEnableBatchScan()
462 discard_rule, Bind(¶m_enable_cb, cb)); in BTM_BleEnableBatchScan()
466 void BTM_BleDisableBatchScan(base::Callback<void(uint8_t /* status */)> cb) { in BTM_BleDisableBatchScan() argument
470 cb.Run(BTM_ERR_PROCESSING); in BTM_BleDisableBatchScan()
477 ble_batchscan_cb.discard_rule, Bind(&disable_cb, cb)); in BTM_BleDisableBatchScan()
483 tBTM_BLE_SCAN_REP_CBACK cb) { in BTM_BleReadScanReports() argument
490 cb.Run(BTM_ERR_PROCESSING, 0, 0, {}); in BTM_BleReadScanReports()
505 cb.Run(BTM_ILLEGAL_VALUE, 0, 0, {}); in BTM_BleReadScanReports()
510 scan_mode, base::Bind(&read_reports_cb, std::vector<uint8_t>(), 0, cb)); in BTM_BleReadScanReports()