Home
last modified time | relevance | path

Searched refs:shimApex (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/
DStagedInstallTest.java164 final ITestDevice.ApexInfo shimApex = getShimApex(); in testShimApexShouldPreInstalledIfUpdatingApexIsSupported() local
165 assertThat(shimApex.versionCode).isEqualTo(1); in testShimApexShouldPreInstalledIfUpdatingApexIsSupported()
300 final ITestDevice.ApexInfo shimApex = getShimApex(); in uninstallShimApexIfNecessary() local
301 if (shimApex.versionCode == 1) { in uninstallShimApexIfNecessary()
307 Log.i(TAG, "Uninstalling shim apex " + shimApex); in uninstallShimApexIfNecessary()
309 throw new AssertionError("Failed to uninstall " + shimApex); in uninstallShimApexIfNecessary()
/cts/hostsidetests/rollback/src/com/android/cts/rollback/host/
DRollbackManagerHostTest.java71 final ITestDevice.ApexInfo shimApex = getShimApex(); in uninstallShimApexIfNecessary() local
72 if (shimApex.versionCode == 1) { in uninstallShimApexIfNecessary()
79 throw new AssertionError("Failed to uninstall " + shimApex); in uninstallShimApexIfNecessary()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java928 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexSupported_MatchesApex() local
931 assertWithMessage("More than one shim apex found").that(shimApex).hasSize(1); in testGetInstalledPackages_ApexSupported_MatchesApex()
932 assertShimApexInfoIsCorrect(shimApex.get(0)); in testGetInstalledPackages_ApexSupported_MatchesApex()
942 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexSupported_DoesNotMatchApex() local
945 assertWithMessage("Shim apex wasn't supposed to be found").that(shimApex).isEmpty(); in testGetInstalledPackages_ApexSupported_DoesNotMatchApex()
956 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexNotSupported_MatchesApex() local
959 assertWithMessage("Shim apex wasn't supposed to be found").that(shimApex).isEmpty(); in testGetInstalledPackages_ApexNotSupported_MatchesApex()
969 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexNotSupported_DoesNotMatchApex() local
972 assertWithMessage("Shim apex wasn't supposed to be found").that(shimApex).isEmpty(); in testGetInstalledPackages_ApexNotSupported_DoesNotMatchApex()