Searched refs:shimApex (Results 1 – 3 of 3) sorted by relevance
233 final ITestDevice.ApexInfo shimApex = mHostUtils.getShimApex().orElseThrow( in testShimApexShouldPreInstalledIfUpdatingApexIsSupported() local236 assertThat(shimApex.versionCode).isEqualTo(1); in testShimApexShouldPreInstalledIfUpdatingApexIsSupported()659 final ITestDevice.ApexInfo shimApex = mHostUtils.getShimApex().orElseThrow( in testUpdatedApexFromDataApexActiveCanBePulled() local663 assertThat(shimApex.sourceDir).startsWith("/data/apex/active"); in testUpdatedApexFromDataApexActiveCanBePulled()664 assertThat(getDevice().pullFile(shimApex.sourceDir)).isNotNull(); in testUpdatedApexFromDataApexActiveCanBePulled()
95 final ITestDevice.ApexInfo shimApex = getShimApex().orElseThrow( in uninstallShimApexIfNecessary() local97 if (shimApex.sourceDir.startsWith("/system")) { in uninstallShimApexIfNecessary()
1451 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexSupported_MatchesApex() local1454 assertWithMessage("More than one shim apex found").that(shimApex).hasSize(1); in testGetInstalledPackages_ApexSupported_MatchesApex()1455 assertShimApexInfoIsCorrect(shimApex.get(0)); in testGetInstalledPackages_ApexSupported_MatchesApex()1462 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexSupported_DoesNotMatchApex() local1465 assertWithMessage("Shim apex wasn't supposed to be found").that(shimApex).isEmpty(); in testGetInstalledPackages_ApexSupported_DoesNotMatchApex()