Searched refs:packageInfos (Results 1 – 6 of 6) sorted by relevance
60 List<PackageInfo> packageInfos = in getFirstPackageNameWithPermissions() local63 Log.d(TAG, "These packages have " + Arrays.toString(permissions) + ": " + packageInfos); in getFirstPackageNameWithPermissions()65 return packageInfos == null || packageInfos.size() == 0 in getFirstPackageNameWithPermissions()67 : packageInfos.get(0).packageName; in getFirstPackageNameWithPermissions()
60 List<PackageInfo> packageInfos = new ArrayList<>(); in setUp() local63 packageInfos.add(packageInfo); in setUp()64 when(packageManager.getPackagesHoldingPermissions(PERMISSIONS, 0)).thenReturn(packageInfos); in setUp()
165 List<PackageInfo> packageInfos = in getCustomizationPackageName() local168 sCustomizationPackage = getCustomizationPackageName(packageInfos); in getCustomizationPackageName()174 static String getCustomizationPackageName(List<PackageInfo> packageInfos) { in getCustomizationPackageName() argument176 Iterables.transform(packageInfos, input -> input.packageName); in getCustomizationPackageName()
214 @SuppressWarnings("unchecked") final List<PackageInfo> packageInfos = in loadPermissionsStates() local218 final int packageInfoCount = packageInfos != null ? packageInfos.size() : 0; in loadPermissionsStates()220 final PackageInfo packageInfo = packageInfos.get(i); in loadPermissionsStates()
96 List<PackageInfo> packageInfos = getPackageInfos(profileId); in getPackageToStateMapsByProfileId() local99 for (PackageInfo packageInfo : packageInfos) { in getPackageToStateMapsByProfileId()