/packages/modules/Bluetooth/system/btif/src/ |
D | btif_has_client.cc | 53 this->callbacks_ = callbacks; in Init() 130 Unretained(callbacks_), state, addr)); in OnConnectionState() 135 Unretained(callbacks_), addr, features)); in OnDeviceAvailable() 140 Unretained(callbacks_), addr, features)); in OnFeaturesUpdate() 146 Unretained(callbacks_), std::move(addr_or_group_id), in OnActivePresetSelected() 153 Unretained(callbacks_), std::move(addr_or_group_id), in OnActivePresetSelectError() 161 Unretained(callbacks_), std::move(addr_or_group_id), in OnPresetInfo() 168 Unretained(callbacks_), std::move(addr_or_group_id), in OnPresetInfoError() 176 Unretained(callbacks_), std::move(addr_or_group_id), in OnSetPresetNameError() 181 HasClientCallbacks* callbacks_; member in __anon4d3a264b0111::HearingAaccessClientServiceInterfaceImpl
|
D | btif_vc.cc | 48 this->callbacks_ = callbacks; in Init() 64 Unretained(callbacks_), state, address)); in OnConnectionState() 70 Unretained(callbacks_), address, volume, mute, in OnVolumeStateChanged() 77 Unretained(callbacks_), group_id, volume, mute, in OnGroupVolumeStateChanged() 84 Unretained(callbacks_), address, num_offset)); in OnDeviceAvailable() 95 Unretained(callbacks_), address, ext_output_id, offset)); in OnExtAudioOutVolumeOffsetChanged() 102 Unretained(callbacks_), address, ext_output_id, in OnExtAudioOutLocationChanged() 111 Unretained(callbacks_), address, ext_output_id, descr)); in OnExtAudioOutDescriptionChanged() 296 VolumeControlCallbacks* callbacks_; member in __anon360f704a0111::VolumeControlInterfaceImpl
|
D | btif_csis_client.cc | 51 this->callbacks_ = callbacks; in Init() 132 Unretained(callbacks_), addr, state)); in OnConnectionState() 138 Unretained(callbacks_), addr, group_id, group_size, in OnDeviceAvailable() 144 Unretained(callbacks_), addr, group_id)); in OnSetMemberAvailable() 151 Unretained(callbacks_), group_id, locked, status)); in OnGroupLockChanged() 155 CsisClientCallbacks* callbacks_; member in __anon9d87b2c10111::CsipSetCoordinatorServiceInterfaceImpl
|
D | btif_le_audio_broadcaster.cc | 43 this->callbacks_ = callbacks; in Initialize() 108 Unretained(callbacks_), broadcast_id, success)); in OnBroadcastCreated() 113 Unretained(callbacks_), broadcast_id)); in OnBroadcastDestroyed() 119 Unretained(callbacks_), broadcast_id, state)); in OnBroadcastStateChanged() 127 Unretained(callbacks_), broadcast_id, broadcast_metadata)); in OnBroadcastMetadataChanged() 139 LeAudioBroadcasterCallbacks* callbacks_; member in __anon84298b5c0111::LeAudioBroadcasterInterfaceImpl
|
/packages/modules/Bluetooth/system/stack/arbiter/ |
D | acl_arbiter.cc | 45 RustArbiterCallbacks callbacks_{}; variable 53 callbacks_.on_le_connect(tcb_idx, advertiser_id); in OnLeConnect() 61 callbacks_.on_le_disconnect(tcb_idx); in OnLeDisconnect() 76 return callbacks_.intercept_packet(tcb_idx, std::move(vec)); in InterceptAttPacket() 84 callbacks_.on_outgoing_mtu_req(tcb_idx); in OnOutgoingMtuReq() 92 callbacks_.on_incoming_mtu_resp(tcb_idx, mtu); in OnIncomingMtuResp() 100 callbacks_.on_incoming_mtu_req(tcb_idx, mtu); in OnIncomingMtuReq() 138 callbacks_ = {on_le_connect, on_le_disconnect, intercept_packet, in StoreCallbacksFromRust()
|
/packages/modules/Bluetooth/system/bta/groups/ |
D | groups.cc | 97 for (auto c : callbacks_) { in add_to_group() 154 for (auto c : callbacks_) { in RemoveDevice() 159 for (auto c : callbacks_) { in RemoveDevice() 235 for (auto c : callbacks_) { in DeserializeGroups() 243 callbacks_.push_back(std::move(callbacks)); in AddCallbacks() 256 auto it = find_if(callbacks_.begin(), callbacks_.end(), in Clear() 259 if (it != callbacks_.end()) callbacks_.erase(it); in Clear() 261 if (callbacks_.size() != 0) { in Clear() 272 stream << " Num. registered clients: " << callbacks_.size() << std::endl; in Dump() 330 std::list<DeviceGroupsCallbacks*> callbacks_; member in bluetooth::groups::DeviceGroupsImpl
|
/packages/modules/Bluetooth/system/gd/hal/fuzz/ |
D | fuzz_hci_hal.cc | 28 callbacks_ = callbacks; in registerIncomingPacketCallback() 32 callbacks_ = nullptr; in unregisterIncomingPacketCallback() 86 callbacks_->hciEventReceived(data); in injectHciEvent() 95 callbacks_->aclDataReceived(data); in injectAclData() 104 callbacks_->scoDataReceived(data); in injectScoData() 113 callbacks_->isoDataReceived(data); in injectIsoData()
|
D | fuzz_hci_hal.h | 56 HciHalCallbacks* callbacks_; variable
|
/packages/modules/Bluetooth/system/gd/hal/ |
D | hci_backend_aidl.cc | 30 AidlHciCallbacks(std::shared_ptr<HciBackendCallbacks> callbacks) : callbacks_(callbacks) {} in AidlHciCallbacks() 35 callbacks_->initializationComplete(); in initializationComplete() 40 callbacks_->hciEventReceived(packet); in hciEventReceived() 45 callbacks_->aclDataReceived(packet); in aclDataReceived() 50 callbacks_->scoDataReceived(packet); in scoDataReceived() 55 callbacks_->isoDataReceived(packet); in isoDataReceived() 60 std::shared_ptr<HciBackendCallbacks> callbacks_; member in bluetooth::hal::AidlHciCallbacks
|
D | hci_backend_hidl.cc | 45 HidlHciCallbacks(std::shared_ptr<HciBackendCallbacks> callbacks) : callbacks_(callbacks) {} in HidlHciCallbacks() 50 callbacks_->initializationComplete(); in initializationComplete() 55 callbacks_->hciEventReceived(packet); in hciEventReceived() 60 callbacks_->aclDataReceived(packet); in aclDataReceived() 65 callbacks_->scoDataReceived(data); in scoDataReceived() 70 callbacks_->isoDataReceived(data); in isoDataReceived() 75 std::shared_ptr<HciBackendCallbacks> callbacks_; member in bluetooth::hal::HidlHciCallbacks
|
D | hci_hal_android.cc | 133 callbacks_->SetCallback(callback); in registerIncomingPacketCallback() 137 callbacks_->ResetCallback(); in unregisterIncomingPacketCallback() 183 callbacks_ = std::make_shared<HciCallbacksImpl>(btsnoop_logger_, link_clocker_); in Start() 185 backend_->initialize(callbacks_); in Start() 186 callbacks_->init_promise->get_future().wait(); in Start() 191 callbacks_.reset(); in Stop() 201 std::shared_ptr<HciCallbacksImpl> callbacks_; member in bluetooth::hal::HciHalImpl
|
D | hci_hal_host_test.cc | 151 hal_->registerIncomingPacketCallback(&callbacks_); in SetUp() 174 TestHciHalCallbacks callbacks_; member in bluetooth::hal::__anon175626240111::HciHalRootcanalTest
|
/packages/modules/Bluetooth/system/rust/src/connection/ffi/ |
D | connection_shim.cc | 77 if (callbacks_.has_value()) { in ~impl() 78 callbacks_.reset(); in ~impl() 96 callbacks_ = std::move(callbacks); in RegisterRustCallbacks() 103 callbacks_.value()->OnLeConnectSuccess(ToRustAddress(address)); in OnLeConnectSuccess() 109 callbacks_.value()->OnLeConnectFail(ToRustAddress(address), in OnLeConnectFail() 115 callbacks_.value()->OnLeDisconnection(ToRustAddress(address)); in OnLeDisconnection() 122 std::optional<BoxedLeAclManagerCallbackShim> callbacks_; member
|
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/ |
D | state_machine.cc | 68 if (callbacks_) callbacks_->OnStateMachineDestroyed(GetBroadcastId()); in ~BroadcastStateMachineImpl() 117 base::Unretained(this->callbacks_), broadcast_id)); in RequestOwnAddress() 160 callbacks_->OnStateMachineCreateStatus(GetBroadcastId(), false); in OnCreateAnnouncement() 184 callbacks_->OnStateMachineEvent(GetBroadcastId(), GetState()); in OnEnableAnnouncement() 195 callbacks_->OnStateMachineEvent(GetBroadcastId(), GetState()); in OnEnableAnnouncement() 239 static IBroadcastStateMachineCallbacks* callbacks_; member in __anon4b5c62470111::BroadcastStateMachineImpl 254 callbacks_->OnStateMachineEvent(GetBroadcastId(), GetState()); in __anon4b5c62470202() 275 callbacks_->OnStateMachineEvent(GetBroadcastId(), GetState()); in __anon4b5c62470902() 285 callbacks_->OnStateMachineEvent(GetBroadcastId(), GetState()); in __anon4b5c62470b02() 328 callbacks_->OnStateMachineCreateStatus(GetBroadcastId(), true); in OnAddressResponse() [all …]
|
D | broadcaster.cc | 94 bluetooth::le_audio::LeAudioBroadcasterCallbacks* callbacks_) in LeAudioBroadcasterImpl() argument 95 : callbacks_(callbacks_), in LeAudioBroadcasterImpl() 133 callbacks_ = nullptr; in CleanUp() 471 callbacks_->OnBroadcastCreated(bluetooth::le_audio::kBroadcastIdInvalid, in CreateAudioBroadcast() 483 callbacks_->OnBroadcastCreated(bluetooth::le_audio::kBroadcastIdInvalid, in CreateAudioBroadcast() 526 callbacks_->OnBroadcastCreated(bluetooth::le_audio::kBroadcastIdInvalid, in CreateAudioBroadcast() 539 callbacks_->OnBroadcastCreated( in CreateAudioBroadcast() 554 callbacks_->OnBroadcastCreated( in CreateAudioBroadcast() 600 callbacks_->OnBroadcastCreated(bluetooth::le_audio::kBroadcastIdInvalid, in CreateAudioBroadcast() 653 callbacks_->OnBroadcastCreated(bluetooth::le_audio::kBroadcastIdInvalid, in InstantiateBroadcast() [all …]
|
/packages/modules/Bluetooth/system/bta/has/ |
D | has_client.cc | 128 : gatt_if_(0), callbacks_(callbacks) { in HasClientImpl() 155 callbacks_->OnConnectionState(ConnectionState::DISCONNECTED, address); in Connect() 194 callbacks_->OnDeviceAvailable(address, features); in AddFromStorage() 237 callbacks_->OnConnectionState(ConnectionState::DISCONNECTED, addr); in Disconnect() 242 callbacks_->OnConnectionState(ConnectionState::DISCONNECTED, addr); in Disconnect() 321 callbacks_->OnActivePresetSelectError(op.addr_or_group, in OnHasActivePresetCycleStatus() 356 callbacks_->OnSetPresetNameError(device->addr, op.index, in OnHasPresetNameSetStatus() 387 callbacks_->OnPresetInfoError(device->addr, op.index, in OnHasPresetNameGetStatus() 430 callbacks_->OnPresetInfoError(device->addr, op.index, in OnHasPresetIndexOperation() 434 callbacks_->OnActivePresetSelectError(op.addr_or_group, in OnHasPresetIndexOperation() [all …]
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | le_periodic_sync_manager.h | 87 …: le_scanning_interface_(nullptr), handler_(nullptr), callbacks_(callbacks), sync_received_callbac… in PeriodicSyncManager() 95 callbacks_ = callbacks; in SetScanningCallback() 101 callbacks_->OnPeriodicSyncStarted( in StartSync() 161 callbacks_->OnPeriodicSyncTransferred(pa_source, status, address); in TransferSync() 180 callbacks_->OnPeriodicSyncTransferred(pa_source, status, address); in SyncSetInfo() 233 callbacks_->OnPeriodicSyncStarted( in HandlePeriodicAdvertisingCreateSyncStatus() 293 callbacks_->OnPeriodicSyncTransferred( in HandlePeriodicAdvertisingSyncTransferComplete() 347 callbacks_->OnPeriodicSyncStarted( in HandleLePeriodicAdvertisingSyncEstablished() 394 callbacks_->OnPeriodicSyncReport( in HandleLePeriodicAdvertisingReport() 406 callbacks_->OnPeriodicSyncLost(sync_handle); in HandleLePeriodicAdvertisingSyncLost() [all …]
|
/packages/modules/Bluetooth/system/main/test/ |
D | main_shim_test.cc | 245 callbacks_ = callbacks; in RegisterCallbacks() 281 hci::acl_manager::ConnectionManagementCallbacks* callbacks_{nullptr}; member in MockClassicAclConnection 301 callbacks_ = callbacks; in RegisterCallbacks() 327 hci::acl_manager::LeConnectionManagementCallbacks* callbacks_{nullptr}; member in MockLeAclConnection 430 ASSERT_NE(nullptr, raw_connection_->callbacks_); in SetUp() 448 raw_connection_->callbacks_->OnDisconnection(hci::ErrorCode::SUCCESS); in TearDown() 519 raw_connection->callbacks_->OnDisconnection(hci::ErrorCode::SUCCESS); in TEST_F() 675 ASSERT_NE(nullptr, raw_connection->callbacks_); in TEST_F() 688 raw_connection->callbacks_->OnDisconnection(hci::ErrorCode::SUCCESS); in TEST_F() 706 raw_connection_->callbacks_->OnReadRemoteExtendedFeaturesComplete( in TEST_F() [all …]
|
/packages/modules/Bluetooth/system/bta/vc/ |
D | vc.cc | 87 : gatt_if_(0), callbacks_(callbacks), latest_operation_id_(0) { in VolumeControlImpl() 120 callbacks_->OnConnectionState(ConnectionState::DISCONNECTED, address); in Connect() 132 callbacks_->OnConnectionState(ConnectionState::CONNECTED, in Connect() 383 callbacks_->OnVolumeStateChanged(device->address, device->volume, in HandleAutonomusVolumeChange() 392 callbacks_->OnVolumeStateChanged(device->address, device->volume, in HandleAutonomusVolumeChange() 409 callbacks_->OnGroupVolumeStateChanged(group_id, device->volume, in HandleAutonomusVolumeChange() 461 callbacks_->OnVolumeStateChanged(device->address, device->volume, in OnVolumeControlStateReadOrNotified() 490 callbacks_->OnGroupVolumeStateChanged(op->group_id_, device->volume, in OnVolumeControlStateReadOrNotified() 495 callbacks_->OnVolumeStateChanged(device->address, device->volume, in OnVolumeControlStateReadOrNotified() 531 callbacks_->OnExtAudioOutVolumeOffsetChanged(device->address, offset->id, in OnExtAudioOutStateChanged() [all …]
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | classic_acl_connection_test.cc | 275 TestConnectionManagementCallbacks callbacks_; member in bluetooth::hci::acl_manager::ClassicAclConnectionTest 282 connection->RegisterCallbacks(&callbacks_, handler_); in TEST_F() 293 connection_->RegisterCallbacks(&callbacks_, handler_); in SetUp() 334 ASSERT_TRUE(!callbacks_.on_disconnection_error_code_queue_.empty()); in TEST_F() 337 ASSERT_EQ(error_code, callbacks_.on_disconnection_error_code_queue_.front()); in TEST_F() 338 callbacks_.on_disconnection_error_code_queue_.pop(); in TEST_F()
|
D | le_acl_connection_test.cc | 187 connection_->RegisterCallbacks(&callbacks_, handler_); in SetUp() 213 TestLeConnectionManagementCallbacks callbacks_; member in bluetooth::hci::acl_manager::__anonc5d659a60111::LeAclConnectionTest 232 EXPECT_CALL(callbacks_, OnLeSubrateChange).Times(0); in TEST_F() 243 EXPECT_CALL(callbacks_, OnLeSubrateChange(ErrorCode::UNKNOWN_HCI_COMMAND, 0, 0, 0, 0)); in TEST_F()
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | le_audio_health_status.cc | 198 std::vector<LeAudioRecommendationActionCb> callbacks_; member in bluetooth::le_audio::LeAudioHealthStatusImpl 230 callbacks_.clear(); in clear_module() 237 for (auto& cb : callbacks_) { in send_recommendation_for_device() 246 for (auto& cb : callbacks_) { in send_recommendation_for_group() 281 callbacks_.push_back(std::move(cb)); in register_callback()
|
D | client.cc | 235 bluetooth::le_audio::LeAudioClientCallbacks* callbacks_, in LeAudioClientImpl() argument 239 callbacks_(callbacks_), in LeAudioClientImpl() 559 callbacks_->OnAudioConf(group->audio_directions_, group->group_id_, in UpdateLocationsAndContextsAvailability() 699 callbacks_->OnGroupNodeStatus(address, new_group->group_id_, in group_add_node() 752 callbacks_->OnGroupNodeStatus(address, group_id, GroupNodeStatus::REMOVED); in group_remove_node() 914 callbacks_->OnUnicastMonitorModeStatus( in GroupStream() 1071 callbacks_->OnUnicastMonitorModeStatus( in SetUnicastMonitorMode() 1079 callbacks_->OnUnicastMonitorModeStatus( in SetUnicastMonitorMode() 1083 callbacks_->OnUnicastMonitorModeStatus( in SetUnicastMonitorMode() 1236 callbacks_->OnGroupStatus(active_group_id_, GroupStatus::INACTIVE); in groupSetAndNotifyInactive() [all …]
|
/packages/modules/Bluetooth/system/bta/csis/ |
D | csis_client.cc | 122 : gatt_if_(0), callbacks_(callbacks) { in CsisClientImpl() 242 callbacks_->OnDeviceAvailable(device->addr, csis_group->GetGroupId(), in OnGroupAddFromStorageCb() 253 callbacks_->OnConnectionState(address, ConnectionState::DISCONNECTED); in Connect() 270 callbacks_->OnConnectionState(addr, ConnectionState::DISCONNECTED); in Disconnect() 280 callbacks_->OnConnectionState(addr, ConnectionState::DISCONNECTED); in Disconnect() 449 callbacks_->OnGroupLockChanged(group_id, lock, status); in NotifyGroupStatus() 697 callbacks_->OnDeviceAvailable(device->addr, group_id, in AddFromStorage() 896 callbacks_->OnDeviceAvailable( in NotifyCsisDeviceValidAndStoreIfNeeded() 907 callbacks_->OnConnectionState(device->addr, ConnectionState::CONNECTED); in NotifyCsisDeviceValidAndStoreIfNeeded() 1339 callbacks_->OnSetMemberAvailable(address, in CacheAndAdvertiseExpectedMember() [all …]
|
/packages/modules/Bluetooth/system/bta/ras/ |
D | ras_client.cc | 104 callbacks_ = callbacks; in RegisterCallbacks() 296 callbacks_->OnRemoteData(tracker->address_for_cs_, data); in OnRemoteData() 413 callbacks_->OnWriteVendorSpecificReplyComplete( in GattWriteCallbackForVendorSpecificData() 598 callbacks_->OnConnected(tracker->address_for_cs_, att_handle, in OnReadCharacteristicCallback() 662 bluetooth::ras::RasClientCallbacks* callbacks_; member in __anon21296e410111::RasClientImpl
|