Home
last modified time | relevance | path

Searched refs:SHIM_APEX_PACKAGE_NAME (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/rollback/src/com/android/cts/rollback/host/
DRollbackManagerHostTest.java38 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in RollbackManagerHostTest
77 final String errorMessage = getDevice().uninstallPackage(SHIM_APEX_PACKAGE_NAME); in uninstallShimApexIfNecessary()
90 apex -> apex.name.equals(SHIM_APEX_PACKAGE_NAME)).findAny().orElseThrow( in getShimApex()
91 () -> new AssertionError("Can't find " + SHIM_APEX_PACKAGE_NAME)); in getShimApex()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java87 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in StagedInstallTest
364 assertThat(getInstalledVersion(SHIM_APEX_PACKAGE_NAME)).isEqualTo(1); in testInstallStagedApex_Commit()
371 assertThat(getInstalledVersion(SHIM_APEX_PACKAGE_NAME)).isEqualTo(1); in testInstallStagedApex_Commit()
378 assertThat(getInstalledVersion(SHIM_APEX_PACKAGE_NAME)).isEqualTo(2); in testInstallStagedApex_VerifyPostReboot()
383 assertThat(getInstalledVersion(SHIM_APEX_PACKAGE_NAME)).isEqualTo(1); in testInstallStagedApexAndApk_Commit()
392 assertThat(getInstalledVersion(SHIM_APEX_PACKAGE_NAME)).isEqualTo(1); in testInstallStagedApexAndApk_Commit()
400 assertThat(getInstalledVersion(SHIM_APEX_PACKAGE_NAME)).isEqualTo(2); in testInstallStagedApexAndApk_VerifyPostReboot()
431 assertThat(getInstalledVersion(SHIM_APEX_PACKAGE_NAME)).isEqualTo(1); in testStageApkWithSameNameAsApexShouldFail_Commit()
443 assertThat(getInstalledVersion(SHIM_APEX_PACKAGE_NAME)).isEqualTo(1); in testStageApkWithSameNameAsApexShouldFail_VerifyPostReboot()
448 assertThat(getInstalledVersion(SHIM_APEX_PACKAGE_NAME)).isEqualTo(1); in testNonStagedInstallApkWithSameNameAsApexShouldFail()
[all …]
DApexShimValidationTest.java51 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in ApexShimValidationTest
123 assertThat(getInstalledVersion(SHIM_APEX_PACKAGE_NAME)).isEqualTo(1); in testInstallRejected_VerifyPostReboot()
/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/
DStagedInstallTest.java46 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in StagedInstallTest
306 final String errorMessage = getDevice().uninstallPackage(SHIM_APEX_PACKAGE_NAME); in uninstallShimApexIfNecessary()
317 apex -> apex.name.equals(SHIM_APEX_PACKAGE_NAME)).findAny().orElseThrow( in getShimApex()
318 () -> new AssertionError("Can't find " + SHIM_APEX_PACKAGE_NAME)); in getShimApex()
DApexShimValidationTest.java48 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in ApexShimValidationTest
84 apex -> apex.name.equals(SHIM_APEX_PACKAGE_NAME)); in testShimApexIsPreInstalled()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java109 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in PackageManagerTest
873 PackageInfo packageInfo = mPackageManager.getPackageInfo(SHIM_APEX_PACKAGE_NAME, in testGetPackageInfo_ApexSupported_ApexPackage_MatchesApex()
888 mPackageManager.getPackageInfo(SHIM_APEX_PACKAGE_NAME, 0 /* flags */); in testGetPackageInfo_ApexSupported_ApexPackage_DoesNotMatchApex()
901 mPackageManager.getPackageInfo(SHIM_APEX_PACKAGE_NAME, PackageManager.MATCH_APEX); in testGetPackageInfo_ApexNotSupported_ApexPackage_MatchesApex()
914 mPackageManager.getPackageInfo(SHIM_APEX_PACKAGE_NAME, 0); in testGetPackageInfo_ApexNotSupported_ApexPackage_DoesNotMatchApex()
929 packageInfo -> packageInfo.packageName.equals(SHIM_APEX_PACKAGE_NAME)).collect( in testGetInstalledPackages_ApexSupported_MatchesApex()
943 packageInfo -> packageInfo.packageName.equals(SHIM_APEX_PACKAGE_NAME)).collect( in testGetInstalledPackages_ApexSupported_DoesNotMatchApex()
957 packageInfo -> packageInfo.packageName.equals(SHIM_APEX_PACKAGE_NAME)).collect( in testGetInstalledPackages_ApexNotSupported_MatchesApex()
970 packageInfo -> packageInfo.packageName.equals(SHIM_APEX_PACKAGE_NAME)).collect( in testGetInstalledPackages_ApexNotSupported_DoesNotMatchApex()
980 assertThat(packageInfo.packageName).isEqualTo(SHIM_APEX_PACKAGE_NAME); in assertShimApexInfoIsCorrect()