Home
last modified time | relevance | path

Searched refs:GetProfileService (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_socket_server.cpp35 …IProfileSocket *socket = (IProfileSocket *)IProfileManager::GetInstance()->GetProfileService(PROFI… in Connect()
50 …IProfileSocket *socket = (IProfileSocket *)IProfileManager::GetInstance()->GetProfileService(PROFI… in Listen()
H A Dbluetooth_avrcp_tg_server.cpp66 … service_ = static_cast<IProfileAvrcpTg *>(svManager->GetProfileService(PROFILE_NAME_AVRCP_TG)); in impl()
81 … service_ = static_cast<IProfileAvrcpTg *>(svManager->GetProfileService(PROFILE_NAME_AVRCP_TG)); in ~impl()
97 … service_ = static_cast<IProfileAvrcpTg *>(servManager->GetProfileService(PROFILE_NAME_AVRCP_TG)); in IsEnabled()
111 … service_ = static_cast<IProfileAvrcpTg *>(svManager->GetProfileService(PROFILE_NAME_AVRCP_TG)); in OnSystemStateChange()
H A Dbluetooth_a2dp_sink_server.cpp80 (IProfileA2dpSnk *)serviceMgr->GetProfileService(PROFILE_NAME_A2DP_SINK); in OnSystemStateChange()
117 … pimpl->a2dpSnkService_ = (IProfileA2dpSnk *)serviceMgr->GetProfileService(PROFILE_NAME_A2DP_SINK); in BluetoothA2dpSinkServer()
H A Dbluetooth_hfp_ag_server.cpp109 … pimpl_->HfpAgService_ = (IProfileHfpAg*)serviceMgr->GetProfileService(PROFILE_NAME_HFP_AG); in OnSystemStateChange()
117 … pimpl_->HfpAgService_ = (IProfileHfpAg*)serviceMgr->GetProfileService(PROFILE_NAME_HFP_AG); in OnSystemStateChange()
147 pimpl->HfpAgService_ = (IProfileHfpAg*)serviceMgr->GetProfileService(PROFILE_NAME_HFP_AG); in BluetoothHfpAgServer()
H A Dbluetooth_hfp_hf_server.cpp140 … pimpl_->HfpHfService_ = (IProfileHfpHf*)serviceMgr->GetProfileService(PROFILE_NAME_HFP_HF); in OnSystemStateChange()
148 … pimpl_->HfpHfService_ = (IProfileHfpHf*)serviceMgr->GetProfileService(PROFILE_NAME_HFP_HF); in OnSystemStateChange()
177 pimpl->HfpHfService_ = (IProfileHfpHf*)serviceMgr->GetProfileService(PROFILE_NAME_HFP_HF); in BluetoothHfpHfServer()
H A Dbluetooth_a2dp_source_server.cpp122 (IProfileA2dpSrc *)serviceMgr->GetProfileService(PROFILE_NAME_A2DP_SRC); in OnSystemStateChange()
160 … pimpl->a2dpSrcService_ = (IProfileA2dpSrc *)serviceMgr->GetProfileService(PROFILE_NAME_A2DP_SRC); in BluetoothA2dpSourceServer()
H A Dbluetooth_pan_server.cpp72 IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_PAN)); in GetServicePtr()
H A Dbluetooth_avrcp_ct_server.cpp245 … service_ = static_cast<IProfileAvrcpCt *>(svManager->GetProfileService(PROFILE_NAME_AVRCP_CT)); in impl()
260 … service_ = static_cast<IProfileAvrcpCt *>(svManager->GetProfileService(PROFILE_NAME_AVRCP_CT)); in ~impl()
276 … service_ = static_cast<IProfileAvrcpCt *>(servManager->GetProfileService(PROFILE_NAME_AVRCP_CT)); in IsEnabled()
290 … service_ = static_cast<IProfileAvrcpCt *>(svManager->GetProfileService(PROFILE_NAME_AVRCP_CT)); in OnSystemStateChange()
H A Dbluetooth_hid_host_server.cpp73 IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_HID_HOST)); in GetServicePtr()
H A Dbluetooth_gatt_client_server.cpp57 IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_GATT_CLIENT)); in GetServicePtr()
H A Dbluetooth_gatt_server_server.cpp57 …bluetooth::IProfileManager::GetInstance()->GetProfileService(bluetooth::PROFILE_NAME_GATT_SERVER)); in GetServicePtr()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/
H A Dsocket.cpp59 … static_cast<SocketService *>(IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_SPP)); in OnConnectIncoming()
76 … static_cast<SocketService *>(IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_SPP)); in OnConnected()
88 … static_cast<SocketService *>(IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_SPP)); in OnDisconnected()
100 … static_cast<SocketService *>(IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_SPP)); in OnDisconnectSuccess()
112 … static_cast<SocketService *>(IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_SPP)); in OnDataAvailable()
129 … static_cast<SocketService *>(IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_SPP)); in OnTransportError()
534 … static_cast<SocketService *>(IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_SPP)); in AddSocketInternal()
691 … static_cast<SocketService *>(IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_SPP)); in OnSocketWriteReady()
898 … static_cast<SocketService *>(IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_SPP)); in OnSocketException()
975 … static_cast<SocketService *>(IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_SPP)); in NotifyServiceDeleteSocket()
[all …]
H A Dsocket_sdp_client.cpp103 … static_cast<SocketService *>(IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_SPP)); in SdpSearchCallback()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_profile_manager.h70 virtual IProfile *GetProfileService(const std::string &name) const = 0;
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dprofile_service_manager.h83 IProfile *GetProfileService(const std::string &name) const override;
H A Dprofile_service_manager.cpp196 IProfile *ProfileServiceManager::GetProfileService(const std::string &name) const in GetProfileService() function in OHOS::bluetooth::ProfileServiceManager
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_tg/
H A Davrcp_tg_service.cpp332 return static_cast<IProfileAvrcpTg *>(svManager->GetProfileService(PROFILE_NAME_AVRCP_TG)); in GetService()
371 return static_cast<IProfileAvrcpTg *>(svManager->GetProfileService(PROFILE_NAME_AVRCP_TG)); in GetService()
410 return static_cast<IProfileAvrcpTg *>(svManager->GetProfileService(PROFILE_NAME_AVRCP_TG)); in GetService()
970 …auto service = static_cast<AvrcpTgService *>(servManager->GetProfileService(PROFILE_NAME_AVRCP_TG)… in FindCtServiceCallback()
2636 …auto service = static_cast<AvrcpTgService *>(servManager->GetProfileService(PROFILE_NAME_AVRCP_TG)… in GetPlayStatus()
2665 …auto service = static_cast<AvrcpTgService *>(servManager->GetProfileService(PROFILE_NAME_AVRCP_TG)… in GetPlayStatus()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/
H A Dhid_host_service.cpp40 return static_cast<HidHostService *>(servManager->GetProfileService(PROFILE_NAME_HID_HOST)); in GetService()
H A Dhid_host_hogp.cpp282 ->GetProfileService(PROFILE_NAME_GATT_CLIENT)); in GetGattClientService()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/
H A Davrcp_ct_service.cpp503 …auto service = static_cast<AvrcpCtService *>(servManager->GetProfileService(PROFILE_NAME_AVRCP_CT)… in FindTgServiceCallback()
2186 …auto service = static_cast<AvrcpCtService *>(servManager->GetProfileService(PROFILE_NAME_AVRCP_CT)… in ChannelEventCallback()
2216 …auto service = static_cast<AvrcpCtService *>(servManager->GetProfileService(PROFILE_NAME_AVRCP_CT)… in ChannelMessageCallback()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_adapter.cpp534 …static_cast<IProfileGattClient *>(IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_G… in RegisterGattClientApplication()
546 …static_cast<IProfileGattClient *>(IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_G… in DeregisterGattClientApplication()
557 …static_cast<IProfileGattClient *>(IProfileManager::GetInstance()->GetProfileService(PROFILE_NAME_G… in ReadRemoteDeviceNameByGatt()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/
H A Dpan_service.cpp39 return static_cast<PanService *>(servManager->GetProfileService(PROFILE_NAME_PAN)); in GetService()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_service.cpp1254 service = static_cast<A2dpService *>(servManager->GetProfileService(PROFILE_NAME_A2DP_SRC)); in GetServiceInstance()
1256 … service = static_cast<A2dpService *>(servManager->GetProfileService(PROFILE_NAME_A2DP_SINK)); in GetServiceInstance()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_service.cpp68 return static_cast<HfpHfService *>(servManager->GetProfileService(PROFILE_NAME_HFP_HF)); in GetService()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_service.cpp48 return static_cast<HfpAgService *>(servManager->GetProfileService(PROFILE_NAME_HFP_AG)); in GetService()

12