Searched refs:SHIM_APEX_PACKAGE_NAME (Results 1 – 6 of 6) sorted by relevance
38 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in RollbackManagerHostTest77 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()
87 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in StagedInstallTest364 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 …]
51 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in ApexShimValidationTest123 assertThat(getInstalledVersion(SHIM_APEX_PACKAGE_NAME)).isEqualTo(1); in testInstallRejected_VerifyPostReboot()
46 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in StagedInstallTest306 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()
48 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in ApexShimValidationTest84 apex -> apex.name.equals(SHIM_APEX_PACKAGE_NAME)); in testShimApexIsPreInstalled()
109 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in PackageManagerTest873 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()