Home
last modified time | relevance | path

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

123

/ohos5.0/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_object_proxy_unittest.cpp527 sptr<IPCObjectProxy> object = new IPCObjectProxy(
545 sptr<IPCObjectProxy> object = new IPCObjectProxy(
563 sptr<IPCObjectProxy> object = new IPCObjectProxy(
585 sptr<IPCObjectProxy> object = new IPCObjectProxy(
604 sptr<IPCObjectProxy> object = new IPCObjectProxy(
624 sptr<IPCObjectProxy> object = new IPCObjectProxy(
641 sptr<IPCObjectProxy> object = new IPCObjectProxy(
661 sptr<IPCObjectProxy> object = new IPCObjectProxy(
681 sptr<IPCObjectProxy> object = new IPCObjectProxy(
698 sptr<IPCObjectProxy> object = new IPCObjectProxy(
[all …]
H A Diremote_object_unitest.cpp57 IPCObjectProxy object(1);
70 sptr<IRemoteObject> object = new IPCObjectProxy(16);
83 sptr<IRemoteObject> object = new IPCObjectProxy(0);
H A Dipc_thread_skeleton_unittest.cpp65 sptr<IPCObjectProxy> objectProxy = new IPCObjectProxy(1);
H A Ddbinder_session_object_unittest.cpp98 IPCObjectProxy *testProxy = new IPCObjectProxy(1, u"testproxy");
H A Dipc_process_skeleton_unittest.cpp1236 sptr<IPCObjectProxy> objectProxy = new IPCObjectProxy(1);
1256 sptr<IPCObjectProxy> objectProxy = new IPCObjectProxy(1);
1273 sptr<IPCObjectProxy> objectProxy = new IPCObjectProxy(1);
1292 sptr<IPCObjectProxy> objectProxy = new IPCObjectProxy(1);
1311 sptr<IPCObjectProxy> objectProxy = new IPCObjectProxy(1);
1609 sptr<IPCObjectProxy> objectProxy = new IPCObjectProxy(1);
1630 sptr<IPCObjectProxy> objectProxy = new IPCObjectProxy(1);
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_object_proxy.cpp65 IPCObjectProxy::IPCObjectProxy(int handle, std::u16string descriptor, int proto) in IPCObjectProxy() function in OHOS::IPCObjectProxy
80 IPCObjectProxy::~IPCObjectProxy() in ~IPCObjectProxy()
114 int32_t IPCObjectProxy::GetObjectRefCount() in GetObjectRefCount()
523 void IPCObjectProxy::SendObituary() in SendObituary()
589 int IPCObjectProxy::GetProto() const in GetProto()
635 bool IPCObjectProxy::CanPromote() in CanPromote()
642 int IPCObjectProxy::UpdateProto() in UpdateProto()
680 int32_t IPCObjectProxy::IncRefToRemote() in IncRefToRemote()
697 void IPCObjectProxy::ReleaseProto() in ReleaseProto()
721 int IPCObjectProxy::GetProtoInfo() in GetProtoInfo()
[all …]
H A Ddbinder_session_object.cpp26 const std::string &serverDeviceId, uint64_t stubIndex, IPCObjectProxy *proxy, uint32_t tokenId) in DBinderSessionObject()
83 void DBinderSessionObject::SetProxy(IPCObjectProxy *proxy) in SetProxy()
88 IPCObjectProxy *DBinderSessionObject::GetProxy() const in GetProxy()
H A Ddbinder_callback_stub.cpp99 IPCObjectProxy *samgr = reinterpret_cast<IPCObjectProxy *>(object.GetRefPtr()); in ProcessProto()
286 IPCObjectProxy *samgr = reinterpret_cast<IPCObjectProxy *>(object.GetRefPtr()); in GetAndSaveDBinderData()
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/ipc_core/
H A Dlibipc_core_map31 OHOS::IPCObjectProxy*;
62 "virtual thunk to OHOS::IPCObjectProxy::~IPCObjectProxy()";
63 "virtual thunk to OHOS::IPCObjectProxy::OnLastStrongRef(void const*)";
64 "virtual thunk to OHOS::IPCObjectProxy::OnFirstStrongRef(void const*)";
70 "OHOS::IPCObjectProxy::IsObjectDead()";
74 "OHOS::IPCObjectProxy::GetInterfaceDescriptor()";
/ohos5.0/foundation/communication/ipc/ipc/native/test/fuzztest/core/ipcprocessskeleton_fuzzer/
H A Dipcprocessskeleton_fuzzer.cpp283 sptr<IRemoteObject> proxy = new IPCObjectProxy(0, u"", 0); in SetRegistryObjectTest002()
409 sptr<IPCObjectProxy> remoteObj = new IPCObjectProxy(0, u"proxyTest", 0); in ProxyMoveDBinderSessionTest()
410 IPCObjectProxy* proxy = remoteObj.GetRefPtr(); in ProxyMoveDBinderSessionTest()
434 sptr<IPCObjectProxy> remoteObj = new IPCObjectProxy(0, u"proxyTest", 0); in QueryProxyBySocketIdTest001()
435 IPCObjectProxy* proxy = remoteObj.GetRefPtr(); in QueryProxyBySocketIdTest001()
732 sptr<IPCObjectProxy> remoteObj = new IPCObjectProxy(0, u"proxyTest", 0); in AttachToDetachCallbackStubTest()
733 IPCObjectProxy* ipcProxy = remoteObj.GetRefPtr(); in AttachToDetachCallbackStubTest()
757 sptr<IPCObjectProxy> remoteObj = new IPCObjectProxy(0, u"proxyTest", 0); in QueryHandleByDatabusSessionTest()
758 IPCObjectProxy* proxy = remoteObj.GetRefPtr(); in QueryHandleByDatabusSessionTest()
783 sptr<IPCObjectProxy> remoteObj = new IPCObjectProxy(0, u"proxyTest", 0); in StubAttachToDetachDBinderSessionTest()
[all …]
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/include/
H A Ddbinder_session_object.h52 uint64_t stubIndex, IPCObjectProxy *proxy, uint32_t tokenId);
57 void SetProxy(IPCObjectProxy *proxy);
61 IPCObjectProxy *GetProxy() const;
82 IPCObjectProxy *proxy_;
H A Dipc_process_skeleton.h131 …std::shared_ptr<DBinderSessionObject> ProxyDetachDBinderSession(uint32_t handle, IPCObjectProxy *p…
134 bool ProxyMoveDBinderSession(uint32_t handle, IPCObjectProxy *proxy);
159 bool AttachCallbackStub(IPCObjectProxy *ipcProxy, sptr<IPCObjectStub> callbackStub);
160 sptr<IPCObjectStub> QueryCallbackStub(IPCObjectProxy *ipcProxy);
161 sptr<IPCObjectProxy> QueryCallbackProxy(IPCObjectStub *callbackStub);
162 sptr<IPCObjectStub> DetachCallbackStub(IPCObjectProxy *ipcProxy);
278 std::map<IPCObjectProxy *, sptr<IPCObjectStub>> noticeStub_;
/ohos5.0/foundation/communication/ipc/ipc/native/test/fuzztest/mock/binderinvoker_fuzzer/
H A Dbinderinvoker_fuzzer.cpp49 class MyDeathRecipient : public IPCObjectProxy::DeathRecipient {
64 sptr<IPCObjectProxy> proxy = new IPCObjectProxy(handle, u"proxyTest", proto); in AddDeathRecipientTest()
94 sptr<IRemoteObject> obj = new IPCObjectProxy(handle, u"proxyTest", proto); in FlattenObjectTest()
176 sptr<IRemoteObject> object = new IPCObjectProxy(handle, u"proxyTest", 0); in SetRegistryObjectTest002()
218 sptr<IRemoteObject> obj = new IPCObjectProxy(handle, u"", proto); in TranslateIRemoteObjectTest002()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/ipc_core/
H A Dipc_object_proxy.h25 class IPCObjectProxy : public IRemoteObject {
27 explicit IPCObjectProxy(int handle, std::u16string descriptor = std::u16string(),
29 ~IPCObjectProxy();
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/libdbinder/include/
H A Ddbinder_service.h355 …bool CheckInvokeListenThreadIllegal(IPCObjectProxy *proxy, MessageParcel &data, MessageParcel &rep…
357 const std::string &deviceId, IPCObjectProxy *proxy);
359 const std::string &serverSessionName, uint32_t selfTokenId, IPCObjectProxy *proxy);
360 …uint32_t OnRemoteInvokerDataBusMessage(IPCObjectProxy *proxy, std::shared_ptr<struct DHandleEntryT…
363 std::string GetDatabusNameByProxy(IPCObjectProxy *proxy);
368 …bool HandleInvokeListenThread(IPCObjectProxy *proxy, uint64_t stubIndex, std::string serverSession…
/ohos5.0/foundation/communication/ipc/services/dbinder/dbinder_service/src/
H A Ddbinder_death_recipient.cpp33 IPCObjectProxy *callbackProxy = reinterpret_cast<IPCObjectProxy *>(object.GetRefPtr()); in OnRemoteDied()
H A Ddbinder_service_stub.cpp173 IPCObjectProxy *callbackProxy = reinterpret_cast<IPCObjectProxy *>(object.GetRefPtr()); in AddDbinderDeathRecipient()
215 IPCObjectProxy *callbackProxy = reinterpret_cast<IPCObjectProxy *>(object.GetRefPtr()); in RemoveDbinderDeathRecipient()
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/ipc_core/include/
H A Dipc_object_proxy.h42 class IPCObjectProxy : public IRemoteObject {
44 explicit IPCObjectProxy(int handle, std::u16string descriptor = std::u16string(),
46 ~IPCObjectProxy();
/ohos5.0/foundation/communication/ipc/services/dbinder/test/unittest/
H A Ddbinder_service_stub_unittest.cpp528 sptr<IPCObjectProxy> callbackProxy = new (std::nothrow) IPCObjectProxy(0);
549 sptr<IPCObjectProxy> callbackProxy = new (std::nothrow) IPCObjectProxy(0);
587 sptr<IPCObjectProxy> callbackProxy = new (std::nothrow) IPCObjectProxy(0);
608 sptr<IPCObjectProxy> callbackProxy = new (std::nothrow) IPCObjectProxy(0);
H A Ddbinder_service_unittest.cpp700 IPCObjectProxy* proxy = nullptr;
703 IPCObjectProxy object(16);
881 sptr<IRemoteObject> object = new IPCObjectProxy(16);
902 sptr<IRemoteObject> object = new IPCObjectProxy(16);
922 sptr<IRemoteObject> object = new IPCObjectProxy(16);
942 sptr<IRemoteObject> object = new IPCObjectProxy(100);
956 sptr<IRemoteObject> object = new IPCObjectProxy(20);
986 sptr<IRemoteObject> object = new IPCObjectProxy(16);
1073 sptr<IRemoteObject> object = new IPCObjectProxy(16);
1144 IPCObjectProxy* proxy = nullptr;
[all …]
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi/src/
H A Dnapi_remote_proxy.cpp120 IPCObjectProxy *targetProxy = reinterpret_cast<IPCObjectProxy *>(target.GetRefPtr()); in SendRequestAsync()
168 IPCObjectProxy *targetProxy = reinterpret_cast<IPCObjectProxy *>(target.GetRefPtr()); in SendRequestPromise()
609 IPCObjectProxy *target = reinterpret_cast<IPCObjectProxy *>(holder->object_.GetRefPtr()); in NAPI_RemoteProxy_getInterfaceDescriptor()
635 IPCObjectProxy *target = reinterpret_cast<IPCObjectProxy *>(holder->object_.GetRefPtr()); in NAPI_RemoteProxy_getDescriptor()
662 IPCObjectProxy *target = reinterpret_cast<IPCObjectProxy *>(holder->object_.GetRefPtr()); in NAPI_RemoteProxy_isObjectDead()
/ohos5.0/foundation/communication/ipc/ipc/native/src/jni/source/
H A Dohos_rpc_remote_object.cpp675 IPCObjectProxy *proxy = reinterpret_cast<IPCObjectProxy *>(proxyHolder->object_.GetRefPtr()); in Java_ohos_rpc_RemoteProxy_nativeFreeProxyHolder()
826 IPCObjectProxy *target = reinterpret_cast<IPCObjectProxy *>(holder->object_.GetRefPtr()); in Java_ohos_rpc_RemoteProxy_nativeGetInterfaceDescriptor()
849 IPCObjectProxy *target = reinterpret_cast<IPCObjectProxy *>(holder->object_.GetRefPtr()); in Java_ohos_rpc_RemoteProxy_nativeIsObjectDead()
871 IPCObjectProxy *target = reinterpret_cast<IPCObjectProxy *>(holder->object_.GetRefPtr()); in Java_ohos_rpc_RemoteProxy_nativeGetHandle()
/ohos5.0/foundation/systemabilitymgr/samgr/test/fuzztest/samgr_fuzzer/src/
H A Dfuzztest_utils.cpp47 IPCObjectProxy* proxy = reinterpret_cast<IPCObjectProxy*>(dmProxy.GetRefPtr()); in IsDmReady()
/ohos5.0/foundation/systemabilitymgr/samgr/test/fuzztest/systemabilitymanager_fuzzer/
H A Dsystemabilitymanager_fuzzer.cpp68 IPCObjectProxy* proxy = reinterpret_cast<IPCObjectProxy*>(dmProxy.GetRefPtr()); in IsDmReady()
/ohos5.0/foundation/communication/ipc/services/dbinder/test/moduletest/src/
H A Drpc_client_test.cpp34 static IPCObjectProxy *g_proxy;
67 g_proxy = reinterpret_cast<IPCObjectProxy *>(object.GetRefPtr());

123