Home
last modified time | relevance | path

Searched refs:allPackages (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/permission/src/android/permission/cts/
DDuplicatePermissionDefinitionsTest.kt87 private val allPackages: List<String> constant in android.permission.cts.DuplicatePermissionDefinitionsTest
101 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()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DPackageDeviceInfo.java88 final List<PackageInfo> allPackages = in collectDeviceInfo() local
105 for (PackageInfo pkg : allPackages) { in collectDeviceInfo()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBaseDefaultPermissionGrantPolicyTest.java91 List<PackageInfo> allPackages = getAllPackages(); in testDefaultGrantsWithRemoteExceptions() local
92 Set<String> runtimePermNames = getRuntimePermissionNames(allPackages); in testDefaultGrantsWithRemoteExceptions()
94 getMsdkTargetingPackagesUsingRuntimePerms(allPackages, runtimePermNames); in testDefaultGrantsWithRemoteExceptions()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java4422 List<PackageInfo> allPackages = mPackageManager.getInstalledPackages( in testGrantRevokeNotificationManagerApis_exclusiveToPermissionController() local
4428 for (PackageInfo pkg : allPackages) { in testGrantRevokeNotificationManagerApis_exclusiveToPermissionController()