Home
last modified time | relevance | path

Searched refs:IPCObjectProxy (Results 1 – 23 of 23) sorted by relevance

/foundation/communication/ipc/ipc/native/src/core/source/
Dipc_object_proxy.cpp36 IPCObjectProxy::IPCObjectProxy(int handle, std::u16string descriptor, int proto) in IPCObjectProxy() function in OHOS::IPCObjectProxy
40 IPCObjectProxy::~IPCObjectProxy() in ~IPCObjectProxy()
45 int32_t IPCObjectProxy::GetObjectRefCount() in GetObjectRefCount()
56 int IPCObjectProxy::Dump(int fd, const std::vector<std::u16string> &args) in Dump()
65 int IPCObjectProxy::SendRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOp… in SendRequest()
74 int IPCObjectProxy::SendLocalRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, Mess… in SendLocalRequest()
79 int IPCObjectProxy::SendRequestInner(bool isLocal, uint32_t code, MessageParcel &data, MessageParce… in SendRequestInner()
104 std::u16string IPCObjectProxy::GetInterfaceDescriptor() in GetInterfaceDescriptor()
127 std::string IPCObjectProxy::GetPidAndUidInfo() in GetPidAndUidInfo()
140 std::string IPCObjectProxy::GetDataBusName() in GetDataBusName()
[all …]
Dipc_thread_skeleton.cpp131 IPCObjectProxy *proxy = reinterpret_cast<IPCObjectProxy *>(object); in GetProxyInvoker()
Ddbinder_callback_stub.cpp87 IPCObjectProxy *samgr = reinterpret_cast<IPCObjectProxy *>(object.GetRefPtr()); in ProcessProto()
Dipc_object_stub.cpp397 IPCObjectProxy *ipcProxy = current->QueryCallbackProxy(this); in NoticeServiceDie()
497 IPCObjectProxy *samgr = reinterpret_cast<IPCObjectProxy *>(object.GetRefPtr()); in GetDataBusName()
Dmessage_parcel.cpp132 const IPCObjectProxy *proxy = reinterpret_cast<const IPCObjectProxy *>(object.GetRefPtr()); in WriteRemoteObject()
Dipc_process_skeleton.cpp145 auto proxy = new (std::nothrow) IPCObjectProxy(handle, descriptor); in FindOrNewObject()
158 sptr<IPCObjectProxy> remoteProxy = reinterpret_cast<IPCObjectProxy *>(result.GetRefPtr()); in FindOrNewObject()
881 bool IPCProcessSkeleton::AttachCallbackStub(IPCObjectProxy *ipcProxy, sptr<IPCObjectStub> callbackS… in AttachCallbackStub()
884 …auto result = noticeStub_.insert(std::pair<IPCObjectProxy *, sptr<IPCObjectStub>>(ipcProxy, callba… in AttachCallbackStub()
900 bool IPCProcessSkeleton::DetachCallbackStubByProxy(IPCObjectProxy *ipcProxy) in DetachCallbackStubByProxy()
907 sptr<IPCObjectStub> IPCProcessSkeleton::QueryCallbackStub(IPCObjectProxy *ipcProxy) in QueryCallbackStub()
918 IPCObjectProxy *IPCProcessSkeleton::QueryCallbackProxy(IPCObjectStub *callbackStub) in QueryCallbackProxy()
/foundation/communication/ipc/interfaces/innerkits/ipc_core/include/
Dipc_object_proxy.h25 class IPCObjectProxy : public IRemoteObject {
27 explicit IPCObjectProxy(int handle, std::u16string descriptor = std::u16string(),
29 ~IPCObjectProxy();
/foundation/communication/ipc/services/dbinder/dbinder_service/src/
Ddbinder_sa_death_recipient.cpp44 IPCObjectProxy *proxy = reinterpret_cast<IPCObjectProxy *>(object.GetRefPtr()); in OnRemoteDied()
Ddbinder_death_recipient.cpp40 IPCObjectProxy *callbackProxy = reinterpret_cast<IPCObjectProxy *>(object.GetRefPtr()); in OnRemoteDied()
Ddbinder_service_stub.cpp148 IPCObjectProxy *callbackProxy = reinterpret_cast<IPCObjectProxy *>(object.GetRefPtr()); in AddDbinderDeathRecipient()
184 IPCObjectProxy *callbackProxy = reinterpret_cast<IPCObjectProxy *>(object.GetRefPtr()); in RemoveDbinderDeathRecipient()
Ddbinder_service.cpp384 IPCObjectProxy *saProxy = reinterpret_cast<IPCObjectProxy *>(proxy.GetRefPtr()); in FindOrNewProxy()
413 IPCObjectProxy *ipcProxy = reinterpret_cast<IPCObjectProxy *>(proxy.GetRefPtr()); in OnRemoteInvokerMessage()
448 std::string DBinderService::GetDatabusNameByProxy(IPCObjectProxy *proxy) in GetDatabusNameByProxy()
484 bool DBinderService::OnRemoteInvokerDataBusMessage(IPCObjectProxy *proxy, struct DHandleEntryTxRx *… in OnRemoteInvokerDataBusMessage()
746 bool DBinderService::DetachBusNameObject(IPCObjectProxy *proxy) in DetachBusNameObject()
753 bool DBinderService::AttachBusNameObject(IPCObjectProxy *proxy, const std::string &name) in AttachBusNameObject()
757 auto ret = busNameObject_.insert(std::pair<IPCObjectProxy *, std::string>(proxy, name)); in AttachBusNameObject()
762 std::string DBinderService::QueryBusNameObject(IPCObjectProxy *proxy) in QueryBusNameObject()
845IPCObjectProxy *callbackProxy = reinterpret_cast<IPCObjectProxy *>((it->first).GetRefPtr()); in ProcessCallbackProxy()
/foundation/communication/ipc/interfaces/innerkits/libdbinder/include/
Ddbinder_service.h118 bool DetachBusNameObject(IPCObjectProxy *proxy);
157 bool OnRemoteInvokerDataBusMessage(IPCObjectProxy *proxy, struct DHandleEntryTxRx *replyMessage,
160 bool AttachBusNameObject(IPCObjectProxy *proxy, const std::string &name);
161 std::string QueryBusNameObject(IPCObjectProxy *proxy);
162 std::string GetDatabusNameByProxy(IPCObjectProxy *proxy);
195 std::map<IPCObjectProxy *, std::string> busNameObject_;
/foundation/communication/ipc/ipc/native/src/core/include/
Dipc_process_skeleton.h142 bool AttachCallbackStub(IPCObjectProxy *ipcProxy, sptr<IPCObjectStub> callbackStub);
144 sptr<IPCObjectStub> QueryCallbackStub(IPCObjectProxy *ipcProxy);
145 IPCObjectProxy *QueryCallbackProxy(IPCObjectStub *callbackStub);
146 bool DetachCallbackStubByProxy(IPCObjectProxy *ipcProxy);
218 friend void IPCObjectProxy::OnLastStrongRef(const void *objectId);
248 std::map<IPCObjectProxy *, sptr<IPCObjectStub>> noticeStub_;
/foundation/communication/ipc/ipc/native/src/jni/source/
Dohos_rpc_remote_object.cpp764 IPCObjectProxy *target = reinterpret_cast<IPCObjectProxy *>(holder->object_.GetRefPtr()); in Java_ohos_rpc_RemoteProxy_nativeGetInterfaceDescriptor()
787 IPCObjectProxy *target = reinterpret_cast<IPCObjectProxy *>(holder->object_.GetRefPtr()); in Java_ohos_rpc_RemoteProxy_nativeIsObjectDead()
809 IPCObjectProxy *target = reinterpret_cast<IPCObjectProxy *>(holder->object_.GetRefPtr()); in Java_ohos_rpc_RemoteProxy_nativeGetHandle()
/foundation/communication/ipc/ipc/native/src/mock/source/
Ddbinder_databus_invoker.cpp81 …sptr<IPCObjectProxy> ipcProxy = reinterpret_cast<IPCObjectProxy *>(current->FindOrNewObject(handle… in NewSessionOfBinderProxy()
574 IPCObjectProxy *remoteProxy = reinterpret_cast<IPCObjectProxy *>(remoteObject); in OnDatabusSessionClosed()
832 IPCObjectProxy *proxy = reinterpret_cast<IPCObjectProxy *>(object); in FlushCommands()
Dbinder_invoker.cpp155 auto *proxy = reinterpret_cast<IPCObjectProxy *>(cookie); in AddDeathRecipient()
337 auto *proxy = reinterpret_cast<IPCObjectProxy *>(cookie); in OnBinderDied()
505 auto *proxy = reinterpret_cast<IPCObjectProxy *>(cookie); in OnRemoveRecipientDone()
870 const IPCObjectProxy *proxy = reinterpret_cast<const IPCObjectProxy *>(object); in FlattenObject()
/foundation/aafwk/standard/frameworks/kits/appkit/test/Mock/include/
Dmock_ipc_object_stub.cpp371 IPCObjectProxy *ipcProxy = current->QueryCallbackProxy(this); in NoticeServiceDie()
456 IPCObjectProxy *samgr = reinterpret_cast<IPCObjectProxy *>(object.GetRefPtr()); in GetDataBusName()
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/src/
Ddtbschedmgr_device_info_storage.cpp126 IPCObjectProxy* proxy = reinterpret_cast<IPCObjectProxy*>(dnetwork.GetRefPtr()); in WaitForDnetworkReady()
/foundation/distributedschedule/dmsfwk/services/dtbschedmgr/src/mission/
Ddistributed_data_storage.cpp96 IPCObjectProxy* proxy = reinterpret_cast<IPCObjectProxy*>(kvDataSvr.GetRefPtr()); in WaitKvDataService()
/foundation/communication/ipc/ipc/native/test/unittest/common/
Dipc_core_unittest.cpp143 IPCObjectProxy *proxy = reinterpret_cast<IPCObjectProxy *>(remote.GetRefPtr());
/foundation/deviceprofile/device_profile_core/services/core/src/dbstorage/
Ddevice_profile_storage_manager.cpp107 IPCObjectProxy* proxy = reinterpret_cast<IPCObjectProxy*>(kvDataSvr.GetRefPtr()); in WaitKvDataService()
/foundation/communication/ipc/ipc/native/src/napi/src/
Dnapi_remote_object.cpp1704 IPCObjectProxy *target = reinterpret_cast<IPCObjectProxy *>(holder->object_.GetRefPtr()); in NAPI_RemoteProxy_getInterfaceDescriptor()
1728 IPCObjectProxy *target = reinterpret_cast<IPCObjectProxy *>(holder->object_.GetRefPtr()); in NAPI_RemoteProxy_isObjectDead()
/foundation/communication/ipc/ipc/test/moduletest/native/common/
Dipc_core_module_test.cpp521 auto proxy = reinterpret_cast<IPCObjectProxy *>(object.GetRefPtr());