Home
last modified time | relevance | path

Searched refs:SptrIRemoteObject (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/systemabilitymgr/samgr/interfaces/innerkits/rust/src/
H A Dwrapper.rs56 type SptrIRemoteObject = ipc::cxx_share::SptrIRemoteObject; typedef
63 fn LoadSystemAbility(said: i32, timeout: i32) -> UniquePtr<SptrIRemoteObject>; in LoadSystemAbility() argument
67 fn GetSystemAbility(said: i32) -> UniquePtr<SptrIRemoteObject>; in GetSystemAbility() argument
69 fn GetContextManager() -> UniquePtr<SptrIRemoteObject>; in GetContextManager()
71 fn CheckSystemAbility(said: i32) -> UniquePtr<SptrIRemoteObject>; in CheckSystemAbility() argument
76 ) -> UniquePtr<SptrIRemoteObject>; in GetSystemAbilityWithDeviceId() argument
83 ) -> UniquePtr<SptrIRemoteObject>; in CheckSystemAbilityWithDeviceId() argument
/ohos5.0/foundation/systemabilitymgr/samgr/interfaces/innerkits/rust/include/
H A Dsystem_ability_manager_wrapper.h28 typedef sptr<IRemoteObject> SptrIRemoteObject; typedef
35 std::unique_ptr<SptrIRemoteObject> GetSystemAbility(int32_t systemAbilityId);
36 std::unique_ptr<SptrIRemoteObject> CheckSystemAbility(int32_t systemAbilityId);
37 std::unique_ptr<SptrIRemoteObject> LoadSystemAbility(int32_t systemAbilityId, int32_t timeout);
39 std::unique_ptr<SptrIRemoteObject> LoadSystemAbility(int32_t systemAbilityId, int32_t timeout);
42 std::unique_ptr<SptrIRemoteObject> GetContextManager();
46 std::unique_ptr<SptrIRemoteObject> GetSystemAbilityWithDeviceId(int32_t systemAbilityId, const std:…
47 std::unique_ptr<SptrIRemoteObject> CheckSystemAbilityWithDeviceId(int32_t systemAbilityId, const st…
/ohos5.0/foundation/systemabilitymgr/samgr/interfaces/innerkits/rust/src/cxx/
H A Dsystem_ability_manager_wrapper.cpp71 std::unique_ptr<SptrIRemoteObject> LoadSystemAbility(int32_t systemAbilityId, int32_t timeout) in LoadSystemAbility()
82 return std::make_unique<SptrIRemoteObject>(std::move(ability)); in LoadSystemAbility()
95 std::unique_ptr<SptrIRemoteObject> GetContextManager() in GetContextManager()
101 return std::make_unique<SptrIRemoteObject>(std::move(saMgr)); in GetContextManager()
104 std::unique_ptr<SptrIRemoteObject> GetSystemAbility(int32_t systemAbilityId) in GetSystemAbility()
115 return std::make_unique<SptrIRemoteObject>(std::move(ability)); in GetSystemAbility()
118 std::unique_ptr<SptrIRemoteObject> CheckSystemAbility(int32_t systemAbilityId) in CheckSystemAbility()
129 return std::make_unique<SptrIRemoteObject>(std::move(ability)); in CheckSystemAbility()
141 std::unique_ptr<SptrIRemoteObject> GetSystemAbilityWithDeviceId(int32_t systemAbilityId, const std:… in GetSystemAbilityWithDeviceId()
151 return std::make_unique<SptrIRemoteObject>(std::move(ability)); in GetSystemAbilityWithDeviceId()
[all …]
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/remote/
H A Dwrapper.rs63 type SptrIRemoteObject; typedef
65 fn FromSptrRemote(sptr: UniquePtr<SptrIRemoteObject>) -> UniquePtr<IRemoteObjectWrapper>; in FromSptrRemote()
H A Dobj.rs21 IRemoteObjectWrapper, RemoteStubWrapper, SptrIRemoteObject,
82 pub fn from_sptr(sptr: UniquePtr<SptrIRemoteObject>) -> Option<Self> { in from_sptr()
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/
H A Dcxx_share.rs20 IRemoteObject, IRemoteObjectWrapper, RemoteStubWrapper, SptrIRemoteObject,
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/include/
H A Dremote_object_wrapper.h32 typedef sptr<IRemoteObject> SptrIRemoteObject; typedef