Home
last modified time | relevance | path

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

/cts/tests/security/src/android/keystore/cts/
DAttestationApplicationId.java36 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/
DBaseDefaultPermissionGrantPolicyTest.java81 public abstract Set<String> getRuntimePermissionNames(List<PackageInfo> packageInfos); in getRuntimePermissionNames() argument
229 List<PackageInfo> packageInfos, Set<String> runtimePermNames) { in getMsdkTargetingPackagesUsingRuntimePerms() argument
232 final int packageInfoCount = packageInfos.size(); in getMsdkTargetingPackagesUsingRuntimePerms()
234 PackageInfo packageInfo = packageInfos.get(i); in getMsdkTargetingPackagesUsingRuntimePerms()
321 Set<String> runtimePermNames, Map<String, PackageInfo> packageInfos, in addException() argument
326 PackageInfo packageInfo = packageInfos.get(packageName); in addException()
439 public void addExceptionsDefaultPermissions(Map<String, PackageInfo> packageInfos, in addExceptionsDefaultPermissions() argument
445 Set<String> platformSignedPackages = getPlatformSignedPackages(packageInfos); in addExceptionsDefaultPermissions()
447 addException(dpge, runtimePermNames, packageInfos, platformSignedPackages, in addExceptionsDefaultPermissions()
455 private Set<String> getPlatformSignedPackages(Map<String, PackageInfo> packageInfos) { in getPlatformSignedPackages() argument
[all …]
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java1381 List<PackageInfo> packageInfos = mPackageManager.getInstalledPackages(flags); in testGetInstalledPackages_WithFactoryFlag_IsSubset() local
1385 packageInfos.stream().map(pi -> pi.packageName).collect(Collectors.toSet()); in testGetInstalledPackages_WithFactoryFlag_IsSubset()
1405 List<PackageInfo> packageInfos = in testGetInstalledPackages_WithFactoryFlag_ImpliesSystem() local
1407 for (PackageInfo pi : packageInfos) { in testGetInstalledPackages_WithFactoryFlag_ImpliesSystem()
1441 List<PackageInfo> packageInfos = in testGetInstalledPackages_WithFactoryFlag_ContainsNoDuplicates() local
1444 for (PackageInfo pi : packageInfos) { in testGetInstalledPackages_WithFactoryFlag_ContainsNoDuplicates()