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.java233 final ITestDevice.ApexInfo shimApex = mHostUtils.getShimApex().orElseThrow( in testShimApexShouldPreInstalledIfUpdatingApexIsSupported() local
236 assertThat(shimApex.versionCode).isEqualTo(1); in testShimApexShouldPreInstalledIfUpdatingApexIsSupported()
659 final ITestDevice.ApexInfo shimApex = mHostUtils.getShimApex().orElseThrow( in testUpdatedApexFromDataApexActiveCanBePulled() local
663 assertThat(shimApex.sourceDir).startsWith("/data/apex/active"); in testUpdatedApexFromDataApexActiveCanBePulled()
664 assertThat(getDevice().pullFile(shimApex.sourceDir)).isNotNull(); in testUpdatedApexFromDataApexActiveCanBePulled()
/cts/libs/install/src/android/cts/install/lib/host/
DInstallUtilsHost.java95 final ITestDevice.ApexInfo shimApex = getShimApex().orElseThrow( in uninstallShimApexIfNecessary() local
97 if (shimApex.sourceDir.startsWith("/system")) { in uninstallShimApexIfNecessary()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java1451 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexSupported_MatchesApex() local
1454 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() local
1465 assertWithMessage("Shim apex wasn't supposed to be found").that(shimApex).isEmpty(); in testGetInstalledPackages_ApexSupported_DoesNotMatchApex()