Home
last modified time | relevance | path

Searched refs:AppsQueryHelper (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppsQueryHelperTests.java31 private AppsQueryHelper mAppsQueryHelper;
48 List<String> apps = mAppsQueryHelper.queryApps(AppsQueryHelper.GET_NON_LAUNCHABLE_APPS, in testQueryAppsNonLaunchable()
52 apps = mAppsQueryHelper.queryApps(AppsQueryHelper.GET_NON_LAUNCHABLE_APPS, in testQueryAppsNonLaunchable()
59 AppsQueryHelper.GET_APPS_WITH_INTERACT_ACROSS_USERS_PERM, true, UserHandle.SYSTEM); in testQueryAppsInteractAcrossUser()
63 AppsQueryHelper.GET_APPS_WITH_INTERACT_ACROSS_USERS_PERM, false, UserHandle.SYSTEM); in testQueryAppsInteractAcrossUser()
69 AppsQueryHelper.GET_NON_LAUNCHABLE_APPS in testQueryApps()
70 |AppsQueryHelper.GET_APPS_WITH_INTERACT_ACROSS_USERS_PERM, in testQueryApps()
75 AppsQueryHelper.GET_NON_LAUNCHABLE_APPS in testQueryApps()
76 |AppsQueryHelper.GET_APPS_WITH_INTERACT_ACROSS_USERS_PERM, in testQueryApps()
83 List<String> apps = mAppsQueryHelper.queryApps(AppsQueryHelper.GET_IMES, in testQueryAppsImes()
[all …]
/frameworks/base/core/java/android/content/pm/
DAppsQueryHelper.java37 public class AppsQueryHelper { class
62 public AppsQueryHelper(IPackageManager packageManager) { in AppsQueryHelper() method in AppsQueryHelper
66 public AppsQueryHelper() { in AppsQueryHelper() method in AppsQueryHelper
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java124 import android.content.pm.AppsQueryHelper;
2181 AppsQueryHelper queryHelper = new AppsQueryHelper(this); in enableSystemUserPackages()
2183 enableApps.addAll(queryHelper.queryApps(AppsQueryHelper.GET_NON_LAUNCHABLE_APPS in enableSystemUserPackages()
2184 | AppsQueryHelper.GET_APPS_WITH_INTERACT_ACROSS_USERS_PERM in enableSystemUserPackages()
2185 | AppsQueryHelper.GET_IMES, /* systemAppsOnly */ true, UserHandle.SYSTEM)); in enableSystemUserPackages()
2188 enableApps.addAll(queryHelper.queryApps(AppsQueryHelper.GET_REQUIRED_FOR_SYSTEM_USER, in enableSystemUserPackages()