/drivers/hdf_core/adapter/uhdf2/manager/src/ |
H A D | devhost_service_proxy.c | 33 if (hostClnt->remote == NULL || data == NULL) { in DevHostServiceProxyOpsDevice() 34 HDF_LOGE("Adding device failed, hostClnt->remote or data or reply is null"); in DevHostServiceProxyOpsDevice() 39 status = hostClnt->remote->dispatcher->Dispatch(hostClnt->remote, opsCode, data, NULL); in DevHostServiceProxyOpsDevice() 57 if (hostClnt->remote == NULL || data == NULL) { in DevHostServiceProxyDelDevice() 58 HDF_LOGE("Del device failed, hostClnt->remote or data is null"); in DevHostServiceProxyDelDevice() 63 status = hostClnt->remote->dispatcher->Dispatch(hostClnt->remote, DEVHOST_SERVICE_DEL_DEVICE, data, NULL); in DevHostServiceProxyDelDevice() 96 if (hostClnt->remote == NULL || data == NULL || reply == NULL) { in DevHostServicProxyDump() 97 HDF_LOGE("dump host failed, hostClnt->remote o in DevHostServicProxyDump() 105 DevHostServiceProxyConstruct( struct DevHostServiceProxy *inst, struct HdfRemoteService *remote) DevHostServiceProxyConstruct() argument 120 DevHostServiceProxyObtain(uint32_t hostId, struct HdfRemoteService *remote) DevHostServiceProxyObtain() argument [all...] |
H A D | device_token_proxy.c | 19 static void HdfDevTokenProxyConstruct(struct HdfDevTokenProxy *inst, struct HdfRemoteService *remote) in HdfDevTokenProxyConstruct() argument 21 inst->remote = remote; in HdfDevTokenProxyConstruct() 24 struct HdfDevTokenProxy *HdfDevTokenProxyObtain(struct HdfRemoteService *remote) in HdfDevTokenProxyObtain() argument 29 HdfDevTokenProxyConstruct(instance, remote); in HdfDevTokenProxyObtain() 37 if (inst->remote != NULL) { in HdfDevTokenProxyRecycle() 38 HdfRemoteServiceRecycle(inst->remote); in HdfDevTokenProxyRecycle() 39 inst->remote = NULL; in HdfDevTokenProxyRecycle()
|
/drivers/hdf_core/adapter/uhdf2/hdi/src/ |
H A D | servstat_listener.c | 27 struct HdfRemoteService *remote; member 31 struct HdfRemoteService *remote, int cmdid, struct HdfSBuf *data, struct HdfSBuf *reply) in ServstatListenerStubRemoteDispatch() 34 struct ServstatListenerStub *stub = (struct ServstatListenerStub *)remote; in ServstatListenerStubRemoteDispatch() 40 if (!HdfRemoteServiceCheckInterfaceToken(stub->remote, data)) { in ServstatListenerStubRemoteDispatch() 63 if (listenerStub->remote == NULL) { in ServiceStatusListenerMarshalling() 66 return HdfSbufWriteRemoteService(buf, listenerStub->remote); in ServiceStatusListenerMarshalling() 79 stub->remote = HdfRemoteServiceObtain((struct HdfObject *)stub, &remoteDispatch); in HdiServiceStatusListenerNewInstance() 80 if (stub->remote == NULL) { in HdiServiceStatusListenerNewInstance() 84 if (!HdfRemoteServiceSetInterfaceDesc(stub->remote, SERVSTAT_LISTENER_INTERFACE_DESCRIPTOR)) { in HdiServiceStatusListenerNewInstance() 85 HdfRemoteServiceRecycle(stub->remote); in HdiServiceStatusListenerNewInstance() 30 ServstatListenerStubRemoteDispatch( struct HdfRemoteService *remote, int cmdid, struct HdfSBuf *data, struct HdfSBuf *reply) ServstatListenerStubRemoteDispatch() argument [all...] |
H A D | devmgr_client.c | 36 if (iDevMgr->remote == NULL || iDevMgr->remote->dispatcher == NULL || in DeviceManagerHdiCall() 37 iDevMgr->remote->dispatcher->Dispatch == NULL) { in DeviceManagerHdiCall() 41 return iDevMgr->remote->dispatcher->Dispatch(iDevMgr->remote, id, data, reply); in DeviceManagerHdiCall() 97 if (!HdfRemoteServiceWriteInterfaceToken(iDevMgr->remote, data)) { in DevmgrQueryDeviceInfo() 166 if (!HdfRemoteServiceWriteInterfaceToken(iDevMgr->remote, data)) { in DevmgrProcessLoad() 221 struct HdfRemoteService *remote = serviceMgr->GetService(serviceMgr, DEVICE_MANAGER_SERVICE); in HDIDeviceManagerGet() local 223 if (remote == NULL) { in HDIDeviceManagerGet() 231 HdfRemoteServiceRecycle(remote); in HDIDeviceManagerGet() [all...] |
H A D | servmgr_client.c | 29 struct HdfRemoteService *remote; member 36 if (servMgrClient->remote == NULL || servMgrClient->remote->dispatcher == NULL || in ServiceManagerHdiCall() 37 servMgrClient->remote->dispatcher->Dispatch == NULL) { in ServiceManagerHdiCall() 41 return servMgrClient->remote->dispatcher->Dispatch(servMgrClient->remote, id, data, reply); in ServiceManagerHdiCall() 92 if (!HdfRemoteServiceWriteInterfaceToken(servMgrClient->remote, data) || in HDIServMgrListServiceByInterfaceDesc() 139 if (!HdfRemoteServiceWriteInterfaceToken(servMgrClient->remote, data) || in HDIServMgrGetService() 170 if (!HdfRemoteServiceWriteInterfaceToken(servMgrClient->remote, data) || in HDIServMgrRegisterServiceStatusListener() 197 if (!HdfRemoteServiceWriteInterfaceToken(servMgrClient->remote, dat in HDIServMgrUnregisterServiceStatusListener() 221 struct HdfRemoteService *remote = HdfRemoteServiceGet(DEVICE_SERVICE_MANAGER_SA_ID); HDIServiceManagerGet() local [all...] |
/drivers/hdf_core/adapter/uhdf2/host/src/ |
H A D | devsvc_manager_proxy.c | 49 if (deviceFullService->remote == NULL) { in WriteServiceInfo() 54 if (HdfSbufWriteRemoteService(data, deviceFullService->remote) != HDF_SUCCESS) { in WriteServiceInfo() 55 HDF_LOGE("Add service failed, failed to write remote object"); in WriteServiceInfo() 80 if ((serviceProxy == NULL) || (serviceProxy->remote == NULL)) { in DevSvcManagerProxyAddService() 98 if (!HdfRemoteServiceWriteInterfaceToken(serviceProxy->remote, data) || in DevSvcManagerProxyAddService() 103 serviceProxy->remote->dispatcher->Dispatch(serviceProxy->remote, DEVSVC_MANAGER_ADD_SERVICE, data, reply); in DevSvcManagerProxyAddService() 120 if ((serviceProxy == NULL) || (serviceProxy->remote == NULL)) { in DevSvcManagerProxyUpdateService() 138 if (!HdfRemoteServiceWriteInterfaceToken(serviceProxy->remote, data) || in DevSvcManagerProxyUpdateService() 142 status = serviceProxy->remote in DevSvcManagerProxyUpdateService() 230 DevSvcManagerProxyConstruct(struct DevSvcManagerProxy *inst, struct HdfRemoteService *remote) DevSvcManagerProxyConstruct() argument 241 DevSvcManagerProxyObtain(struct HdfRemoteService *remote) DevSvcManagerProxyObtain() argument 254 struct HdfRemoteService *remote = HdfRemoteServiceGet(DEVICE_SERVICE_MANAGER_SA_ID); DevSvcManagerProxyCreate() local [all...] |
H A D | device_service_stub.c | 73 if (fullService->remote != NULL) { in DeviceServiceStubPublishService() 82 fullService->remote = HdfRemoteServiceObtain((struct HdfObject *)fullService, &g_deviceServiceDispatcher); in DeviceServiceStubPublishService() 83 if (fullService->remote == NULL) { in DeviceServiceStubPublishService() 89 !HdfRemoteServiceSetInterfaceDesc(fullService->remote, service->interfaceDesc)) { in DeviceServiceStubPublishService() 109 HdfRemoteServiceRecycle(fullService->remote); in DeviceServiceStubPublishService() 110 fullService->remote = NULL; in DeviceServiceStubPublishService() 122 HdfRemoteServiceRecycle(instance->remote); in DeviceServiceStubRemoveService() 123 instance->remote = NULL; in DeviceServiceStubRemoveService() 151 if (instance->remote != NULL) { in DeviceServiceStubRelease() 152 HdfRemoteServiceRecycle(instance->remote); in DeviceServiceStubRelease() [all...] |
H A D | devmgr_service_proxy.c | 37 if ((serviceProxy->remote == NULL) || (data == NULL) || (reply == NULL) || (hostStub == NULL)) { in DevmgrServiceProxyAttachDeviceHost() 41 remoteService = serviceProxy->remote; in DevmgrServiceProxyAttachDeviceHost() 49 HdfSbufWriteRemoteService(data, hostStub->remote) != HDF_SUCCESS) { in DevmgrServiceProxyAttachDeviceHost() 73 if (serviceProxy == NULL || serviceProxy->remote == NULL || data == NULL || reply == NULL || token == NULL) { in DevmgrServiceProxyAttachDevice() 77 struct HdfRemoteService *remoteService = serviceProxy->remote; in DevmgrServiceProxyAttachDevice() 98 if (serviceProxy == NULL || serviceProxy->remote == NULL || data == NULL || reply == NULL) { in DevmgrServiceProxyDetachDevice() 102 struct HdfRemoteService *remoteService = serviceProxy->remote; in DevmgrServiceProxyDetachDevice() 117 if (serviceProxy == NULL || serviceProxy->remote == NULL || svcName == NULL) { in DevmgrServiceProxyProcessLoad() 123 struct HdfRemoteService *remoteService = serviceProxy->remote; in DevmgrServiceProxyProcessLoad() 161 demgrServicProxy->remote in DevmgrServiceProxyObtain() 187 struct HdfRemoteService *remote = DevmgrServiceProxyCreate() local [all...] |
H A D | device_token_stub.c | 40 inst->remote = NULL; in DeviceTokenStubConstruct() 57 if (instance->remote != NULL) { in DeviceTokenStubRelease() 58 HdfRemoteServiceRecycle(instance->remote); in DeviceTokenStubRelease() 59 instance->remote = NULL; in DeviceTokenStubRelease()
|
/drivers/external_device_manager/frameworks/native/ |
H A D | driver_ext_mgr_client.cpp | 29 auto remote = proxy_->AsObject();
in ~DriverExtMgrClient() local 30 if (remote != nullptr) {
in ~DriverExtMgrClient() 31 remote->RemoveDeathRecipient(deathRecipient_);
in ~DriverExtMgrClient() 49 sptr<IRemoteObject> remote = sam->CheckSystemAbility(HDF_EXTERNAL_DEVICE_MANAGER_SA_ID);
in Connect() local 50 if (remote == nullptr) {
in Connect() 61 if ((remote->IsProxyObject()) && (!remote->AddDeathRecipient(deathRecipient_))) {
in Connect() 66 proxy_ = iface_cast<IDriverExtMgr>(remote);
in Connect() 74 void DriverExtMgrClient::DisConnect(const wptr<IRemoteObject> &remote)
in DisConnect() argument 82 if ((serviceRemote != nullptr) && (serviceRemote == remote in DisConnect() 88 OnRemoteDied(const wptr<IRemoteObject> &remote) OnRemoteDied() argument [all...] |
/drivers/peripheral/clearplay/interfaces/include/drm/v1_0/ |
H A D | media_key_session_proxy.h | 29 explicit MediaKeySessionProxy(const sptr<IRemoteObject>& remote) : IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaKeySession>(remote) {} in MediaKeySessionProxy() argument 69 OHOS::HDI::Drm::V1_0::MediaKeyRequest& mediaKeyRequest, const sptr<IRemoteObject> remote); 72 std::vector<uint8_t>& mediaKeyId, const sptr<IRemoteObject> remote); 75 const sptr<IRemoteObject> remote); 77 static int32_t ClearMediaKeys_(const sptr<IRemoteObject> remote); 80 std::vector<uint8_t>& releaseRequest, const sptr<IRemoteObject> remote); 83 const std::vector<uint8_t>& response, const sptr<IRemoteObject> remote); 85 static int32_t RestoreOfflineMediaKeys_(const std::vector<uint8_t>& mediaKeyId, const sptr<IRemoteObject> remote); 88 const sptr<IRemoteObject> remote); [all...] |
H A D | media_key_system_proxy.h | 29 explicit MediaKeySystemProxy(const sptr<IRemoteObject>& remote) : IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaKeySystem>(remote) {} in MediaKeySystemProxy() argument 75 const sptr<IRemoteObject> remote); 78 const sptr<IRemoteObject> remote); 81 const sptr<IRemoteObject> remote); 84 const sptr<IRemoteObject> remote); 86 static int32_t GetStatistics_(std::map<std::string, std::string>& statistics, const sptr<IRemoteObject> remote); 89 const sptr<IRemoteObject> remote); 92 const sptr<IRemoteObject> remote); 94 static int32_t ProcessKeySystemResponse_(const std::vector<uint8_t>& response, const sptr<IRemoteObject> remote); [all...] |
H A D | oem_certificate_proxy.h | 29 explicit OemCertificateProxy(const sptr<IRemoteObject>& remote) : IProxyBroker<OHOS::HDI::Drm::V1_0::IOemCertificate>(remote) {} in OemCertificateProxy() argument 45 const sptr<IRemoteObject> remote); 47 static int32_t ProcessOemKeySystemResponse_(const std::vector<uint8_t>& response, const sptr<IRemoteObject> remote); 49 static int32_t GetVersion_(uint32_t& majorVer, uint32_t& minorVer, const sptr<IRemoteObject> remote);
|
H A D | media_key_system_factory_proxy.h | 29 explicit MediaKeySystemFactoryProxy(const sptr<IRemoteObject>& remote) : IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaKeySystemFactory>(remote) {} in MediaKeySystemFactoryProxy() argument 48 OHOS::HDI::Drm::V1_0::ContentProtectionLevel level, bool& isSupported, const sptr<IRemoteObject> remote); 51 const sptr<IRemoteObject> remote); 54 std::string& uuid, const sptr<IRemoteObject> remote); 56 static int32_t GetVersion_(uint32_t& majorVer, uint32_t& minorVer, const sptr<IRemoteObject> remote);
|
H A D | media_decrypt_module_proxy.h | 29 explicit MediaDecryptModuleProxy(const sptr<IRemoteObject>& remote) : IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaDecryptModule>(remote) {} in MediaDecryptModuleProxy() argument 46 const OHOS::HDI::Drm::V1_0::DrmBuffer& srcBuffer, const OHOS::HDI::Drm::V1_0::DrmBuffer& destBuffer, const sptr<IRemoteObject> remote); 48 static int32_t Release_(const sptr<IRemoteObject> remote); 50 static int32_t GetVersion_(uint32_t& majorVer, uint32_t& minorVer, const sptr<IRemoteObject> remote);
|
H A D | media_key_session_callback_proxy.h | 29 explicit MediaKeySessionCallbackProxy(const sptr<IRemoteObject>& remote) : IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaKeySessionCallback>(remote) {} in MediaKeySessionCallbackProxy() argument 47 const std::vector<uint8_t>& data, const sptr<IRemoteObject> remote); 50 OHOS::HDI::Drm::V1_0::MediaKeySessionKeyStatus>& keyStatus, bool newKeysAvailable, const sptr<IRemoteObject> remote); 52 static int32_t GetVersion_(uint32_t& majorVer, uint32_t& minorVer, const sptr<IRemoteObject> remote);
|
H A D | media_key_system_callback_proxy.h | 29 explicit MediaKeySystemCallbackProxy(const sptr<IRemoteObject>& remote) : IProxyBroker<OHOS::HDI::Drm::V1_0::IMediaKeySystemCallback>(remote) {} in MediaKeySystemCallbackProxy() argument 44 const std::vector<uint8_t>& data, const sptr<IRemoteObject> remote); 46 static int32_t GetVersion_(uint32_t& majorVer, uint32_t& minorVer, const sptr<IRemoteObject> remote);
|
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/src/ |
H A D | audio_proxy_manager.cpp | 35 if (manager == NULL || manager->remote == NULL || descs == NULL || size == NULL) { in AudioProxyManagerGetAllAdapters() 42 if (!HdfRemoteServiceWriteInterfaceToken(manager->remote, data)) { in AudioProxyManagerGetAllAdapters() 54 ret = AudioProxyDispatchCall(manager->remote, AUDIO_HDI_MGR_GET_ALL_ADAPTER, data, reply); in AudioProxyManagerGetAllAdapters() 71 if (manager == NULL || manager->remote == NULL || desc == NULL || in AudioProxyManagerLoadAdapter() 78 if (!HdfRemoteServiceWriteInterfaceToken(manager->remote, data)) { in AudioProxyManagerLoadAdapter() 97 int32_t ret = AudioProxyDispatchCall(manager->remote, AUDIO_HDI_MGR_LOAD_ADAPTER, data, reply); in AudioProxyManagerLoadAdapter() 110 hwAdapter->proxyRemoteHandle = manager->remote; // get dispatch Server in AudioProxyManagerLoadAdapter() 124 if (manager == NULL || manager->remote == NULL || adapter == NULL) { in AudioProxyManagerUnloadAdapter() 139 if (!HdfRemoteServiceWriteInterfaceToken(manager->remote, data)) { in AudioProxyManagerUnloadAdapter() 144 int32_t ret = AudioProxyDispatchCall(manager->remote, AUDIO_HDI_MGR_UNLOAD_ADAPTE in AudioProxyManagerUnloadAdapter() 170 struct HdfRemoteService *remote = serviceMgr->GetService(serviceMgr, HDI_SERVER_NAME); GetAudioProxyManagerFuncs() local [all...] |
/drivers/peripheral/codec/hal/src/ |
H A D | codec_callback_type_proxy.c | 26 struct HdfRemoteService *remote; member 46 if (self->remote == NULL || self->remote->dispatcher == NULL || self->remote->dispatcher->Dispatch == NULL) { in CodecCallbackTypeProxyCall() 50 return self->remote->dispatcher->Dispatch(self->remote, id, data, reply); in CodecCallbackTypeProxyCall() 113 if (!HdfRemoteServiceWriteInterfaceToken(self->remote, data)) { in CodecCallbackTypeProxyEventHandler() 160 if (!HdfRemoteServiceWriteInterfaceToken(self->remote, data)) { in CodecCallbackTypeProxyEmptyBufferDone() 205 if (!HdfRemoteServiceWriteInterfaceToken(self->remote, data)) { in CodecCallbackTypeProxyFillBufferDone() 244 struct CodecCallbackType *CodecCallbackTypeGet(struct HdfRemoteService *remote) in CodecCallbackTypeGet() argument [all...] |
/drivers/hdf_core/adapter/uhdf2/hdi/test/stub_collector/ |
H A D | stub_collector_test.cpp | 32 void TestDestruct(struct HdfRemoteService **remote)
in TestDestruct() argument 34 (void)remote;
in TestDestruct() 65 struct HdfRemoteService **remote = StubCollectorGetOrNewObject(nullptr, nullptr);
in HWTEST_F() local 66 ASSERT_EQ(remote, nullptr);
in HWTEST_F() 73 struct HdfRemoteService **remote = StubCollectorGetOrNewObject(IFDESC, service);
in HWTEST_F() local 74 ASSERT_EQ(remote, nullptr);
in HWTEST_F() 90 struct HdfRemoteService **remote = StubCollectorGetOrNewObject(tmpDesc, service);
in HWTEST_F() local 91 ASSERT_EQ(remote, nullptr);
in HWTEST_F() 103 struct HdfRemoteService **remote = StubCollectorGetOrNewObject(IFDESC, service);
in HWTEST_F() local 104 ASSERT_EQ(remote, nullpt in HWTEST_F() [all...] |
/drivers/peripheral/codec/hal/idl_service/src/ |
H A D | codec_death_recipient.cpp | 39 CODEC_LOGE("can not find remote service in g_remoteCompsMap!");
in CleanResourceOfDiedService() 57 const sptr<OHOS::IRemoteObject> &remote = OHOS::HDI::hdi_objcast<ICodecCallback>(callbacks);
in RegisterDeathRecipientService() local 58 g_compRemoteMap.emplace(std::make_pair(componentId, remote.GetRefPtr()));
in RegisterDeathRecipientService() 60 auto remoteComps = g_remoteCompsMap.find(remote.GetRefPtr());
in RegisterDeathRecipientService() 68 bool ret = remote->AddDeathRecipient(deathCallBack);
in RegisterDeathRecipientService() 76 g_remoteCompsMap.emplace(std::make_pair(remote.GetRefPtr(), compIds));
in RegisterDeathRecipientService() 77 g_deathReciMap[remote.GetRefPtr()] = deathCallBack;
in RegisterDeathRecipientService() 90 IRemoteObject *remote = compRemote->second;
in RemoveMapperOfDestoryedComponent() local 91 auto remoteComps = g_remoteCompsMap.find(remote);
in RemoveMapperOfDestoryedComponent() 101 auto deathReci = g_deathReciMap.find(remote);
in RemoveMapperOfDestoryedComponent() [all...] |
/drivers/external_device_manager/services/zidl/src/ |
H A D | driver_ext_mgr_proxy.cpp | 27 sptr<IRemoteObject> remote = Remote();
in QueryDevice() local 28 if (remote == nullptr) {
in QueryDevice() 29 EDM_LOGE(MODULE_FRAMEWORK, "remote is nullptr");
in QueryDevice() 48 remote->SendRequest(static_cast<uint32_t>(DriverExtMgrInterfaceCode::QUERY_DEVICE), data, reply, option);
in QueryDevice() 79 sptr<IRemoteObject> remote = Remote();
in BindDevice() local 80 if (remote == nullptr) {
in BindDevice() 81 EDM_LOGE(MODULE_FRAMEWORK, "remote is nullptr");
in BindDevice() 105 remote->SendRequest(static_cast<uint32_t>(DriverExtMgrInterfaceCode::BIND_DEVICE), data, reply, option);
in BindDevice() 116 sptr<IRemoteObject> remote = Remote();
in UnBindDevice() local 117 if (remote in UnBindDevice() 150 sptr<IRemoteObject> remote = Remote(); QueryDeviceInfo() local 196 sptr<IRemoteObject> remote = Remote(); QueryDriverInfo() local [all...] |
H A D | driver_ext_mgr_callback_proxy.cpp | 23 sptr<IRemoteObject> remote = Remote();
in OnConnect() local 24 if (remote == nullptr) {
in OnConnect() 25 EDM_LOGE(MODULE_DEV_MGR, "remote is nullptr");
in OnConnect() 56 remote->SendRequest(static_cast<uint32_t>(DriverExtMgrCallbackInterfaceCode::ON_CONNECT), data, reply, option);
in OnConnect() 64 sptr<IRemoteObject> remote = Remote();
in OnDisconnect() local 65 if (remote == nullptr) {
in OnDisconnect() 66 EDM_LOGE(MODULE_DEV_MGR, "remote is nullptr");
in OnDisconnect() 91 int32_t ret = remote->SendRequest(
in OnDisconnect() 100 sptr<IRemoteObject> remote = Remote();
in OnUnBind() local 101 if (remote in OnUnBind() [all...] |
/drivers/peripheral/codec/hal/idl_service/include/ |
H A D | codec_death_recipient.h | 29 void CleanResourceOfDiedService(sptr<IRemoteObject> remote, wptr<CodecComponentManagerService> service);
40 sptr<IRemoteObject> remote = object.promote();
variable 41 if (remote == nullptr) {
44 CleanResourceOfDiedService(remote, mgr);
|
/drivers/hdf_core/adapter/uhdf2/ipc/src/ |
H A D | hdf_remote_adapter.cpp | 133 OHOS::sptr<OHOS::IRemoteObject> remote = holder->remote_; in HdfRemoteAdapterOptionalDispatch() local 134 if (remote != nullptr) { in HdfRemoteAdapterOptionalDispatch() 135 return remote->SendRequest(code, *dataParcel, *replyParcel, option); in HdfRemoteAdapterOptionalDispatch() 183 OHOS::sptr<OHOS::IRemoteObject> remote = holder->remote_; in HdfRemoteAdapterAddDeathRecipient() local 184 if (remote == nullptr) { in HdfRemoteAdapterAddDeathRecipient() 188 remote->RemoveDeathRecipient(holder->deathRecipient_); in HdfRemoteAdapterAddDeathRecipient() 191 remote->AddDeathRecipient(holder->deathRecipient_); in HdfRemoteAdapterAddDeathRecipient() 202 OHOS::sptr<OHOS::IRemoteObject> remote = holder->remote_; in HdfRemoteAdapterRemoveDeathRecipient() local 203 if (remote == nullptr) { in HdfRemoteAdapterRemoveDeathRecipient() 207 remote in HdfRemoteAdapterRemoveDeathRecipient() 242 auto remote = holder->remote_; HdfRemoteAdapterRecycle() local 287 OHOS::sptr<OHOS::IRemoteObject> remote = sr->GetService(OHOS::Str8ToStr16(name)); HdfRemoteAdapterGetService() local 322 OHOS::sptr<OHOS::IRemoteObject> remote = holder->remote_; HdfRemoteAdapterAddSa() local 354 OHOS::sptr<OHOS::IRemoteObject> remote = saManager->GetSystemAbility(saId); HdfRemoteAdapterGetSa() local [all...] |