Home
last modified time | relevance | path

Searched refs:appList (Results 1 - 25 of 28) sorted by relevance

12

/foundation/resourceschedule/memmgr/test/unittest/phone/
H A Dmemory_level_manager_test.cpp110 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 Dapp_state_observer.cpp166 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 Dbackground_task_observer.cpp113 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 Dbackground_task_mgr_helper.cpp80 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 Dmemory_level_manager.cpp86 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 Daccess_control.cpp204 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 Dapp_network_speed_limit_service.cpp139 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 Dapp_network_speed_limit_service.h45 ErrCode GetAppList(std::vector<AppExecFwk::RunningProcessInfo> &appList, bool getFgAppFlag);
/foundation/resourceschedule/memmgr/services/memmgrservice/include/memory_level_manager/
H A Dmemory_level_manager.h46 bool CalcReclaimAppList(std::vector<std::shared_ptr<AppEntity>> &appList);
/foundation/resourceschedule/background_task_mgr/frameworks/test/unittest/
H A Dbgtask_framework_abnormal_unit_test.cpp449 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 Dbgtask_framework_unit_test.cpp316 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 Dbackground_task_mgr_helper.h107 * @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 Dbg_efficiency_resources_mgr_test.cpp498 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 Dbackground_task_manager.h163 * @param appList EFficiency Resources infos of apps.
167 ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
H A Dibackground_task_mgr.h165 * @param appList EFficiency Resources infos of apps.
169 virtual ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
H A Dbackground_task_mgr_proxy.h157 * @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 Dbackground_task_mgr_service.h79 ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
/foundation/resourceschedule/background_task_mgr/frameworks/src/
H A Dbackground_task_manager.cpp205 ErrCode BackgroundTaskManager::GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList, in GetEfficiencyResourcesInfos() argument
211 return proxy_->GetEfficiencyResourcesInfos(appList, procList); in GetEfficiencyResourcesInfos()
H A Dbackground_task_mgr_proxy.cpp589 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 Dbackground_task_mgr_service.cpp249 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 Dhgm_command.h133 std::unordered_map<std::string, std::string> appList; member
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/include/
H A Dbg_efficiency_resources_mgr.h55 ErrCode GetEfficiencyResourcesInfos(std::vector<std::shared_ptr<ResourceCallbackInfo>> &appList,
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dbg_efficiency_resources_mgr.cpp744 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 Dhgm_multi_app_strategy_test.cpp85 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 Dbgtask_client_unit_test.cpp326 std::vector<std::shared_ptr<ResourceCallbackInfo>> appList; in HWTEST_F() local
328 EXPECT_EQ(BackgroundTaskMgrHelper::GetEfficiencyResourcesInfos(appList, procList), ERR_OK); in HWTEST_F()

Completed in 13 milliseconds

12