Home
last modified time | relevance | path

Searched refs:foregroundAppList (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/useriam/user_auth_framework/services/core/src/
H A Dipc_common.cpp167 std::vector<AppExecFwk::AppStateData> foregroundAppList; in CheckForegroundApplication() local
168 iAppManager->GetForegroundApplications(foregroundAppList); in CheckForegroundApplication()
169 …auto it = std::find_if(foregroundAppList.begin(), foregroundAppList.end(), [bundleName] (auto fore… in CheckForegroundApplication()
172 if (it == foregroundAppList.end()) { in CheckForegroundApplication()
/ohos5.0/base/location/services/location_locator/locator/source/
H A Dlocator_background_proxy.cpp436 std::vector<AppExecFwk::AppStateData> foregroundAppList; in IsAppBackground() local
437 iAppManager->GetForegroundApplications(foregroundAppList); in IsAppBackground()
438 …auto it = std::find_if(foregroundAppList.begin(), foregroundAppList.end(), [bundleName] (auto fore… in IsAppBackground()
441 if (it != foregroundAppList.end()) { in IsAppBackground()