Searched refs:shimApex (Results 1 – 3 of 3) sorted by relevance
238 final ITestDevice.ApexInfo shimApex = mHostUtils.getShimApex().orElseThrow( in testShimApexShouldPreInstalledIfUpdatingApexIsSupported() local241 assertThat(shimApex.versionCode).isEqualTo(1); in testShimApexShouldPreInstalledIfUpdatingApexIsSupported()705 final ITestDevice.ApexInfo shimApex = mHostUtils.getShimApex().orElseThrow( in testUpdatedApexFromDataApexActiveCanBePulled() local709 assertThat(shimApex.sourceDir).startsWith("/data/apex/active"); in testUpdatedApexFromDataApexActiveCanBePulled()710 assertThat(getDevice().pullFile(shimApex.sourceDir)).isNotNull(); in testUpdatedApexFromDataApexActiveCanBePulled()
90 final ITestDevice.ApexInfo shimApex = getShimApex().orElseThrow( in uninstallShimApexIfNecessary() local92 if (shimApex.sourceDir.startsWith("/system")) { in uninstallShimApexIfNecessary()
1077 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexSupported_MatchesApex() local1080 assertWithMessage("More than one shim apex found").that(shimApex).hasSize(1); in testGetInstalledPackages_ApexSupported_MatchesApex()1081 assertShimApexInfoIsCorrect(shimApex.get(0)); in testGetInstalledPackages_ApexSupported_MatchesApex()1089 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexSupported_DoesNotMatchApex() local1092 assertWithMessage("Shim apex wasn't supposed to be found").that(shimApex).isEmpty(); in testGetInstalledPackages_ApexSupported_DoesNotMatchApex()1101 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexNotSupported_MatchesApex() local1104 assertWithMessage("Shim apex wasn't supposed to be found").that(shimApex).isEmpty(); in testGetInstalledPackages_ApexNotSupported_MatchesApex()1112 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexNotSupported_DoesNotMatchApex() local1115 assertWithMessage("Shim apex wasn't supposed to be found").that(shimApex).isEmpty(); in testGetInstalledPackages_ApexNotSupported_DoesNotMatchApex()