Searched refs:SHIM_APEX_PACKAGE_NAME (Results 1 – 5 of 5) sorted by relevance
51 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in ApexShimValidationTest89 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()
49 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in StagedInstallTest527 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()
39 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()
51 private static final String SHIM_APEX_PACKAGE_NAME = "com.android.apex.cts.shim"; field in ApexShimValidationTest123 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()
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()