Searched refs:findPackageOrFail (Results 1 – 1 of 1) sorted by relevance
740 PackageInfo pkgInfo = findPackageOrFail(pkgs, PACKAGE_NAME); in testGetInstalledPackages()825 PackageInfo pkgInfo = findPackageOrFail(pkgInfos, "com.android.cts.stub"); // A test package in testGetInstalledPackages_OtherPackages()829 pkgInfo = findPackageOrFail(pkgInfos, "android"); in testGetInstalledPackages_OtherPackages()848 private PackageInfo findPackageOrFail(List<PackageInfo> pkgInfos, String pkgName) { in findPackageOrFail() method in PackageManagerTest872 findPackageOrFail(pkgInfos, PACKAGE_NAME); in testGetPackagesHoldingPermissions()