/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/ |
H A D | avrcp_ct_service.cpp | 136 GetDispatcher()->PostTask(std::bind(&AvrcpCtService::EnableNative, this)); in Enable() 152 GetDispatcher()->PostTask(std::bind(&AvrcpCtService::DisableNative, this)); in Disable() 219 GetDispatcher(), in EnableProfile() 386 GetDispatcher()->PostTask(std::bind(&AvrcpCtService::ConnectNative, this, peerAddr)); in Connect() 416 GetDispatcher()->PostTask(std::bind(&AvrcpCtService::DisconnectNative, this, peerAddr)); in Disconnect() 507 service->GetDispatcher()->PostTask(std::bind(&AvrcpCtService::AcceptActiveConnect, service, rawAddr)); in FindTgServiceCallback() 509 service->GetDispatcher()->PostTask(std::bind(&AvrcpCtService::RejectActiveConnect, service, rawAddr)); in FindTgServiceCallback() 538 GetDispatcher()->PostTask(std::bind(&AvrcpCtService::PressButtonNative, this, peerAddr, button)); in PressButton() 594 GetDispatcher()->PostTask(std::bind(&AvrcpCtService::ReleaseButtonNative, this, peerAddr, button)); in ReleaseButton() 654 GetDispatcher() in GetUnitInfo() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/ |
H A D | gatt_client_service.cpp | 170 GetDispatcher()->PostTask(std::bind(&impl::Connect, pimpl.get(), appId, autoConnect)); in Connect() 181 GetDispatcher()->PostTask(std::bind(&impl::Disconnect, pimpl.get(), appId)); in Disconnect() 220 GetDispatcher()->PostTask(std::bind(&impl::RegisterApplication, in RegisterApplication() 239 GetDispatcher()->PostTask(std::bind(&impl::RegisterApplication, in RegisterSharedApplication() 257 GetDispatcher()->PostTask(std::bind(&impl::DeregisterApplication, pimpl.get(), appId, std::ref(promise))); in DeregisterApplication() 268 GetDispatcher()->PostTask(std::bind(&impl::DiscoveryServices, pimpl.get(), appId)); in DiscoveryServices() 279 GetDispatcher()->PostTask(std::bind(&impl::ReadCharacteristic, pimpl.get(), appId, characteristic.handle_)); in ReadCharacteristic() 290 GetDispatcher()->PostTask(std::bind(&impl::ReadCharacteristicByUuid, pimpl.get(), appId, uuid)); in ReadCharacteristicByUuid() 306 GetDispatcher()->PostTask(std::bind(&impl::WriteCharacteristic, in WriteCharacteristic() 328 GetDispatcher() in SignedWriteCharacteristic() [all...] |
H A D | gatt_server_service.cpp | 166 GetDispatcher()->PostTask(std::bind(&impl::CancelConnection, pimpl.get(), device)); in CancelConnection() 180 GetDispatcher()->PostTask(std::bind( in SetCharacteristicValue() 194 GetDispatcher()->PostTask(std::bind( in SetCharacteristicPermission() 215 GetDispatcher()->PostTask(std::bind(&impl::AddService, pimpl.get(), appId, service, true)); in AddService() 232 GetDispatcher()->PostTask(std::bind(&impl::RemoveService, pimpl.get(), appId, service.handle_)); in RemoveService() 244 GetDispatcher()->PostTask(std::bind(&impl::ClearServices, pimpl.get(), appId)); in ClearServices() 265 GetDispatcher()->PostTask(std::bind(&impl::NotifyClient, in NotifyClient() 292 GetDispatcher()->PostTask(std::bind(&impl::RespondCharacteristicRead, in RespondCharacteristicRead() 320 GetDispatcher()->PostTask(std::bind(&impl::RespondCharacteristicRead, in RespondCharacteristicReadByUuid() 339 GetDispatcher() in RespondCharacteristicWrite() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/ |
H A D | avrcp_tg_service.cpp | 529 GetDispatcher()->PostTask(std::bind(&AvrcpTgService::EnableNative, this)); in Enable() 544 GetDispatcher()->PostTask(std::bind(&AvrcpTgService::DisableNative, this)); in Disable() 690 GetDispatcher(), in EnableProfile() 832 GetDispatcher()->PostTask(std::bind(&AvrcpTgService::ConnectNative, this, peerAddr)); in Connect() 862 GetDispatcher()->PostTask(std::bind(&AvrcpTgService::DisconnectNative, this, peerAddr)); in Disconnect() 974 service->GetDispatcher()->PostTask(std::bind(&AvrcpTgService::AcceptPassiveConnect, service, rawAddr)); in FindCtServiceCallback() 976 service->GetDispatcher()->PostTask(std::bind(&AvrcpTgService::RejectPassiveConnect, service, rawAddr)); in FindCtServiceCallback() 1092 GetDispatcher()->PostTask( in OnSetAddressedPlayer() 1142 GetDispatcher()->PostTask(std::bind(&AvrcpTgService::OnSetBrowsedPlayerNative, in OnSetBrowsedPlayer() 1227 GetDispatcher() in OnGetPlayerAppSettingAttributes() [all...] |
/foundation/CastEngine/castengine_wifi_display/services/mediaplayer/src/ |
H A D | media_controller.cpp | 76 auto dispatcher = mediaChannel->GetDispatcher(); in Start() 105 auto dispatcher = mediaChannel->GetDispatcher(); in Stop() 174 auto dispatcher = mediaChannel->GetDispatcher(); in AppendSurface() 193 auto dispatcher = mediaChannel->GetDispatcher(); in RemoveSurface()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/ |
H A D | classic_adapter.cpp | 43 batteryObserverHf_(std::make_unique<ClassicBatteryObserverHf>(*GetDispatcher())), in ClassicAdapter() 44 batteryObserverAg_(std::make_unique<ClassicBatteryObserverAg>(*GetDispatcher())), in ClassicAdapter() 61 GetDispatcher()->PostTask(std::bind(&ClassicAdapter::StartUp, this)); in Enable() 101 GetDispatcher()->PostTask(std::bind(&ClassicAdapter::ShutDown, this)); in Disable() 203 GetDispatcher()->PostTask(std::bind(&ClassicAdapter::ProcessPostEnable, this)); in PostEnable() 396 GetDispatcher()->PostTask(std::bind(&ClassicAdapter::SetScanMode, this, mode)); in SetBtScanMode() 458 adapter->GetDispatcher()->PostTask(std::bind(&ClassicAdapter::ReceiveSetScanModeCallback, adapter, status)); in SetScanModeResultCallback() 494 if (GetDispatcher() != nullptr) { in ScanModeTimeout() 495 GetDispatcher()->PostTask(std::bind(&ClassicAdapter::ResetScanMode, this)); in ScanModeTimeout() 521 if (GetDispatcher() ! in HwProcessTimeout() [all...] |
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/rtp/mock/ |
H A D | mock_consumer_listener.h | 27 MOCK_METHOD(BufferDispatcher::Ptr, GetDispatcher, ());
|
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/rtp/ |
H A D | wfd_rtp_consumer_test.cpp | 196 EXPECT_CALL(*listener_, GetDispatcher()).WillOnce(Return(dispatcher)); in HWTEST_F() 214 EXPECT_CALL(*listener_, GetDispatcher()).WillOnce(Return(dispatcher)); in HWTEST_F() 232 EXPECT_CALL(*listener_, GetDispatcher()).WillOnce(Return(dispatcher)); in HWTEST_F() 250 EXPECT_CALL(*listener_, GetDispatcher()).WillOnce(Return(dispatcher)); in HWTEST_F()
|
/foundation/CastEngine/castengine_wifi_display/services/mediachannel/ |
H A D | base_consumer.h | 43 virtual BufferDispatcher::Ptr GetDispatcher() = 0;
|
H A D | media_channel.h | 58 BufferDispatcher::Ptr GetDispatcher() override
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/ |
H A D | socket_service.cpp | 45 GetDispatcher()->PostTask(std::bind(&SocketService::EnableNative, this)); in Enable() 60 GetDispatcher()->PostTask(std::bind(&SocketService::DisableNative, this)); in Disable()
|
H A D | socket.cpp | 61 socketService->GetDispatcher()->PostTask( 78 socketService->GetDispatcher()->PostTask(std::bind(&impl::OnConnectedNative, socket_.pimpl.get(), 90 socketService->GetDispatcher()->PostTask( 102 socketService->GetDispatcher()->PostTask( 114 socketService->GetDispatcher()->PostTask( 131 socketService->GetDispatcher()->PostTask( 693 socketService->GetDispatcher()->PostTask(std::bind(&Socket::OnSocketWriteReadyNative, &sock, std::ref(sock))); in OnSocketWriteReady() 900 socketService->GetDispatcher()->PostTask(std::bind(&Socket::OnSocketExceptionNative, &sock, std::ref(sock))); in OnSocketException() 1032 return socketService->GetDispatcher(); in GetDispatchter()
|
H A D | socket_sdp_client.cpp | 104 socketService->GetDispatcher()->PostTask(std::bind(&SocketService::ProcessMessage, socketService, msg)); in SdpSearchCallback()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_codec_thread.h | 97 Dispatcher *GetDispatcher() in GetDispatcher() function in OHOS::bluetooth::A2dpCodecThread
|
H A D | a2dp_service.cpp | 296 GetDispatcher()->PostTask(std::bind(&A2dpService::EnableService, this)); in Enable() 304 GetDispatcher()->PostTask(std::bind(&A2dpService::DisableService, this)); in Disable() 1049 GetDispatcher()->PostTask(std::bind(&A2dpService::ProcessEvent, this, event, device)); in PostEvent()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/ |
H A D | context.h | 142 Dispatcher *GetDispatcher() in GetDispatcher() function in utility::Context
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ |
H A D | ble_adapter.cpp | 167 GetDispatcher()->PostTask(std::bind(&BleAdapter::EnableTask, this)); in Enable() 241 GetDispatcher()->PostTask(std::bind(&BleAdapter::DisableTask, this)); in Disable() 291 GetDispatcher()->PostTask(std::bind(&BleAdapter::PostEnableTask, this)); in PostEnable() 300 GetDispatcher()->PostTask(std::bind(&BleAdapter::PostEnableTask, this)); in PostEnable() 990 pimpl->bleAdvertiser_ = std::make_unique<BleAdvertiserImpl>(callback, *this, *GetDispatcher()); in RegisterBleAdvertiserCallback() 1009 pimpl->bleCentralManager_ = std::make_unique<BleCentralManagerImpl>(callback, *this, *GetDispatcher()); in RegisterBleCentralManagerCallback() 1045 pimpl->bleSecurity_ = std::make_unique<BleSecurity>(*this, *GetDispatcher(), callback); in RegisterBleSecurityCallback() 1275 adapter->GetDispatcher()->PostTask( in LeConnectionComplete() 1328 adapter->GetDispatcher()->PostTask( in LeDisconnectionComplete() 1447 adapter->GetDispatcher() in OnReadRemoteRssiEvent() [all...] |
/foundation/CastEngine/castengine_wifi_display/services/impl/screen_capture/ |
H A D | screen_capture_consumer.cpp | 30 auto dispatcher = listener->GetDispatcher(); in OnFrame() 92 BufferDispatcher::Ptr dispatcher = listener->GetDispatcher(); in OnFrame()
|
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/wfd_sink/ |
H A D | wfd_rtp_consumer.cpp | 224 auto dispatcher = listener->GetDispatcher(); in OnRtpUnpackCallback()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
H A D | hfp_ag_profile_event_sender.cpp | 266 return service->GetDispatcher(); in GetDispatchter()
|
H A D | hfp_ag_sdp_client.cpp | 55 HfpAgService::GetService()->GetDispatcher()->PostTask( in SdpCallback()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/ |
H A D | hfp_hf_profile_event_sender.cpp | 271 return service->GetDispatcher(); in GetDispatchter()
|
H A D | hfp_hf_sdp_client.cpp | 52 HfpHfService::GetService()->GetDispatcher()->PostTask( in SdpCallback()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/ |
H A D | hid_host_service.cpp | 379 GetDispatcher()->PostTask(std::bind(&HidHostService::ProcessEvent, this, event)); in PostEvent()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/ |
H A D | pan_service.cpp | 438 GetDispatcher()->PostTask(std::bind(&PanService::ProcessEvent, this, event)); in PostEvent()
|