Searched refs:shimApex (Results 1 – 3 of 3) sorted by relevance
164 final ITestDevice.ApexInfo shimApex = getShimApex(); in testShimApexShouldPreInstalledIfUpdatingApexIsSupported() local165 assertThat(shimApex.versionCode).isEqualTo(1); in testShimApexShouldPreInstalledIfUpdatingApexIsSupported()300 final ITestDevice.ApexInfo shimApex = getShimApex(); in uninstallShimApexIfNecessary() local301 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()
71 final ITestDevice.ApexInfo shimApex = getShimApex(); in uninstallShimApexIfNecessary() local72 if (shimApex.versionCode == 1) { in uninstallShimApexIfNecessary()79 throw new AssertionError("Failed to uninstall " + shimApex); in uninstallShimApexIfNecessary()
928 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexSupported_MatchesApex() local931 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() local945 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() local959 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() local972 assertWithMessage("Shim apex wasn't supposed to be found").that(shimApex).isEmpty(); in testGetInstalledPackages_ApexNotSupported_DoesNotMatchApex()