Home
last modified time | relevance | path

Searched refs:GetDispatcher (Results 1 - 25 of 28) sorted by relevance

12

/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_service.cpp136 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 Dgatt_client_service.cpp170 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 Dgatt_server_service.cpp166 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 Davrcp_tg_service.cpp529 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 Dmedia_controller.cpp76 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 Dclassic_adapter.cpp43 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 Dmock_consumer_listener.h27 MOCK_METHOD(BufferDispatcher::Ptr, GetDispatcher, ());
/foundation/CastEngine/castengine_wifi_display/tests/unittest/impl/rtp/
H A Dwfd_rtp_consumer_test.cpp196 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 Dbase_consumer.h43 virtual BufferDispatcher::Ptr GetDispatcher() = 0;
H A Dmedia_channel.h58 BufferDispatcher::Ptr GetDispatcher() override
/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/
H A Dsocket_service.cpp45 GetDispatcher()->PostTask(std::bind(&SocketService::EnableNative, this)); in Enable()
60 GetDispatcher()->PostTask(std::bind(&SocketService::DisableNative, this)); in Disable()
H A Dsocket.cpp61 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 Dsocket_sdp_client.cpp104 socketService->GetDispatcher()->PostTask(std::bind(&SocketService::ProcessMessage, socketService, msg)); in SdpSearchCallback()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_codec_thread.h97 Dispatcher *GetDispatcher() in GetDispatcher() function in OHOS::bluetooth::A2dpCodecThread
H A Da2dp_service.cpp296 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 Dcontext.h142 Dispatcher *GetDispatcher() in GetDispatcher() function in utility::Context
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_adapter.cpp167 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 Dscreen_capture_consumer.cpp30 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 Dwfd_rtp_consumer.cpp224 auto dispatcher = listener->GetDispatcher(); in OnRtpUnpackCallback()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_profile_event_sender.cpp266 return service->GetDispatcher(); in GetDispatchter()
H A Dhfp_ag_sdp_client.cpp55 HfpAgService::GetService()->GetDispatcher()->PostTask( in SdpCallback()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_profile_event_sender.cpp271 return service->GetDispatcher(); in GetDispatchter()
H A Dhfp_hf_sdp_client.cpp52 HfpHfService::GetService()->GetDispatcher()->PostTask( in SdpCallback()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/
H A Dhid_host_service.cpp379 GetDispatcher()->PostTask(std::bind(&HidHostService::ProcessEvent, this, event)); in PostEvent()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/
H A Dpan_service.cpp438 GetDispatcher()->PostTask(std::bind(&PanService::ProcessEvent, this, event)); in PostEvent()

Completed in 25 milliseconds

12