Home
last modified time | relevance | path

Searched defs:packageInfo (Results 1 – 19 of 19) sorted by relevance

/cts/hostsidetests/backup/RestoreAnyVersion/src/
DRestoreAnyVersionTest.java71 PackageInfo packageInfo = mContext.getPackageManager().getPackageInfo( in checkAppVersionIsNew() local
90 PackageInfo packageInfo = mContext.getPackageManager().getPackageInfo( in checkAppVersionIsOld() local
/cts/tests/tests/permission/src/android/permission/cts/
DMainlineNetworkStackPermissionTest.java54 PackageInfo packageInfo = packageManager.getPackageInfo(permissioninfo.packageName, in testPackageWithMainlineNetworkStackPermission() local
DShellPermissionTest.java70 final PackageInfo packageInfo = pm.getPackageInfo(pkg, PackageManager.GET_PERMISSIONS); in testBlacklistedPermissions() local
/cts/tests/security/src/android/keystore/cts/
DAttestationApplicationId.java51 PackageInfo packageInfo = pm.getPackageInfo(packageName, 0); in AttestationApplicationId() local
59 PackageInfo packageInfo = pm.getPackageInfo(packageNames[0], PackageManager.GET_SIGNATURES); in AttestationApplicationId() local
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DRollback.java30 Rollback(PackageRollbackInfo packageInfo) { in Rollback()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodIconSamplerActivity.java86 PackageInfo packageInfo = getPackageManager().getPackageInfo(getPackageName(), in getAppIcon() local
/cts/tests/tests/os/src/android/os/cts/
DRequiredComponentsTest.java134 PackageInfo packageInfo = packageManager.getPackageInfo(packageName, 0); in enforceSharedLibPresentAndProperlyHosted() local
/cts/tests/tests/telecom/src/android/telecom/cts/
DTelecomAvailabilityTest.java62 PackageInfo packageInfo = findOnlyTelecomPackageInfo(mPackageManager); in testTelecomIsPreinstalledAndSystem() local
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DPackageUtil.java93 PackageInfo packageInfo = getPackageManager() in computePackageSignatureDigest() local
/cts/hostsidetests/dexmetadata/app/src/com/android/cts/dexmetadata/
DInstallDexMetadataTest.java139 android.content.pm.PackageInfo packageInfo; in getAppInfo() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListActivity.java54 PackageInfo packageInfo = pm.getPackageInfo( in onCreate() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DPackageUtil.java107 PackageInfo packageInfo = getPackageManager() in computePackageSignatureDigest() local
/cts/tests/tests/security/src/android/security/cts/
DPackageSignatureTest.java167 PackageInfo packageInfo = packageManager.getPackageInfo(packageName, in writeSignature() local
/cts/tests/tests/permission2/src/android/permission2/cts/
DRestrictedPermissionsTest.java919 final PackageInfo packageInfo = packageManager.getPackageInfo(PKG, in getPermissionsOfAppWithAnyOfFlags() local
959 final PackageInfo packageInfo = packageManager.getPackageInfo(PKG, in assertRestrictedPermissionWhitelisted() local
1015 final PackageInfo packageInfo = packageManager.getPackageInfo( in assertAllRestrictedPermissionGranted() local
1038 final PackageInfo packageInfo = packageManager.getPackageInfo( in assertRestrictedPermissionGranted() local
DPermissionPolicyTest.java412 PackageInfo packageInfo = context.getPackageManager() in getPermissionsForPackage() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPermissionsTest.java343 PackageInfo packageInfo = mContext.getPackageManager().getPackageInfo( in assertCannotSetPermissionGrantStateAppPreM() local
363 PackageInfo packageInfo = mContext.getPackageManager().getPackageInfo( in assertCanSetPermissionGrantStateAppPreM() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DDeviceAdminUninstallTestActivity.java118 PackageInfo packageInfo = null; in isPackageInstalled() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/forcestop/
DRecentTaskRemovalTestActivity.java106 PackageInfo packageInfo = null; in isPackageInstalled() local
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java252 PackageInfo packageInfo = mPackageManager.getPackageInfo(PACKAGE_NAME, in testGetInfo() local
873 PackageInfo packageInfo = mPackageManager.getPackageInfo(SHIM_APEX_PACKAGE_NAME, in testGetPackageInfo_ApexSupported_ApexPackage_MatchesApex() local
979 private static void assertShimApexInfoIsCorrect(PackageInfo packageInfo) { in assertShimApexInfoIsCorrect()