Home
last modified time | relevance | path

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

/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
DUtils.java123 ArraySet<String> launcherPkgs = new ArraySet<>(); in getLauncherPackages() local
126 launcherPkgs.add(info.activityInfo.packageName); in getLauncherPackages()
129 return launcherPkgs; in getLauncherPackages()
136 public static boolean isSystem(PermissionApp app, ArraySet<String> launcherPkgs) { in isSystem() argument
137 return isSystem(app.getAppInfo(), launcherPkgs); in isSystem()
140 public static boolean isSystem(AppPermissions app, ArraySet<String> launcherPkgs) { in isSystem() argument
141 return isSystem(app.getPackageInfo().applicationInfo, launcherPkgs); in isSystem()
144 public static boolean isSystem(ApplicationInfo info, ArraySet<String> launcherPkgs) { in isSystem() argument
146 && !launcherPkgs.contains(info.packageName); in isSystem()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
DPermissionApps.java91 public int getGrantedCount(ArraySet<String> launcherPkgs) { in getGrantedCount() argument
97 if (Utils.isSystem(app, launcherPkgs)) { in getGrantedCount()
108 public int getTotalCount(ArraySet<String> launcherPkgs) { in getTotalCount() argument
114 if (Utils.isSystem(app, launcherPkgs)) { in getTotalCount()
DPermissionStatusReceiver.java262 ArraySet<String> launcherPkgs = Utils.getLauncherPackages(context); in getAppsWithPermissionsCount() local
272 if (Utils.isSystem(app, launcherPkgs)) { in getAppsWithPermissionsCount()