/foundation/systemabilitymgr/samgr/interfaces/innerkits/rust/include/ |
H A D | status_change_wrapper.h | 28 struct SystemProcessInfo; 45 const rust::Fn<void(const OHOS::SamgrRust::SystemProcessInfo &systemProcessInfo)> onStart, 46 const rust::Fn<void(const OHOS::SamgrRust::SystemProcessInfo &systemProcessInfo)> onStop); 49 void OnSystemProcessStarted(OHOS::SystemProcessInfo &systemProcessInfo) override; 50 void OnSystemProcessStopped(OHOS::SystemProcessInfo &systemProcessInfo) override; 53 rust::Fn<void(const OHOS::SamgrRust::SystemProcessInfo &systemProcessInfo)> onStart_; 54 rust::Fn<void(const OHOS::SamgrRust::SystemProcessInfo &systemProcessInfo)> onStop_;
|
H A D | system_ability_manager_wrapper.h | 32 struct SystemProcessInfo; 58 SystemProcessInfo GetSystemProcessInfo(int32_t systemAbilityId); 59 rust::Vec<SystemProcessInfo> GetRunningSystemProcess(); 63 rust::Fn<void(const OHOS::SamgrRust::SystemProcessInfo &systemProcessInfo)> onStart_, 64 rust::Fn<void(const OHOS::SamgrRust::SystemProcessInfo &systemProcessInfo)> onStop_);
|
/foundation/systemabilitymgr/samgr/interfaces/innerkits/rust/src/cxx/ |
H A D | status_change_wrapper.cpp | 44 const rust::Fn<void(const OHOS::SamgrRust::SystemProcessInfo &systemProcessInfo)> onStart, in SystemProcessStatusChangeWrapper() 45 const rust::Fn<void(const OHOS::SamgrRust::SystemProcessInfo &systemProcessInfo)> onStop) in SystemProcessStatusChangeWrapper() 52 void SystemProcessStatusChangeWrapper::OnSystemProcessStarted(OHOS::SystemProcessInfo &systemProcessInfo) in OnSystemProcessStarted() 54 auto info = OHOS::SamgrRust::SystemProcessInfo{ in OnSystemProcessStarted() 61 void SystemProcessStatusChangeWrapper::OnSystemProcessStopped(OHOS::SystemProcessInfo &systemProcessInfo) in OnSystemProcessStopped() 63 auto info = OHOS::SamgrRust::SystemProcessInfo{ in OnSystemProcessStopped()
|
H A D | system_ability_manager_wrapper.cpp | 237 SystemProcessInfo GetSystemProcessInfo(int32_t systemAbilityId) in GetSystemProcessInfo() 240 OHOS::SystemProcessInfo info; in GetSystemProcessInfo() 242 return SystemProcessInfo{ in GetSystemProcessInfo() 249 return SystemProcessInfo{ in GetSystemProcessInfo() 256 rust::Vec<SystemProcessInfo> GetRunningSystemProcess() in GetRunningSystemProcess() 260 auto res = rust::Vec<SystemProcessInfo>(); in GetRunningSystemProcess() 265 auto infos = std::list<OHOS::SystemProcessInfo>(); in GetRunningSystemProcess() 268 res.push_back(SystemProcessInfo{ in GetRunningSystemProcess() 296 rust::Fn<void(const OHOS::SamgrRust::SystemProcessInfo &systemProcessInfo)> onStart_, in SubscribeSystemProcess() 297 rust::Fn<void(const OHOS::SamgrRust::SystemProcessInfo in SubscribeSystemProcess() [all...] |
/foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy/include/ |
H A D | isystem_process_status_change.h | 26 struct SystemProcessInfo { struct 42 virtual void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) = 0; 50 virtual void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) = 0;
|
H A D | system_ability_manager_proxy.h | 202 int32_t GetSystemProcessInfo(int32_t systemAbilityId, SystemProcessInfo& systemProcessInfo) override; 210 int32_t GetRunningSystemProcess(std::list<SystemProcessInfo>& systemProcessInfos) override; 277 int32_t ReadSystemProcessFromParcel(MessageParcel& reply, std::list<SystemProcessInfo>& systemProcessInfos); 278 int32_t ReadProcessInfoFromParcel(MessageParcel& reply, SystemProcessInfo& systemProcessInfo);
|
/foundation/systemabilitymgr/samgr/services/samgr/native/include/ |
H A D | system_process_status_change_proxy.h | 29 void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) override; 30 void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) override; 32 bool SendRequestInner(uint32_t code, SystemProcessInfo systemProcessInfo);
|
/foundation/systemabilitymgr/samgr/services/samgr/native/source/ |
H A D | system_process_status_change_proxy.cpp | 27 void SystemProcessStatusChangeProxy::OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) in OnSystemProcessStarted() 35 void SystemProcessStatusChangeProxy::OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) in OnSystemProcessStopped() 43 bool SystemProcessStatusChangeProxy::SendRequestInner(uint32_t code, SystemProcessInfo systemProcessInfo) in SendRequestInner()
|
/foundation/systemabilitymgr/samgr/interfaces/innerkits/rust/src/ |
H A D | wrapper.rs | 24 struct SystemProcessInfo { structure names 100 fn GetSystemProcessInfo(said: i32) -> SystemProcessInfo; in GetSystemProcessInfo() 102 fn GetRunningSystemProcess() -> Vec<SystemProcessInfo>; in GetRunningSystemProcess() 123 on_start: fn(&SystemProcessInfo), in SubscribeSystemProcess() 124 on_stop: fn(&SystemProcessInfo), in SubscribeSystemProcess()
|
H A D | manage.rs | 26 SystemProcessInfo, UnSubscribeSystemAbilityHandler, UnSubscribeSystemProcessHandler, 218 pub fn get_system_process_info(said: i32) -> SystemProcessInfo { in get_system_process_info() 223 pub fn get_running_system_process() -> Vec<SystemProcessInfo> { in get_running_system_process() 240 on_start: fn(&SystemProcessInfo), in subscribe_system_process() 241 on_stop: fn(&SystemProcessInfo), in subscribe_system_process()
|
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/include/ |
H A D | system_ability_state_scheduler_test.h | 32 void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) override; 33 void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) override;
|
H A D | system_ability_mgr_proxy_test.h | 33 void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) override; 34 void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) override;
|
H A D | system_ability_mgr_stub_test.h | 35 void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) override; 36 void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) override;
|
H A D | system_ability_mgr_test.h | 33 void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) override; 34 void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) override;
|
H A D | ondemand_helper.h | 95 void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) override; 96 void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) override;
|
H A D | manual_ondemand_helper.h | 102 void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) override; 103 void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) override;
|
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/ |
H A D | system_ability_mgr_subscribe_test.cpp | 163 std::list<SystemProcessInfo> systemProcessInfos; in HWTEST_F() 210 std::list<SystemProcessInfo> systemProcessInfos; in HWTEST_F() 225 SystemProcessInfo systemProcessInfos; in HWTEST_F() 240 SystemProcessInfo systemProcessInfos; in HWTEST_F() 256 SystemProcessInfo systemProcessInfos; in HWTEST_F() 273 SystemProcessInfo systemProcessInfos; in HWTEST_F()
|
/foundation/systemabilitymgr/samgr/frameworks/native/source/ |
H A D | system_process_status_change_stub.cpp | 53 SystemProcessInfo systemProcessInfo; in OnSystemProcessStartedInner() 67 SystemProcessInfo systemProcessInfo; in OnSystemProcessStoppedInner()
|
/foundation/systemabilitymgr/samgr/test/fuzztest/samgr_fuzzer/include/ |
H A D | fuzztest_utils.h | 60 void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) override {} 61 void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) override {}
|
/foundation/resourceschedule/device_standby/services/core/src/ |
H A D | ability_manager_helper.cpp | 37 bool WEAK_FUNC AbilityManagerHelper::GetRunningSystemProcess(std::list<SystemProcessInfo>& systemProcessInfos) in GetRunningSystemProcess()
|
/foundation/ability/ability_runtime/test/mock/common/include/ |
H A D | mock_system_ability_manager.h | 48 MOCK_METHOD1(GetRunningSystemProcess, int32_t(std::list<SystemProcessInfo> &)); 53 MOCK_METHOD2(GetSystemProcessInfo, int32_t(int32_t, SystemProcessInfo &));
|
/foundation/resourceschedule/device_standby/services/test/unittest/mock/ |
H A D | mock_helper.cpp | 74 bool AbilityManagerHelper::GetRunningSystemProcess(std::list<SystemProcessInfo>& systemProcessInfos) in GetRunningSystemProcess() 76 systemProcessInfos.emplace_back(SystemProcessInfo{}); in GetRunningSystemProcess()
|
/foundation/resourceschedule/device_standby/services/core/include/ |
H A D | ability_manager_helper.h | 37 bool GetRunningSystemProcess(std::list<SystemProcessInfo>& systemProcessInfos);
|
/foundation/ability/form_fwk/test/unittest/form_mgr_test/ |
H A D | mock_system_ability_manager.h | 121 int32_t GetSystemProcessInfo(int32_t systemAbilityId, SystemProcessInfo& systemProcessInfo) override 125 int32_t GetRunningSystemProcess(std::list<SystemProcessInfo>& systemProcessInfos) override
|
/foundation/bundlemanager/app_domain_verify/test/unittest/mock/src/ |
H A D | mock_service_registry.cpp | 177 int32_t SystemAbilityManagerProxy::GetSystemProcessInfo(int32_t systemAbilityId, SystemProcessInfo& systemProcessInfo) in GetSystemProcessInfo() 182 int32_t SystemAbilityManagerProxy::GetRunningSystemProcess(std::list<SystemProcessInfo>& systemProcessInfos) in GetRunningSystemProcess()
|