Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java573 final PackageInfo pkgInfo = mPackageManager.getPackageArchiveInfo(apkPath, flags); in testGetPackageArchiveInfo() local
576 apkName, pkgInfo.packageName); in testGetPackageArchiveInfo()
579 pkgInfo.signatures); in testGetPackageArchiveInfo()
623 PackageInfo pkgInfo = mPackageManager.getPackageInfo(PACKAGE_NAME, GET_META_DATA in testGetPackageInfo() local
625 assertTestPackageInfo(pkgInfo); in testGetPackageInfo()
642 PackageInfo pkgInfo = findPackageOrFail(pkgs, PACKAGE_NAME); in testGetInstalledPackages() local
643 assertTestPackageInfo(pkgInfo); in testGetInstalledPackages()
649 private void assertTestPackageInfo(PackageInfo pkgInfo) { in assertTestPackageInfo() argument
651 ApplicationInfo appInfo = pkgInfo.applicationInfo; in assertTestPackageInfo()
663 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/hostsidetests/appsecurity/test-apps/ApplicationVisibilityCrossUserApp/src/com/android/cts/applicationvisibility/
DApplicationVisibilityCrossUserTest.java155 for (PackageInfo pkgInfo : packageList) { in isAppInPackageList()
156 if (pkgInfo.packageName.equals(packageName)) { in isAppInPackageList()