Home
last modified time | relevance | path

Searched refs:IRemoteObjectWrapper (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/cxx/
H A Dremote_object_wrapper.cpp32 IRemoteObjectWrapper::IRemoteObjectWrapper(): raw_(nullptr) in IRemoteObjectWrapper() function in OHOS::IpcRust::IRemoteObjectWrapper
36 int32_t IRemoteObjectWrapper::SendRequest( in SendRequest()
42 IRemoteObject *IRemoteObjectWrapper::GetInner() const in GetInner()
56 rust::string IRemoteObjectWrapper::GetObjectDescriptor() const in GetObjectDescriptor()
72 int32_t IRemoteObjectWrapper::GetObjectRefCount() const in GetObjectRefCount()
77 bool IRemoteObjectWrapper::IsProxyObject() const in IsProxyObject()
81 bool IRemoteObjectWrapper::IsObjectDead() const in IsObjectDead()
85 bool IRemoteObjectWrapper::CheckObjectLegality() const in CheckObjectLegality()
112 auto wrapper = std::make_unique<IRemoteObjectWrapper>(); in OnRemoteDied()
162 auto wrapper = std::make_unique<IRemoteObjectWrapper>(); in FromSptrRemote()
[all …]
H A Dskeleton_wrapper.cpp94 std::unique_ptr<IRemoteObjectWrapper> GetContextObject() in GetContextObject()
96 auto wrapper = std::make_unique<IRemoteObjectWrapper>(); in GetContextObject()
104 int FlushCommands(IRemoteObjectWrapper &object) in FlushCommands()
H A Dparcel_wrapper.cpp70 bool WriteRemoteObject(MessageParcel &msgParcel, std::unique_ptr<IRemoteObjectWrapper> object) in WriteRemoteObject()
79 std::unique_ptr<IRemoteObjectWrapper> ReadRemoteObject(MessageParcel &msgParcel) in ReadRemoteObject()
85 auto wrapper = std::make_unique<IRemoteObjectWrapper>(); in ReadRemoteObject()
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/remote/
H A Dwrapper.rs52 type IRemoteObjectWrapper; typedef
70 -> UniquePtr<IRemoteObjectWrapper>; in FromCIRemoteObject() argument
73 self: &IRemoteObjectWrapper, in SendRequest() argument
80 fn GetInterfaceDescriptor(self: &IRemoteObjectWrapper) -> String; in GetInterfaceDescriptor()
81 fn GetObjectDescriptor(self: &IRemoteObjectWrapper) -> String; in GetObjectDescriptor()
83 fn IsProxyObject(self: &IRemoteObjectWrapper) -> bool; in IsProxyObject()
84 fn IsObjectDead(self: &IRemoteObjectWrapper) -> bool; in IsObjectDead()
85 fn CheckObjectLegality(self: &IRemoteObjectWrapper) -> bool; in CheckObjectLegality()
89 self: &IRemoteObjectWrapper, in AddDeathRecipient() argument
95 fn CloneRemoteObj(remote: &IRemoteObjectWrapper) -> UniquePtr<IRemoteObjectWrapper>; in CloneRemoteObj() argument
[all …]
H A Dobj.rs21 IRemoteObjectWrapper, RemoteStubWrapper, SptrIRemoteObject,
31 pub(crate) inner: UniquePtr<IRemoteObjectWrapper>,
51 pub fn try_new(wrap: UniquePtr<IRemoteObjectWrapper>) -> Option<Self> { in try_new()
59 pub unsafe fn new_unchecked(wrap: UniquePtr<IRemoteObjectWrapper>) -> Self { in new_unchecked()
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/include/
H A Dremote_object_wrapper.h39 class IRemoteObjectWrapper {
41 IRemoteObjectWrapper();
43 ~IRemoteObjectWrapper() = default;
95 std::unique_ptr<IRemoteObjectWrapper> FromSptrRemote(std::unique_ptr<sptr<IRemoteObject>> remote);
97 std::unique_ptr<IRemoteObjectWrapper> CloneRemoteObj(const IRemoteObjectWrapper &remote);
99 std::unique_ptr<IRemoteObjectWrapper> FromRemoteStub(rust::Box<RemoteStubWrapper> stub);
101 std::unique_ptr<IRemoteObjectWrapper> FromCIRemoteObject(IRemoteObject *stub);
H A Dskeleton_wrapper.h53 std::unique_ptr<IRemoteObjectWrapper> GetContextObject();
55 int FlushCommands(IRemoteObjectWrapper &object);
H A Dparcel_wrapper.h82 bool WriteRemoteObject(MessageParcel &msgParcel, std::unique_ptr<IRemoteObjectWrapper> object);
83 std::unique_ptr<IRemoteObjectWrapper> ReadRemoteObject(MessageParcel &msgParcel);
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/
H A Dskeleton.rs24 type IRemoteObjectWrapper = crate::remote::wrapper::IRemoteObjectWrapper; typedef
54 fn GetContextObject() -> UniquePtr<IRemoteObjectWrapper>; in GetContextObject()
56 fn FlushCommands(object: Pin<&mut IRemoteObjectWrapper>) -> i32; in FlushCommands()
H A Dcxx_share.rs20 IRemoteObject, IRemoteObjectWrapper, RemoteStubWrapper, SptrIRemoteObject,
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/parcel/
H A Dmsg.rs30 use crate::parcel::wrapper::IRemoteObjectWrapper;
350 ) -> IpcResult<UniquePtr<IRemoteObjectWrapper>> { in read_remote() argument
H A Dwrapper.rs32 type IRemoteObjectWrapper = crate::remote::wrapper::IRemoteObjectWrapper; typedef
60 value: UniquePtr<IRemoteObjectWrapper>, in WriteRemoteObject() argument
63 fn ReadRemoteObject(msgParcel: Pin<&mut MessageParcel>) -> UniquePtr<IRemoteObjectWrapper>; in ReadRemoteObject() argument