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.java238 final ITestDevice.ApexInfo shimApex = mHostUtils.getShimApex().orElseThrow( in testShimApexShouldPreInstalledIfUpdatingApexIsSupported() local
241 assertThat(shimApex.versionCode).isEqualTo(1); in testShimApexShouldPreInstalledIfUpdatingApexIsSupported()
705 final ITestDevice.ApexInfo shimApex = mHostUtils.getShimApex().orElseThrow( in testUpdatedApexFromDataApexActiveCanBePulled() local
709 assertThat(shimApex.sourceDir).startsWith("/data/apex/active"); in testUpdatedApexFromDataApexActiveCanBePulled()
710 assertThat(getDevice().pullFile(shimApex.sourceDir)).isNotNull(); in testUpdatedApexFromDataApexActiveCanBePulled()
/cts/libs/install/src/android/cts/install/lib/host/
DInstallUtilsHost.java90 final ITestDevice.ApexInfo shimApex = getShimApex().orElseThrow( in uninstallShimApexIfNecessary() local
92 if (shimApex.sourceDir.startsWith("/system")) { in uninstallShimApexIfNecessary()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java1077 List<PackageInfo> shimApex = installedPackages.stream().filter( in testGetInstalledPackages_ApexSupported_MatchesApex() local
1080 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() local
1092 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() local
1104 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() local
1115 assertWithMessage("Shim apex wasn't supposed to be found").that(shimApex).isEmpty(); in testGetInstalledPackages_ApexNotSupported_DoesNotMatchApex()