Home
last modified time | relevance | path

Searched refs:GetAllRunningProcesses (Results 1 - 25 of 54) sorted by relevance

123

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dability_manager_helper.cpp66 int result = appMgrProxy->GetAllRunningProcesses(runningList); in IsRunning()
68 APP_LOGE("GetAllRunningProcesses failed"); in IsRunning()
102 int result = appMgrProxy->GetAllRunningProcesses(runningList); in IsRunning()
104 APP_LOGE("GetAllRunningProcesses failed"); in IsRunning()
/foundation/resourceschedule/device_standby/services/core/src/
H A Dapp_mgr_helper.cpp33 bool WEAK_FUNC AppMgrHelper::GetAllRunningProcesses(std::vector<AppExecFwk::RunningProcessInfo>& allAppProcessInfos) in GetAllRunningProcesses() function in OHOS::DevStandbyMgr::AppMgrHelper
39 if (appMgrProxy_->GetAllRunningProcesses(allAppProcessInfos) != ERR_OK) { in GetAllRunningProcesses()
/foundation/ability/ability_runtime/test/unittest/ams_ipc_interface_test/
H A Dams_ipc_appmgr_interface_test.cpp180 EXPECT_CALL(*mockAppMgr, GetAllRunningProcesses(_)).Times(1).WillOnce(Return(OHOS::ERR_NULL_OBJECT)); in HWTEST_F()
183 int32_t ret = appMgrClient->GetAllRunningProcesses(runningProcessInfo); in HWTEST_F()
186 EXPECT_CALL(*mockAppMgr, GetAllRunningProcesses(_)).Times(1).WillOnce(Return(OHOS::ERR_NONE)); in HWTEST_F()
187 ret = appMgrClient->GetAllRunningProcesses(runningProcessInfo); in HWTEST_F()
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Dability_manager.h57 std::vector<RunningProcessInfo> GetAllRunningProcesses();
/foundation/resourceschedule/device_standby/services/core/include/
H A Dapp_mgr_helper.h42 bool GetAllRunningProcesses(std::vector<AppExecFwk::RunningProcessInfo>& allAppProcessInfos);
/foundation/ability/ability_runtime/test/moduletest/mock/include/
H A Dmock_app_mgr_client.h39 MOCK_METHOD1(GetAllRunningProcesses, AppMgrResultCode(std::vector<RunningProcessInfo>& info));
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/include/appmgr/
H A Dapp_mgr_interface.h106 * GetAllRunningProcesses, call GetAllRunningProcesses() through proxy project.
112 virtual int GetAllRunningProcesses(std::vector<RunningProcessInfo>& info) = 0;
H A Dapp_mgr_client.h124 * GetAllRunningProcesses, call GetAllRunningProcesses() through proxy project.
130 virtual AppMgrResultCode GetAllRunningProcesses(std::vector<RunningProcessInfo>& info);
/foundation/ability/ability_runtime/test/moduletest/common/ams/ipc_app_mgr_test/
H A Dams_ipc_app_mgr_module_test.cpp63 MOCK_METHOD1(GetAllRunningProcesses, int(std::vector<RunningProcessInfo>&));
238 * FunctionPoints: test GetAllRunningProcesses API,then check the function whether is good or not
240 * CaseDescription: excute GetAllRunningProcesses API 10000 times
274 EXPECT_CALL(*mockMockAppMgr, GetAllRunningProcesses(_)).WillOnce(Invoke(mockHandler)); in HWTEST_F()
276 appMgrClient->GetAllRunningProcesses(allRunningProcessInfo); in HWTEST_F()
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/src/appmgr/
H A Dapp_mgr_client.cpp84 AppMgrResultCode AppMgrClient::GetAllRunningProcesses(std::vector<RunningProcessInfo>& info) in GetAllRunningProcesses() function in OHOS::AppExecFwk::AppMgrClient
/foundation/resourceschedule/device_standby/services/test/unittest/mock/
H A Dmock_standby_helper_unit_test.cpp48 AppMgrHelper::GetInstance()->GetAllRunningProcesses(allAppProcessInfos); in HWTEST_F()
H A Dmock_helper.cpp80 bool AppMgrHelper::GetAllRunningProcesses(std::vector<AppExecFwk::RunningProcessInfo>& allAppProcessInfos) in GetAllRunningProcesses() function in OHOS::DevStandbyMgr::AppMgrHelper
/foundation/ability/ability_runtime/test/unittest/ams_service_event_drive_test/
H A Dams_service_event_drive_test.cpp219 EXPECT_CALL(*innerService, GetAllRunningProcesses(_)).WillOnce(Return(0)); in HWTEST_F()
222 EXPECT_EQ(0, appMgrService_->GetAllRunningProcesses(runningProcessInfo)); in HWTEST_F()
376 * CaseDescription: Verify if GetAllRunningProcesses act normal after AppMgrService stopped
387 EXPECT_EQ(OHOS::ERR_INVALID_OPERATION, appMgrService_->GetAllRunningProcesses(runningProcessInfo)); in HWTEST_F()
545 * CaseDescription: Verify if GetAllRunningProcesses act normal after AppMgrService stopped
558 EXPECT_EQ(OHOS::ERR_INVALID_OPERATION, appMgrService_->GetAllRunningProcesses(runningProcessInfo)); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/app_scheduler_test/
H A Dapp_mgr_client_mock.h46 MOCK_METHOD1(GetAllRunningProcesses, AppMgrResultCode(std::vector<RunningProcessInfo> &info));
/foundation/multimedia/av_session/services/session/adapter/
H A Dapp_manager_adapter.cpp69 if (appManager_.GetAllRunningProcesses(infos) != AppMgrResultCode::RESULT_OK) { in IsAppBackground()
/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_helper_unit_test.cpp59 AppMgrHelper::GetInstance()->GetAllRunningProcesses(allAppProcessInfos); in HWTEST_F()
/foundation/ability/ability_runtime/test/mock/services_appmgr_test/include/
H A Dmock_app_mgr_service_inner.h51 MOCK_METHOD1(GetAllRunningProcesses, int32_t(std::vector<RunningProcessInfo>&));
/foundation/ability/ability_runtime/test/mock/mock_appmgr_service/include/
H A Dmock_app_mgr_service_inner.h48 MOCK_METHOD1(GetAllRunningProcesses, int32_t(std::vector<RunningProcessInfo>&));
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_mgr_service_test/
H A Dams_app_mgr_service_module_test.cpp368 * Function: GetAllRunningProcesses
370 * FunctionPoints: AppMgrService => AppMgrServiceInner: GetAllRunningProcesses
371 * CaseDescription: Check GetAllRunningProcesses.
394 EXPECT_CALL(*mockAppMgrServiceInner_, GetAllRunningProcesses(_)).Times(1).WillOnce(Invoke(mockHandler)); in HWTEST_F()
396 auto result = appMgrService_->GetAllRunningProcesses(testRunningProcessInfo); in HWTEST_F()
/foundation/ability/ability_runtime/test/fuzztest/appmgrservicefirst_fuzzer/
H A Dappmgrservicefirst_fuzzer.cpp115 appMgrService->GetAllRunningProcesses(info); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/test/moduletest/common/ams/app_running_processes_info_module_test/
H A Dapp_running_processes_info_module_test.cpp246 * Function: GetAllRunningProcesses
306 auto res = service_->GetAllRunningProcesses(info); in HWTEST_F()
313 * Function: GetAllRunningProcesses
391 auto res = service_->GetAllRunningProcesses(info); in HWTEST_F()
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/
H A Dapp_mgr_interface.h142 * GetAllRunningProcesses, call GetAllRunningProcesses() through proxy project.
148 virtual int GetAllRunningProcesses(std::vector<RunningProcessInfo> &info) = 0;
/foundation/ability/ability_runtime/test/moduletest/common/ams/ipc_ams_mgr_test/
H A Dams_ipc_ams_mgr_module_test.cpp80 MOCK_METHOD1(GetAllRunningProcesses, int(std::vector<RunningProcessInfo>&));
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/
H A Dsupervisor.cpp293 appManager_->GetAllRunningProcesses(runningProcess);
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dbg_efficiency_resources_mgr.cpp151 if (appMgrClient_->GetAllRunningProcesses(allAppProcessInfos) != ERR_OK) { in HandlePersistenceData()
280 if (appMgrClient_->GetAllRunningProcesses(allRunningProcessInfos) != ERR_OK) { in IsServiceExtensionType()

Completed in 13 milliseconds

123