Searched refs:IRemoteObjectWrapper (Results 1 – 12 of 12) sorted by relevance
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/cxx/ |
H A D | remote_object_wrapper.cpp | 32 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 D | skeleton_wrapper.cpp | 94 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 D | parcel_wrapper.cpp | 70 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 D | wrapper.rs | 52 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 D | obj.rs | 21 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 D | remote_object_wrapper.h | 39 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 D | skeleton_wrapper.h | 53 std::unique_ptr<IRemoteObjectWrapper> GetContextObject(); 55 int FlushCommands(IRemoteObjectWrapper &object);
|
H A D | parcel_wrapper.h | 82 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 D | skeleton.rs | 24 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 D | cxx_share.rs | 20 IRemoteObject, IRemoteObjectWrapper, RemoteStubWrapper, SptrIRemoteObject,
|
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/parcel/ |
H A D | msg.rs | 30 use crate::parcel::wrapper::IRemoteObjectWrapper; 350 ) -> IpcResult<UniquePtr<IRemoteObjectWrapper>> { in read_remote() argument
|
H A D | wrapper.rs | 32 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
|