Home
last modified time | relevance | path

Searched refs:SptrIRemoteObject (Results 1 - 5 of 5) sorted by relevance

/foundation/systemabilitymgr/samgr/interfaces/innerkits/rust/src/
H A Dwrapper.rs56 type SptrIRemoteObject = ipc::cxx_share::SptrIRemoteObject; types
63 fn LoadSystemAbility(said: i32, timeout: i32) -> UniquePtr<SptrIRemoteObject>; in LoadSystemAbility()
67 fn GetSystemAbility(said: i32) -> UniquePtr<SptrIRemoteObject>; in GetSystemAbility()
69 fn GetContextManager() -> UniquePtr<SptrIRemoteObject>; in GetContextManager()
71 fn CheckSystemAbility(said: i32) -> UniquePtr<SptrIRemoteObject>; in CheckSystemAbility()
76 ) -> UniquePtr<SptrIRemoteObject>; in GetSystemAbilityWithDeviceId()
83 ) -> UniquePtr<SptrIRemoteObject>; in CheckSystemAbilityWithDeviceId()
/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::string &deviceId);
47 std::unique_ptr<SptrIRemoteObject> CheckSystemAbilityWithDeviceId(int32_t systemAbilityId, const std::string &deviceId);
/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::string &deviceId) in GetSystemAbilityWithDeviceId()
151 return std::make_unique<SptrIRemoteObject>(st in GetSystemAbilityWithDeviceId()
[all...]
/foundation/communication/ipc/interfaces/innerkits/rust/src/remote/
H A Dobj.rs21 IRemoteObjectWrapper, RemoteStubWrapper, SptrIRemoteObject,
82 pub fn from_sptr(sptr: UniquePtr<SptrIRemoteObject>) -> Option<Self> { in from_stub()
/foundation/communication/ipc/interfaces/innerkits/rust/include/
H A Dremote_object_wrapper.h32 typedef sptr<IRemoteObject> SptrIRemoteObject; typedef

Completed in 2 milliseconds