Searched refs:installedPackages (Results 1 – 4 of 4) sorted by relevance
98 List<PackageInfo> installedPackages = pm in privappPermissionsNeedToBeWhitelisted() local100 installedPackages.sort(Comparator.comparing(p -> p.packageName)); in privappPermissionsNeedToBeWhitelisted()104 for (PackageInfo pkg : installedPackages) { in privappPermissionsNeedToBeWhitelisted()
379 List<PackageInfo> installedPackages; in isOnlyInstalledForUser() local381 installedPackages = pm.getInstalledPackagesAsUser(PackageManager.MATCH_APEX, in isOnlyInstalledForUser()383 for (PackageInfo pi : installedPackages) { in isOnlyInstalledForUser()
219 List<PackageInfo> installedPackages = InstrumentationRegistry.getInstrumentation() in testAppCanSeeOnlyLibrariesItDependOn() local222 for (PackageInfo installedPackage : installedPackages) { in testAppCanSeeOnlyLibrariesItDependOn()
1075 List<PackageInfo> installedPackages = mPackageManager.getInstalledPackages( in testGetInstalledPackages_ApexSupported_MatchesApex() local1077 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexSupported_MatchesApex()1088 List<PackageInfo> installedPackages = mPackageManager.getInstalledPackages(0); in testGetInstalledPackages_ApexSupported_DoesNotMatchApex() local1089 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexSupported_DoesNotMatchApex()1099 List<PackageInfo> installedPackages = mPackageManager.getInstalledPackages( in testGetInstalledPackages_ApexNotSupported_MatchesApex() local1101 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexNotSupported_MatchesApex()1111 List<PackageInfo> installedPackages = mPackageManager.getInstalledPackages(0); in testGetInstalledPackages_ApexNotSupported_DoesNotMatchApex() local1112 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexNotSupported_DoesNotMatchApex()