Home
last modified time | relevance | path

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

/cts/tests/tests/permission2/src/android/permission2/cts/
DPrivappPermissionsTest.java98 List<PackageInfo> installedPackages = pm in privappPermissionsNeedToBeWhitelisted() local
100 installedPackages.sort(Comparator.comparing(p -> p.packageName)); in privappPermissionsNeedToBeWhitelisted()
104 for (PackageInfo pkg : installedPackages) { in privappPermissionsNeedToBeWhitelisted()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java926 List<PackageInfo> installedPackages = mPackageManager.getInstalledPackages( in testGetInstalledPackages_ApexSupported_MatchesApex() local
928 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexSupported_MatchesApex()
941 List<PackageInfo> installedPackages = mPackageManager.getInstalledPackages(0); in testGetInstalledPackages_ApexSupported_DoesNotMatchApex() local
942 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexSupported_DoesNotMatchApex()
954 List<PackageInfo> installedPackages = mPackageManager.getInstalledPackages( in testGetInstalledPackages_ApexNotSupported_MatchesApex() local
956 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexNotSupported_MatchesApex()
968 List<PackageInfo> installedPackages = mPackageManager.getInstalledPackages(0); in testGetInstalledPackages_ApexNotSupported_DoesNotMatchApex() local
969 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexNotSupported_DoesNotMatchApex()
/cts/hostsidetests/os/test-apps/StaticSharedLibConsumerApp1/src/android/os/lib/consumer1/
DUseSharedLibraryTest.java182 List<PackageInfo> installedPackages = InstrumentationRegistry.getInstrumentation() in testAppCanSeeOnlyLibrariesItDependOn() local
185 for (PackageInfo installedPackage : installedPackages) { in testAppCanSeeOnlyLibrariesItDependOn()