Searched refs:allPackages (Results 1 – 4 of 4) sorted by relevance
87 private val allPackages: List<String> constant in android.permission.cts.DuplicatePermissionDefinitionsTest101 assertThat(allPackages).containsAtLeast(APP_DEFINING_PERM_A, APP_ALSO_DEFINING_PERM_A) in canInstallAppsDefiningSamePermissionWhenSameCert()111 assertThat(allPackages).contains(APP_DEFINING_PERM_A) in cannotInstallAppsDefiningSamePermissionWhenDifferentCert()112 assertThat(allPackages).doesNotContain(APP_ALSO_DEFINING_PERM_A_DIFFERENT_CERT) in cannotInstallAppsDefiningSamePermissionWhenDifferentCert()122 assertThat(allPackages).containsAtLeast(APP_DEFINING_PERM_A, in canInstallAppsDefiningSamePermissionGroupWhenDifferentCertIfSdk30()134 assertThat(allPackages).contains(APP_DEFINING_PERM_A) in cannotInstallAppsDefiningSamePermissionGroupWhenDifferentCert()135 assertThat(allPackages).doesNotContain(APP_ALSO_DEFINING_PERM_GROUP_A_DIFFERENT_CERT) in cannotInstallAppsDefiningSamePermissionGroupWhenDifferentCert()146 assertThat(allPackages).contains(APP_DEFINING_PERM_IN_PLATFORM_GROUP) in canInstallAppsDefiningPermissionInPlatformGroup()158 assertThat(allPackages).contains(APP_DEFINING_PERM_WITH_INVALID_GROUP_SDK_30) in canInstallAppsDefiningPermissionWithInvalidGroupSdk30()169 assertThat(allPackages).doesNotContain(APP_DEFINING_PERM_WITH_INVALID_GROUP) in cannotInstallAppsDefiningPermissionWithInvalidGroup()
88 final List<PackageInfo> allPackages = in collectDeviceInfo() local105 for (PackageInfo pkg : allPackages) { in collectDeviceInfo()
91 List<PackageInfo> allPackages = getAllPackages(); in testDefaultGrantsWithRemoteExceptions() local92 Set<String> runtimePermNames = getRuntimePermissionNames(allPackages); in testDefaultGrantsWithRemoteExceptions()94 getMsdkTargetingPackagesUsingRuntimePerms(allPackages, runtimePermNames); in testDefaultGrantsWithRemoteExceptions()
4422 List<PackageInfo> allPackages = mPackageManager.getInstalledPackages( in testGrantRevokeNotificationManagerApis_exclusiveToPermissionController() local4428 for (PackageInfo pkg : allPackages) { in testGrantRevokeNotificationManagerApis_exclusiveToPermissionController()