Searched refs:pkgInfo (Results 1 – 4 of 4) sorted by relevance
671 final PackageInfo pkgInfo = mPackageManager.getPackageArchiveInfo(apkPath, flags); in testGetPackageArchiveInfo() local674 apkName, pkgInfo.packageName); in testGetPackageArchiveInfo()677 pkgInfo.signatures); in testGetPackageArchiveInfo()721 PackageInfo pkgInfo = mPackageManager.getPackageInfo(PACKAGE_NAME, GET_META_DATA in testGetPackageInfo() local723 assertTestPackageInfo(pkgInfo); in testGetPackageInfo()740 PackageInfo pkgInfo = findPackageOrFail(pkgs, PACKAGE_NAME); in testGetInstalledPackages() local741 assertTestPackageInfo(pkgInfo); in testGetInstalledPackages()747 private void assertTestPackageInfo(PackageInfo pkgInfo) { in assertTestPackageInfo() argument749 ApplicationInfo appInfo = pkgInfo.applicationInfo; in assertTestPackageInfo()761 List<String> requestedPermissions = Arrays.asList(pkgInfo.requestedPermissions); in assertTestPackageInfo()[all …]
35 PackageInfo pkgInfo = pm.getPackageInfo(getContext().getPackageName(), in testConfigPreferences() local37 ConfigurationInfo[] configInfoArray = pkgInfo.configPreferences; in testConfigPreferences()
129 final PackageInfo pkgInfo = c.getPackageManager() in getCertHashForThisPackage() local132 final byte[] certHash = md.digest(pkgInfo.signatures[0].toByteArray()); in getCertHashForThisPackage()
199 for (PackageInfo pkgInfo : packageList) { in isAppInPackageList()200 if (pkgInfo.packageName.equals(packageName)) { in isAppInPackageList()