Searched refs:pkgs (Results 1 – 4 of 4) sorted by relevance
65 final String[] pkgs = pm.getPackagesForUid(Process.SHELL_UID); in testBlacklistedPermissions() local66 assertNotNull("No SHELL packages were found", pkgs); in testBlacklistedPermissions()67 assertNotEquals("SHELL package list had 0 size", 0, pkgs.length); in testBlacklistedPermissions()68 String pkg = pkgs[0]; in testBlacklistedPermissions()
240 final List<PackageInfo> pkgs = pm.getInstalledPackages( in testWriteMediaStorage() local242 for (PackageInfo pkg : pkgs) { in testWriteMediaStorage()
517 final ArraySet<String> pkgs = new ArraySet<>(1); in whitelistSelf() local518 pkgs.add(MY_PACKAGE); in whitelistSelf()519 whitelist(new Pair<>(pkgs, null)); in whitelistSelf()
639 List<PackageInfo> pkgs = mPackageManager.getInstalledPackages(GET_META_DATA in testGetInstalledPackages() local642 PackageInfo pkgInfo = findPackageOrFail(pkgs, PACKAGE_NAME); in testGetInstalledPackages()