/foundation/resourceschedule/memmgr/test/unittest/phone/ |
H A D | memory_level_manager_test.cpp | 110 std::vector<std::shared_ptr<AppEntity>> appList; in HWTEST_F() local 111 bool ret = MemoryLevelManager::GetInstance().CalcReclaimAppList(appList); in HWTEST_F()
|
/foundation/communication/nfc/services/src/utils/ |
H A D | app_state_observer.cpp | 166 std::vector<AppExecFwk::AppStateData> appList;
in IsForegroundApp() local 167 appMgrProxy_->GetForegroundApplications(appList);
in IsForegroundApp() 168 for (AppExecFwk::AppStateData appData : appList) {
in IsForegroundApp()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | background_task_observer.cpp | 113 std::vector<std::shared_ptr<BackgroundTaskMgr::ResourceCallbackInfo>> appList; in GetEfficiencyResourcesTaskApps() local 115 ErrCode result = BackgroundTaskMgr::BackgroundTaskMgrHelper::GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesTaskApps() 122 for (auto& info : appList) { in GetEfficiencyResourcesTaskApps()
|
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/src/ |
H A D | background_task_mgr_helper.cpp | 80 ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) in GetEfficiencyResourcesInfos() 82 return DelayedSingleton<BackgroundTaskManager>::GetInstance()->GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesInfos() 79 GetEfficiencyResourcesInfos(std::vector<std::shared_ptr< ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) GetEfficiencyResourcesInfos() argument
|
/foundation/resourceschedule/memmgr/services/memmgrservice/src/memory_level_manager/ |
H A D | memory_level_manager.cpp | 86 bool MemoryLevelManager::CalcReclaimAppList(std::vector<std::shared_ptr<AppEntity>> &appList) in CalcReclaimAppList() argument 93 appList.push_back(app); in CalcReclaimAppList()
|
/foundation/communication/dsoftbus/core/common/security/permission/standard/ |
H A D | access_control.cpp | 204 std::vector<AppExecFwk::AppStateData> appList; in GetForegroundApplications() local 205 int32_t ret = g_appMgrProxy->GetForegroundApplications(appList); in GetForegroundApplications() 211 for (auto &item : appList) { in GetForegroundApplications() 212 COMM_LOGI(COMM_PERM, "appList %{public}s state:%{public}d token:%{public}u", in GetForegroundApplications()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/app_network_speed_limit/ |
H A D | app_network_speed_limit_service.cpp | 139 ErrCode AppNetworkSpeedLimitService::GetAppList(std::vector<AppExecFwk::RunningProcessInfo> &appList, bool getFgAppFlag) in GetAppList() argument 150 appList.push_back(*iter); in GetAppList() 156 appList.push_back(*iter); in GetAppList()
|
H A D | app_network_speed_limit_service.h | 45 ErrCode GetAppList(std::vector<AppExecFwk::RunningProcessInfo> &appList, bool getFgAppFlag);
|
/foundation/resourceschedule/memmgr/services/memmgrservice/include/memory_level_manager/ |
H A D | memory_level_manager.h | 46 bool CalcReclaimAppList(std::vector<std::shared_ptr<AppEntity>> &appList);
|
/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/ |
H A D | bgtask_framework_abnormal_unit_test.cpp | 449 std::vector<std::shared_ptr<ResourceCallbackInfo>> appList; in HWTEST_F() local 454 EXPECT_EQ(backgroundTaskMgrProxy.GetEfficiencyResourcesInfos(appList, procList), ERR_BGTASK_PARCELABLE_FAILED); in HWTEST_F() 458 EXPECT_EQ(backgroundTaskMgrProxy.GetEfficiencyResourcesInfos(appList, procList), ERR_BGTASK_TRANSACT_FAILED); in HWTEST_F() 462 EXPECT_EQ(backgroundTaskMgrProxy.GetEfficiencyResourcesInfos(appList, procList), ERR_BGTASK_TRANSACT_FAILED); in HWTEST_F() 465 EXPECT_EQ(backgroundTaskMgrProxy.GetEfficiencyResourcesInfos(appList, procList), ERR_BGTASK_TRANSACT_FAILED); in HWTEST_F()
|
H A D | bgtask_framework_unit_test.cpp | 316 std::vector<std::shared_ptr<ResourceCallbackInfo>> appList; in HWTEST_F() local 318 EXPECT_EQ(DelayedSingleton<BackgroundTaskManager>::GetInstance()->GetEfficiencyResourcesInfos(appList, procList), in HWTEST_F() 322 EXPECT_EQ(DelayedSingleton<BackgroundTaskManager>::GetInstance()->GetEfficiencyResourcesInfos(appList, procList), in HWTEST_F()
|
/foundation/resourceschedule/background_task_mgr/interfaces/innerkits/include/ |
H A D | background_task_mgr_helper.h | 107 * @param appList EFficiency Resources infos of apps. 111 static ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
|
/foundation/resourceschedule/background_task_mgr/services/test/unittest/ |
H A D | bg_efficiency_resources_mgr_test.cpp | 498 std::vector<std::shared_ptr<ResourceCallbackInfo>> appList {}; in HWTEST_F() 500 bgEfficiencyResourcesMgr_->GetEfficiencyResourcesInfos(appList, procList); in HWTEST_F() 501 EXPECT_EQ((int32_t)appList.size(), 0); in HWTEST_F() 516 bgEfficiencyResourcesMgr_->GetEfficiencyResourcesInfos(appList, procList); in HWTEST_F() 517 EXPECT_EQ((int32_t)appList.size(), 1); in HWTEST_F()
|
/foundation/resourceschedule/background_task_mgr/frameworks/include/ |
H A D | background_task_manager.h | 163 * @param appList EFficiency Resources infos of apps. 167 ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
|
H A D | ibackground_task_mgr.h | 165 * @param appList EFficiency Resources infos of apps. 169 virtual ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
|
H A D | background_task_mgr_proxy.h | 157 * @param appList EFficiency Resources infos of apps. 161 ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
|
/foundation/resourceschedule/background_task_mgr/services/core/include/ |
H A D | background_task_mgr_service.h | 79 ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
|
/foundation/resourceschedule/background_task_mgr/frameworks/src/ |
H A D | background_task_manager.cpp | 205 ErrCode BackgroundTaskManager::GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList, in GetEfficiencyResourcesInfos() argument 211 return proxy_->GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesInfos()
|
H A D | background_task_mgr_proxy.cpp | 589 ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) in GetEfficiencyResourcesInfos() 621 appList.emplace_back(info); in GetEfficiencyResourcesInfos() 588 GetEfficiencyResourcesInfos(std::vector<std::shared_ptr< ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) GetEfficiencyResourcesInfos() argument
|
/foundation/resourceschedule/background_task_mgr/services/core/src/ |
H A D | background_task_mgr_service.cpp | 249 std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList, in GetEfficiencyResourcesInfos() 256 return DelayedSingleton<BgEfficiencyResourcesMgr>::GetInstance()->GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesInfos() 248 GetEfficiencyResourcesInfos( std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) GetEfficiencyResourcesInfos() argument
|
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/utils/ |
H A D | hgm_command.h | 133 std::unordered_map<std::string, std::string> appList;
member
|
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/include/ |
H A D | bg_efficiency_resources_mgr.h | 55 ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
|
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | bg_efficiency_resources_mgr.cpp | 744 ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList)
in GetEfficiencyResourcesInfos() 746 handler_->PostSyncTask([this, &appList, &procList]() {
in GetEfficiencyResourcesInfos() 747 this->GetEfficiencyResourcesInfosInner(appResourceApplyMap_, appList);
in GetEfficiencyResourcesInfos() 743 GetEfficiencyResourcesInfos(std::vector<std::shared_ptr< ResourceCallbackInfo>> &appList, std::vector<std::shared_ptr<ResourceCallbackInfo>> &procList) GetEfficiencyResourcesInfos() argument
|
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/ |
H A D | hgm_multi_app_strategy_test.cpp | 85 screenSetting.appList[pkgName0] = strategyName0; in SetUp() 91 screenSetting.appList[pkgName1] = strategyName1; in SetUp()
|
/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/bgtask_manager_client_test/ |
H A D | bgtask_client_unit_test.cpp | 326 std::vector<std::shared_ptr<ResourceCallbackInfo>> appList; in HWTEST_F() local 328 EXPECT_EQ(BackgroundTaskMgrHelper::GetEfficiencyResourcesInfos(appList, procList), ERR_OK); in HWTEST_F()
|