Home
last modified time | relevance | path

Searched refs:hostProxy (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_remote_device.cpp53 return hostProxy->GetDeviceType(transport_, address_); in GetDeviceType()
79 return hostProxy->GetPhonebookPermission(address_); in GetPhonebookPermission()
97 return hostProxy->GetMessagePermission(address_); in GetMessagePermission()
115 return hostProxy->GetPowerMode(address_); in GetPowerMode()
125 hostProxy->GetDeviceName(transport_, address_, name); in GetDeviceName()
144 return hostProxy->GetDeviceAlias(address_); in GetDeviceAlias()
195 return hostProxy->StartPair(transport_, address_); in StartPair()
254 int ret = hostProxy->GetDeviceClass(address_, cod); in GetDeviceClass()
280 return hostProxy->GetDeviceUuids(address_, uuids); in GetDeviceUuids()
289 return hostProxy->SetDevicePin(address_, pin); in SetDevicePin()
[all …]
H A Dbluetooth_profile_manager.cpp109 sptr<IBluetoothHost> hostProxy = iface_cast<IBluetoothHost>(hostRemote); in GetProfileRemote() local
110 CHECK_AND_RETURN_LOG_RET(hostProxy != nullptr, nullptr, "hostProxy is nullptr"); in GetProfileRemote()
112 remote = hostProxy->GetBleRemote(objectName); in GetProfileRemote()
114 remote = hostProxy->GetProfile(objectName); in GetProfileRemote()
/ohos5.0/drivers/hdf_core/adapter/uhdf2/manager/src/
H A Ddevmgr_service_full.c31 struct DevHostServiceProxy *hostProxy = (struct DevHostServiceProxy *)hostClnt->hostService; in CleanupDiedHostResources() local
32 if (hostProxy != NULL) { in CleanupDiedHostResources()
33 if ((hostProxy->remote != NULL) && ((uintptr_t)hostProxy->remote == (uintptr_t)service)) { in CleanupDiedHostResources()
36 DevHostServiceProxyRecycle(hostProxy); in CleanupDiedHostResources()
40 hostProxy = (struct DevHostServiceProxy *)service->target; in CleanupDiedHostResources()
42 DevHostServiceProxyRecycle(hostProxy); in CleanupDiedHostResources()
45 hostProxy = (struct DevHostServiceProxy *)service->target; in CleanupDiedHostResources()
48 DevHostServiceProxyRecycle(hostProxy); in CleanupDiedHostResources()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_service_extension_ability/
H A Djs_ui_service_extension.cpp73 int32_t UIServiceStubImpl::SendData(sptr<IRemoteObject> hostProxy, OHOS::AAFwk::WantParams &data) in SendData() argument
77 return sptr->OnSendData(hostProxy, data); in SendData()
307 sptr<IRemoteObject> hostProxy = GetHostProxyFromWant(want); in OnConnect() local
308 if (hostProxy == nullptr) { in OnConnect()
326 if (hostProxyMap_.find(hostProxy) != hostProxyMap_.end()) { in OnConnect()
356 sptr<IRemoteObject> hostProxy = GetHostProxyFromWant(want); in OnDisconnect() local
357 if (hostProxy == nullptr) { in OnDisconnect()
367 auto iter = hostProxyMap_.find(hostProxy); in OnDisconnect()
478 sptrThis->HandleSendData(hostProxy, wantParams); in OnSendData()
490 if (hostProxy == nullptr) { in HandleSendData()
[all …]
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_service_extension_ability/connection/
H A Djs_ui_service_proxy.cpp30 int64_t connectionId, const sptr<IRemoteObject>& hostProxy) in CreateJsUIServiceProxy() argument
40 std::unique_ptr<JsUIServiceProxy> proxy = std::make_unique<JsUIServiceProxy>(impl, hostProxy); in CreateJsUIServiceProxy()
55 …rviceProxy::JsUIServiceProxy(const sptr<IRemoteObject>& impl, const sptr<IRemoteObject>& hostProxy) in JsUIServiceProxy() argument
59 hostProxy_ = hostProxy; in JsUIServiceProxy()
H A Dui_service_proxy.cpp38 int32_t UIServiceProxy::SendData(sptr<IRemoteObject> hostProxy, OHOS::AAFwk::WantParams &data) in SendData() argument
40 if (hostProxy == nullptr) { in SendData()
52 if (!parcelData.WriteRemoteObject(hostProxy)) { in SendData()
H A Dui_service_stub.cpp54 sptr<IRemoteObject> hostProxy = data.ReadRemoteObject(); in OnSendData() local
55 if (hostProxy == nullptr) { in OnSendData()
64 int32_t result = SendData(hostProxy, *wantParams); in OnSendData()
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ui_service_extension_ability/connection/
H A Djs_ui_service_proxy.h31 int64_t connectionId, const sptr<IRemoteObject>& hostProxy);
34 JsUIServiceProxy(const sptr<IRemoteObject>& impl, const sptr<IRemoteObject>& hostProxy);
H A Dui_service_interface.h35 virtual int32_t SendData(sptr<IRemoteObject> hostProxy, OHOS::AAFwk::WantParams &data) = 0;
H A Dui_service_proxy.h31 virtual int32_t SendData(sptr<IRemoteObject> hostProxy, OHOS::AAFwk::WantParams &data) override;
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ui_service_extension_ability/
H A Djs_ui_service_extension.h45 virtual int32_t SendData(sptr<IRemoteObject> hostProxy, OHOS::AAFwk::WantParams &data) override;
154 int32_t OnSendData(sptr<IRemoteObject> hostProxy, OHOS::AAFwk::WantParams &data);
168 void HandleSendData(sptr<IRemoteObject> hostProxy, const OHOS::AAFwk::WantParams &data);
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/
H A Djs_uiservice_ability_connection.cpp135 sptr<IRemoteObject> hostProxy = nullptr; in HandleOnAbilityConnectDone() local
137 hostProxy = hostStub->AsObject(); in HandleOnAbilityConnectDone()
140 connectionId_, hostProxy); in HandleOnAbilityConnectDone()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_ability/
H A Djs_uiservice_uiext_connection.cpp123 sptr<IRemoteObject> hostProxy = nullptr; in HandleOnAbilityConnectDone() local
125 hostProxy = hostStub->AsObject(); in HandleOnAbilityConnectDone()
128 connectionId_, hostProxy); in HandleOnAbilityConnectDone()
/ohos5.0/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
H A Daudio_bluetooth_manager.cpp149 sptr<IBluetoothHost> hostProxy = iface_cast<IBluetoothHost>(hostRemote); in GetProxy() local
150 if (!hostProxy) { in GetProxy()
155 sptr<IRemoteObject> remote = hostProxy->GetProfile("A2dpSrcServer"); in GetProxy()