Searched refs:packageInfos (Results 1 – 4 of 4) sorted by relevance
/cts/tests/security/src/android/keystore/cts/ |
D | AttestationApplicationId.java | 36 private final List<AttestationPackageInfo> packageInfos; field in AttestationApplicationId 47 packageInfos = new ArrayList<AttestationPackageInfo>(); in AttestationApplicationId() 52 packageInfos.add(new AttestationPackageInfo(packageName, packageInfo.versionCode)); in AttestationApplicationId() 55 packageInfos.sort(null); in AttestationApplicationId() 77 packageInfos = parseAttestationPackageInfos(sequence.getObjectAt(PACKAGE_INFOS_INDEX)); in AttestationApplicationId() 79 packageInfos.sort(null); in AttestationApplicationId() 86 return packageInfos; in getAttestationPackageInfos() 97 int noOfInfos = packageInfos.size(); in toString() 99 for (AttestationPackageInfo info : packageInfos) { in toString() 116 int res = Integer.compare(packageInfos.size(), other.packageInfos.size()); in compareTo() [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BaseDefaultPermissionGrantPolicyTest.java | 84 public abstract Set<String> getEnforcedRuntimePermissionNames(List<PackageInfo> packageInfos); in getEnforcedRuntimePermissionNames() argument 240 List<PackageInfo> packageInfos, Set<String> runtimePermNames) { in getMsdkTargetingPackagesUsingRuntimePerms() argument 243 final int packageInfoCount = packageInfos.size(); in getMsdkTargetingPackagesUsingRuntimePerms() 245 PackageInfo packageInfo = packageInfos.get(i); in getMsdkTargetingPackagesUsingRuntimePerms() 332 Set<String> runtimePermNames, Map<String, PackageInfo> packageInfos, in addException() argument 337 PackageInfo packageInfo = packageInfos.get(packageName); in addException() 452 public void addExceptionsDefaultPermissions(Map<String, PackageInfo> packageInfos, in addExceptionsDefaultPermissions() argument 458 Set<String> platformSignedPackages = getPlatformSignedPackages(packageInfos); in addExceptionsDefaultPermissions() 460 addException(dpge, runtimePermNames, packageInfos, platformSignedPackages, in addExceptionsDefaultPermissions() 468 private Set<String> getPlatformSignedPackages(Map<String, PackageInfo> packageInfos) { in getPlatformSignedPackages() argument [all …]
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 1772 List<PackageInfo> packageInfos = mPackageManager.getInstalledPackages( in testGetInstalledPackages_WithFactoryFlag_IsSubset() local 1777 packageInfos.stream().map(pi -> pi.packageName).collect(Collectors.toSet()); in testGetInstalledPackages_WithFactoryFlag_IsSubset() 1798 List<PackageInfo> packageInfos = in testGetInstalledPackages_WithFactoryFlag_ImpliesSystem() local 1801 for (PackageInfo pi : packageInfos) { in testGetInstalledPackages_WithFactoryFlag_ImpliesSystem() 1813 List<PackageInfo> packageInfos = mPackageManager.getInstalledPackages( in testGetInstalledPackages_WithApexFlag_ContainsNoDuplicates() local 1815 final Set<String> apexPackageNames = packageInfos.stream() in testGetInstalledPackages_WithApexFlag_ContainsNoDuplicates() 1817 final Set<String> apkPackageNames = packageInfos.stream() in testGetInstalledPackages_WithApexFlag_ContainsNoDuplicates() 1840 List<PackageInfo> packageInfos = in testGetInstalledPackages_WithFactoryFlag_ContainsNoDuplicates() local 1845 for (PackageInfo pi : packageInfos) { in testGetInstalledPackages_WithFactoryFlag_ContainsNoDuplicates() 3563 List<PackageInfo> packageInfos = pm.getInstalledPackagesAsUser( in matchesInstalled() local [all …]
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 1402 List<PackageInfo> packageInfos = in testGetInactiveApexFactoryPackagesAfterApexInstall_containsNoDuplicates() local 1406 for (PackageInfo pi : packageInfos) { in testGetInactiveApexFactoryPackagesAfterApexInstall_containsNoDuplicates()
|