Home
last modified time | relevance | path

Searched refs:SystemProcessInfo (Results 1 - 25 of 47) sorted by relevance

12

/foundation/systemabilitymgr/samgr/interfaces/innerkits/rust/include/
H A Dstatus_change_wrapper.h28 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 Dsystem_ability_manager_wrapper.h32 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 Dstatus_change_wrapper.cpp44 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 Dsystem_ability_manager_wrapper.cpp237 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 Disystem_process_status_change.h26 struct SystemProcessInfo { struct
42 virtual void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) = 0;
50 virtual void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) = 0;
H A Dsystem_ability_manager_proxy.h202 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 Dsystem_process_status_change_proxy.h29 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 Dsystem_process_status_change_proxy.cpp27 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 Dwrapper.rs24 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 Dmanage.rs26 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 Dsystem_ability_state_scheduler_test.h32 void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) override;
33 void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) override;
H A Dsystem_ability_mgr_proxy_test.h33 void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) override;
34 void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) override;
H A Dsystem_ability_mgr_stub_test.h35 void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) override;
36 void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) override;
H A Dsystem_ability_mgr_test.h33 void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) override;
34 void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) override;
H A Dondemand_helper.h95 void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) override;
96 void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) override;
H A Dmanual_ondemand_helper.h102 void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) override;
103 void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) override;
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Dsystem_ability_mgr_subscribe_test.cpp163 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 Dsystem_process_status_change_stub.cpp53 SystemProcessInfo systemProcessInfo; in OnSystemProcessStartedInner()
67 SystemProcessInfo systemProcessInfo; in OnSystemProcessStoppedInner()
/foundation/systemabilitymgr/samgr/test/fuzztest/samgr_fuzzer/include/
H A Dfuzztest_utils.h60 void OnSystemProcessStarted(SystemProcessInfo& systemProcessInfo) override {}
61 void OnSystemProcessStopped(SystemProcessInfo& systemProcessInfo) override {}
/foundation/resourceschedule/device_standby/services/core/src/
H A Dability_manager_helper.cpp37 bool WEAK_FUNC AbilityManagerHelper::GetRunningSystemProcess(std::list<SystemProcessInfo>& systemProcessInfos) in GetRunningSystemProcess()
/foundation/ability/ability_runtime/test/mock/common/include/
H A Dmock_system_ability_manager.h48 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 Dmock_helper.cpp74 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 Dability_manager_helper.h37 bool GetRunningSystemProcess(std::list<SystemProcessInfo>& systemProcessInfos);
/foundation/ability/form_fwk/test/unittest/form_mgr_test/
H A Dmock_system_ability_manager.h121 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 Dmock_service_registry.cpp177 int32_t SystemAbilityManagerProxy::GetSystemProcessInfo(int32_t systemAbilityId, SystemProcessInfo& systemProcessInfo) in GetSystemProcessInfo()
182 int32_t SystemAbilityManagerProxy::GetRunningSystemProcess(std::list<SystemProcessInfo>& systemProcessInfos) in GetRunningSystemProcess()

Completed in 10 milliseconds

12