Home
last modified time | relevance | path

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

/cts/tests/tests/permission/src/android/permission/cts/
DShellPermissionTest.java65 final String[] pkgs = pm.getPackagesForUid(Process.SHELL_UID); in testBlacklistedPermissions() local
66 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()
DProviderPermissionTest.java240 final List<PackageInfo> pkgs = pm.getInstalledPackages( in testWriteMediaStorage() local
242 for (PackageInfo pkg : pkgs) { in testWriteMediaStorage()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCtsContentCaptureService.java517 final ArraySet<String> pkgs = new ArraySet<>(1); in whitelistSelf() local
518 pkgs.add(MY_PACKAGE); in whitelistSelf()
519 whitelist(new Pair<>(pkgs, null)); in whitelistSelf()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java639 List<PackageInfo> pkgs = mPackageManager.getInstalledPackages(GET_META_DATA in testGetInstalledPackages() local
642 PackageInfo pkgInfo = findPackageOrFail(pkgs, PACKAGE_NAME); in testGetInstalledPackages()