Home
last modified time | relevance | path

Searched refs:isInstalled (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerMultiArchAppTest.java266 private boolean isInstalled() { in isInstalled() method in PackageManagerMultiArchAppTest
310 assertThat(isInstalled()).isFalse(); in testInstallMultiArchApp32_notMatchAllNativelyAbis_fail()
321 assertThat(isInstalled()).isFalse(); in testInstallMultiArchApp64_notMatchAllNativelyAbis_fail()
331 assertThat(isInstalled()).isTrue(); in testInstallMultiArchApp32_targetSdk33_success()
341 assertThat(isInstalled()).isTrue(); in testInstallMultiArchApp64_targetSdk33_success()
355 assertThat(isInstalled()).isFalse(); in testInstallMultiArchApp_emulatedAbiNoNativelyAbi_fail()
368 assertThat(isInstalled()).isTrue(); in testInstallMultiArchApp_emulatedAbiNoNativelyAbi_success()
378 assertThat(isInstalled()).isTrue(); in testInstallMultiArchAppBoth_targetSdk33_success()
388 assertThat(isInstalled()).isTrue(); in testInstallMultiArchApp32_success()
398 assertThat(isInstalled()).isTrue(); in testInstallMultiArchApp64_success()
[all …]
/cts/tests/tests/companion/core/src/android/companion/cts/core/
DCoreTestBase.kt19 if (!isInstalled()) install() in setUp()
20 assertTrue("Test app $packageName is not installed") { isInstalled() } in setUp()
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/
DUninstallPinnedTest.java108 assertTrue("Package was uninstalled.", isInstalled()); in testAppCantUninstallItself()
131 assertTrue("Package was uninstalled.", isInstalled()); in testCantUninstallAppDirectly()
137 assertTrue("Package was uninstalled.", isInstalled()); in testCantUninstallWithShell()
168 private boolean isInstalled() { in isInstalled() method in UninstallPinnedTest
DUninstallTest.java229 assertTrue("Package is not installed", isInstalled()); in testUninstall()
238 if (!isInstalled()) { in testUninstall()
242 assertFalse("Package wasn't uninstalled.", isInstalled()); in testUninstall()
257 assertTrue("Package is not installed", isInstalled()); in testUninstallApi()
280 private boolean isInstalled() { in isInstalled() method in UninstallTest
DArchiveTest.java238 if (!isInstalled()) { in requestArchive_confirmationDialog()
311 assertTrue(isInstalled()); in unarchiveApp_weakPermissions()
437 private boolean isInstalled() { in isInstalled() method in ArchiveTest
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DAssociationRevokedTestBase.kt51 if (!isInstalled()) install() in setUp()
52 assertTrue("Test app $packageName is not installed") { isInstalled() } in setUp()
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DAppHelper.kt38 fun isInstalled(): Boolean = in associate() method in android.companion.cts.common.AppHelper
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DAdbPackageParser26.java146 boolean isInstalled = Boolean.parseBoolean(userInstalledMatcher.group(2)); in parseUser()
148 if (!isInstalled) { in parseUser()
DPackage.java868 public boolean isInstalled() { in isInstalled() method in Package
/cts/tests/tests/packageinstaller/criticaluserjourney/src/android/packageinstaller/criticaluserjourney/cts/
DPackageInstallerCujTestBase.java193 assertThat(isInstalled(TEST_INSTALLER_PACKAGE_NAME)).isTrue(); in setup()
761 return isInstalled(TEST_APK_PACKAGE_NAME); in isTestPackageInstalled()
765 return isInstalled(TEST_INSTALLER_PACKAGE_NAME); in isInstallerInstalled()
768 private static boolean isInstalled(@NonNull String packageName) { in isInstalled() method in PackageInstallerCujTestBase
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCaCertManagementTest.java388 boolean isInstalled = remoteDpm.hasCaCertInstalled( in assertCaCertInstalledAndTrusted()
390 assertThat(isInstalled).isEqualTo(installed); in assertCaCertInstalledAndTrusted()
394 assertCaCertTrustStatusChange(caCert, isInstalled); in assertCaCertInstalledAndTrusted()
DProvisioningTest.kt312 .filter { it.isInstalled } in <lambda>()
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicyTest.java346 .isInstalled()) in deviceOwner_autoclose_removesDeviceOwner()