Home
last modified time | relevance | path

Searched refs:status_callback (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/system/stack/btm/
Dble_scanner_hci_interface.cc35 static void status_callback(base::Callback<void(uint8_t)> cb, uint8_t* data, in status_callback() function
93 base::Bind(&status_callback, std::move(command_complete))); in PeriodicScanCancelStart()
99 sync_handle, base::Bind(&status_callback, std::move(command_complete))); in PeriodicScanTerminate()
106 base::Bind(&status_callback, std::move(command_complete))); in PeriodicScanResultEvtEnable()
120 base::Bind(&status_callback, std::move(command_complete))); in PeriodicAdvertiserListAddDevice()
128 base::Bind(&status_callback, std::move(command_complete))); in PeriodicAdvertiserListRemoveDevice()
133 base::Bind(&status_callback, std::move(command_complete))); in PeriodicAdvertiserListClear()
180 base::Bind(&status_callback, std::move(command_complete))); in SetPeriodicAdvSyncTransferParams()
184 base::Bind(&status_callback, std::move(command_complete))); in SetPeriodicAdvSyncTransferParams()
226 base::Bind(&status_callback, std::move(command_complete))); in PeriodicAdvertiserListAddDevice()
[all …]
Dbtm_ble_scanner.cc34 static void status_callback(uint8_t status) { in status_callback() function
57 GetHciInterface()->PeriodicScanCancelStart(base::Bind(&status_callback)); in PeriodicScanCancelStart()
62 base::Bind(&status_callback)); in PeriodicScanTerminate()
/packages/modules/Bluetooth/system/test/mock/
Dmock_main_shim_hci_layer.h78 std::function<void(command_status_cb status_callback, void* context,
84 void operator()(command_status_cb status_callback, void* context, in operator()
87 body(status_callback, context, std::move(command), view); in operator()
Dmock_main_shim_hci_layer.cc77 void OnTransmitPacketStatus(command_status_cb status_callback, void* context, in OnTransmitPacketStatus() argument
82 status_callback, context, std::move(command), view); in OnTransmitPacketStatus()
/packages/modules/Bluetooth/system/main/shim/
Dhci_layer.cc170 void OnTransmitPacketStatus(command_status_cb status_callback, void* context, in OnTransmitPacketStatus() argument
177 status_callback(status, static_cast<BT_HDR*>(command->Release()), context); in OnTransmitPacketStatus()
182 command_status_cb status_callback, void* context) { in transmit_command() argument
209 OnTransmitPacketStatus, status_callback, context, in transmit_command()
320 command_status_cb status_callback, void* context) { in transmit_command() argument
321 cpp::transmit_command(command, complete_callback, status_callback, context); in transmit_command()
/packages/modules/Bluetooth/system/gd/hci/
Dle_advertising_manager.cc73 base::OnceCallback<void(uint8_t /* status */)> status_callback; member
522 base::OnceCallback<void(uint8_t /* status */)> status_callback, in start_advertising()
527 advertising_sets_[id].status_callback = std::move(status_callback); in start_advertising()
1635 if (!advertising_sets_[enabled_set.advertising_handle_].status_callback.is_null()) { in on_set_advertising_enable_complete()
1636 …std::move(advertising_sets_[enabled_set.advertising_handle_].status_callback).Run(advertising_stat… in on_set_advertising_enable_complete()
1637 advertising_sets_[enabled_set.advertising_handle_].status_callback.Reset(); in on_set_advertising_enable_complete()
1682 if (!advertising_sets_[enabled_set.advertising_handle_].status_callback.is_null()) { in on_set_extended_advertising_enable_complete()
1683 …std::move(advertising_sets_[enabled_set.advertising_handle_].status_callback).Run(advertising_stat… in on_set_extended_advertising_enable_complete()
1684 advertising_sets_[enabled_set.advertising_handle_].status_callback.Reset(); in on_set_extended_advertising_enable_complete()
1958 base::OnceCallback<void(uint8_t /* status */)> status_callback, in StartAdvertising()
[all …]
Dle_advertising_manager.h138 base::OnceCallback<void(uint8_t /* status */)> status_callback,
/packages/services/BuiltInPrintService/jni/include/
Difc_status_monitor.h48 void (*status_callback)(const printer_state_dyn_t *new_status,