Searched refs:installedPackages (Results 1 – 3 of 3) sorted by relevance
370 List<PackageInfo> installedPackages; in isOnlyInstalledForUser() local372 installedPackages = pm.getInstalledPackagesAsUser( in isOnlyInstalledForUser()375 for (PackageInfo pi : installedPackages) { in isOnlyInstalledForUser()
222 List<PackageInfo> installedPackages = InstrumentationRegistry.getInstrumentation() in testAppCanSeeOnlyLibrariesItDependOn() local225 for (PackageInfo installedPackage : installedPackages) { in testAppCanSeeOnlyLibrariesItDependOn()
1449 List<PackageInfo> installedPackages = mPackageManager.getInstalledPackages( in testGetInstalledPackages_ApexSupported_MatchesApex() local1451 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexSupported_MatchesApex()1460 List<PackageInfo> installedPackages = mPackageManager.getInstalledPackages( in testGetInstalledPackages_ApexSupported_DoesNotMatchApex() local1462 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexSupported_DoesNotMatchApex()