Home
last modified time | relevance | path

Searched refs:hostProxy (Results 1 - 16 of 16) sorted by relevance

/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_remote_device.cpp47 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); in GetDeviceType() local
48 CHECK_AND_RETURN_LOG_RET(hostProxy != nullptr, type, "proxy is nullptr."); in GetDeviceType()
50 return hostProxy->GetDeviceType(transport_, address_); in GetDeviceType()
73 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); in GetPhonebookPermission() local
74 CHECK_AND_RETURN_LOG_RET(hostProxy != nullptr, INVALID_VALUE, "proxy is nullptr."); in GetPhonebookPermission()
76 return hostProxy->GetPhonebookPermission(address_); in GetPhonebookPermission()
83 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); in SetPhonebookPermission() local
84 CHECK_AND_RETURN_LOG_RET(hostProxy != nullptr, false, "proxy is nullptr."); in SetPhonebookPermission()
85 return hostProxy->SetPhonebookPermission(address_, permission); in SetPhonebookPermission()
92 sptr<IBluetoothHost> hostProxy in GetMessagePermission() local
101 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); SetMessagePermission() local
110 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); GetPowerMode() local
119 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); GetDeviceName() local
130 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); GetDeviceName() local
139 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); GetDeviceAlias() local
151 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); SetDeviceAlias() local
160 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); GetRemoteDeviceBatteryInfo() local
180 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); GetPairState() local
190 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); StartPair() local
200 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); StartCrediblePair() local
210 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); CancelPairing() local
222 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); IsBondedFromLocal() local
230 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); IsAclConnected() local
239 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); IsAclEncrypted() local
249 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); GetDeviceClass() local
261 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); GetDeviceProductId() local
275 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); GetDeviceUuids() local
284 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); SetDevicePin() local
294 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); SetDevicePairingConfirmation() local
303 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); SetDevicePasskey() local
312 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); PairRequestReply() local
321 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); ReadRemoteRssiValue() local
358 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); SetDeviceCustomType() local
369 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); GetDeviceCustomType() local
384 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); GetDeviceVendorId() local
399 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); GetDeviceProductId() local
414 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); IsSupportVirtualAutoConnect() local
425 sptr<IBluetoothHost> hostProxy = GetRemoteProxy<IBluetoothHost>(BLUETOOTH_HOST); SetVirtualAutoConnectType() local
[all...]
H A Dbluetooth_profile_manager.cpp106 sptr<IBluetoothHost> hostProxy = iface_cast<IBluetoothHost>(hostRemote); in GetProfileRemote() local
107 CHECK_AND_RETURN_LOG_RET(hostProxy != nullptr, nullptr, "hostProxy is nullptr"); in GetProfileRemote()
109 remote = hostProxy->GetBleRemote(objectName); in GetProfileRemote()
111 remote = hostProxy->GetProfile(objectName); in GetProfileRemote()
/foundation/ability/ability_runtime/test/unittest/js_ui_service_proxy_test/
H A Djs_ui_service_proxy_test.cpp159 sptr<IRemoteObject> hostProxy = nullptr; in HWTEST_F() local
160 auto infos = std::make_shared<AAFwk::JsUIServiceProxy>(impl, hostProxy); in HWTEST_F()
162 napi_value result = infos->CreateJsUIServiceProxy(env_, impl, connectionId, hostProxy); in HWTEST_F()
176 sptr<IRemoteObject> hostProxy = new IRemoteObjectMocker(); in HWTEST_F() local
177 auto infos = std::make_shared<AAFwk::JsUIServiceProxy>(impl, hostProxy); in HWTEST_F()
184 napi_value result = infos->CreateJsUIServiceProxy(env, impl, connectionId, hostProxy); in HWTEST_F()
198 sptr<IRemoteObject> hostProxy = nullptr; in HWTEST_F() local
199 auto infos = std::make_shared<AAFwk::JsUIServiceProxy>(impl, hostProxy); in HWTEST_F()
214 sptr<IRemoteObject> hostProxy = nullptr; in HWTEST_F() local
215 auto infos = std::make_shared<AAFwk::JsUIServiceProxy>(impl, hostProxy); in HWTEST_F()
231 sptr<IRemoteObject> hostProxy = new IRemoteObjectMocker();; HWTEST_F() local
251 sptr<IRemoteObject> hostProxy = new IRemoteObjectMocker();; HWTEST_F() local
270 sptr<IRemoteObject> hostProxy = new IRemoteObjectMocker();; HWTEST_F() local
[all...]
/foundation/ability/ability_runtime/test/unittest/ui_service_proxy_test/
H A Dui_service_proxy_test.cpp119 sptr<IRemoteObject> hostProxy = nullptr; in HWTEST_F() local
120 int32_t res = Info->SendData(hostProxy, data); in HWTEST_F()
136 sptr<IRemoteObject> hostProxy = new IRemoteObjectMocker(); in HWTEST_F() local
137 int32_t res = Info->SendData(hostProxy, data); in HWTEST_F()
153 sptr<IRemoteObject> hostProxy = new IRemoteObjectMocker(); in HWTEST_F() local
154 int32_t res = Info->SendData(hostProxy, data); in HWTEST_F()
/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_service_extension_ability/connection/
H A Dui_service_stub.cpp54 sptr<IRemoteObject> hostProxy = data.ReadRemoteObject(); in OnSendData() local
55 if (hostProxy == nullptr) { in OnSendData()
56 TAG_LOGE(AAFwkTag::UISERVC_EXT, "UIServiceStub::OnSendData, read hostProxy failed"); in OnSendData()
64 int32_t result = SendData(hostProxy, *wantParams); in OnSendData()
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()
41 TAG_LOGE(AAFwkTag::UISERVC_EXT, "hostProxy == nullptr, SendData failed"); in SendData()
52 if (!parcelData.WriteRemoteObject(hostProxy)) { in SendData()
53 TAG_LOGE(AAFwkTag::UISERVC_EXT, "Write hostProxy failed."); in SendData()
H A Djs_ui_service_proxy.cpp30 int64_t connectionId, const sptr<IRemoteObject>& hostProxy) in CreateJsUIServiceProxy()
40 std::unique_ptr<JsUIServiceProxy> proxy = std::make_unique<JsUIServiceProxy>(impl, hostProxy); in CreateJsUIServiceProxy()
55 JsUIServiceProxy::JsUIServiceProxy(const sptr<IRemoteObject>& impl, const sptr<IRemoteObject>& hostProxy) in JsUIServiceProxy() argument
59 hostProxy_ = hostProxy; in JsUIServiceProxy()
29 CreateJsUIServiceProxy(napi_env env, const sptr<IRemoteObject>& impl, int64_t connectionId, const sptr<IRemoteObject>& hostProxy) CreateJsUIServiceProxy() argument
/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;
/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()
309 TAG_LOGE(AAFwkTag::UISERVC_EXT, "hostProxy null"); in OnConnect()
326 if (hostProxyMap_.find(hostProxy) != hostProxyMap_.end()) { in OnConnect()
330 napi_ref hostProxyNref = AAFwk::JsUIServiceHostProxy::CreateJsUIServiceHostProxy(env, hostProxy); in OnConnect()
344 hostProxyMap_[hostProxy] = std::unique_ptr<NativeReference>(reinterpret_cast<NativeReference*>(hostProxyNref)); in OnConnect()
356 sptr<IRemoteObject> hostProxy = GetHostProxyFromWant(want); in OnDisconnect() local
357 if (hostProxy in OnDisconnect()
464 OnSendData(sptr<IRemoteObject> hostProxy, OHOS::AAFwk::WantParams &data) OnSendData() argument
489 HandleSendData(sptr<IRemoteObject> hostProxy, const OHOS::AAFwk::WantParams &data) HandleSendData() argument
[all...]
/foundation/ability/ability_runtime/test/unittest/js_ui_service_extension_connection_test/
H A Djs_ui_service_extension_connection_test.cpp38 virtual int32_t SendData(sptr<IRemoteObject> hostProxy, OHOS::AAFwk::WantParams &data) override;
45 int32_t UIServiceStubImpl::SendData(sptr<IRemoteObject> hostProxy, OHOS::AAFwk::WantParams &data) in SendData() argument
/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;
151 * @param hostProxy the proxy used to send data back to client
154 int32_t OnSendData(sptr<IRemoteObject> hostProxy, OHOS::AAFwk::WantParams &data);
168 void HandleSendData(sptr<IRemoteObject> hostProxy, const OHOS::AAFwk::WantParams &data);
/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()
/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()
/foundation/ability/ability_runtime/test/unittest/ui_service_stub_test/
H A Dui_service_stub_test.cpp32 int32_t SendData(sptr<IRemoteObject> hostProxy, OHOS::AAFwk::WantParams &data) override

Completed in 8 milliseconds