Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java671 final PackageInfo pkgInfo = mPackageManager.getPackageArchiveInfo(apkPath, flags); in testGetPackageArchiveInfo() local
674 apkName, pkgInfo.packageName); in testGetPackageArchiveInfo()
677 pkgInfo.signatures); in testGetPackageArchiveInfo()
721 PackageInfo pkgInfo = mPackageManager.getPackageInfo(PACKAGE_NAME, GET_META_DATA in testGetPackageInfo() local
723 assertTestPackageInfo(pkgInfo); in testGetPackageInfo()
740 PackageInfo pkgInfo = findPackageOrFail(pkgs, PACKAGE_NAME); in testGetInstalledPackages() local
741 assertTestPackageInfo(pkgInfo); in testGetInstalledPackages()
747 private void assertTestPackageInfo(PackageInfo pkgInfo) { in assertTestPackageInfo() argument
749 ApplicationInfo appInfo = pkgInfo.applicationInfo; in assertTestPackageInfo()
761 List<String> requestedPermissions = Arrays.asList(pkgInfo.requestedPermissions); in assertTestPackageInfo()
[all …]
DConfigurationInfoTest.java35 PackageInfo pkgInfo = pm.getPackageInfo(getContext().getPackageName(), in testConfigPreferences() local
37 ConfigurationInfo[] configInfoArray = pkgInfo.configPreferences; in testConfigPreferences()
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/
DCarrierPrivilegeUtils.java129 final PackageInfo pkgInfo = c.getPackageManager() in getCertHashForThisPackage() local
132 final byte[] certHash = md.digest(pkgInfo.signatures[0].toByteArray()); in getCertHashForThisPackage()
/cts/hostsidetests/appsecurity/test-apps/ApplicationVisibilityCrossUserApp/src/com/android/cts/applicationvisibility/
DApplicationVisibilityCrossUserTest.java199 for (PackageInfo pkgInfo : packageList) { in isAppInPackageList()
200 if (pkgInfo.packageName.equals(packageName)) { in isAppInPackageList()