Home
last modified time | relevance | path

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

/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/
DApexShimValidationTest.java51 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in ApexShimValidationTest
89 apex -> apex.name.equals(SHIM_APEX_PACKAGE_NAME)); in testShimApexIsPreInstalled()
100 .startsWith("/apex/" + SHIM_APEX_PACKAGE_NAME + "/app/"); in testShimApkIsPreInstalledInShimApex()
109 .startsWith("/apex/" + SHIM_APEX_PACKAGE_NAME + "/priv-app/"); in testShimApkIsPreInstalledInShimApex()
DStagedInstallTest.java49 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in StagedInstallTest
527 final String errorMessage = getDevice().uninstallPackage(SHIM_APEX_PACKAGE_NAME); in uninstallShimApexIfNecessary()
538 apex -> apex.name.equals(SHIM_APEX_PACKAGE_NAME)).findAny().orElseThrow( in getShimApex()
539 () -> new AssertionError("Can't find " + SHIM_APEX_PACKAGE_NAME)); in getShimApex()
/cts/hostsidetests/rollback/src/com/android/cts/rollback/host/
DRollbackManagerHostTest.java39 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/
DApexShimValidationTest.java51 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in ApexShimValidationTest
123 assertThat(InstallUtils.getInstalledVersion(SHIM_APEX_PACKAGE_NAME)).isEqualTo(1); in testInstallRejected_VerifyPostReboot()
127 TestApp apexTestApp = new TestApp("ShimApex", SHIM_APEX_PACKAGE_NAME, 2, in stageApex()
/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()