Home
last modified time | relevance | path

Searched refs:isPackageInstalled (Results 1 – 9 of 9) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DPackageInstallTest.java56 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testPackageInstall()
68 assertTrue(isPackageInstalled(TEST_APP_PKG)); in testPackageInstall()
72 assertTrue(isPackageInstalled(TEST_APP_PKG)); in testPackageUninstall()
84 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testPackageUninstall()
94 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testInstallExistingPackage()
98 assertTrue(isPackageInstalled(TEST_APP_PKG)); in testInstallExistingPackage()
133 private boolean isPackageInstalled(String packageName) { in isPackageInstalled() method in PackageInstallTest
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DSilentPackageInstallTest.java32 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testSilentInstallUninstall()
46 assertTrue(isPackageInstalled(TEST_APP_PKG)); in testUninstallBlocked()
52 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testUninstallBlocked()
DBasePackageInstallTest.java104 assertFalse(isPackageInstalled(TEST_APP_PKG)); in setUp()
131 assertFalse(isPackageInstalled(TEST_APP_PKG)); in assertInstallPackage()
145 assertTrue(isPackageInstalled(TEST_APP_PKG)); in assertInstallPackage()
149 assertTrue(isPackageInstalled(TEST_APP_PKG)); in tryUninstallPackage()
203 protected boolean isPackageInstalled(String packageName) { in isPackageInstalled() method in BasePackageInstallTest
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DBasePackageInstallTest.java94 assertFalse(isPackageInstalled(TEST_APP_PKG)); in setUp()
119 assertFalse(isPackageInstalled(TEST_APP_PKG)); in assertInstallPackage()
121 assertTrue(isPackageInstalled(TEST_APP_PKG)); in assertInstallPackage()
161 protected boolean isPackageInstalled(String packageName) { in isPackageInstalled() method in BasePackageInstallTest
171 assertTrue(isPackageInstalled(TEST_APP_PKG)); in tryUninstallPackage()
DSilentPackageInstallTest.java30 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testSilentInstallUninstall()
DManualPackageInstallTest.java78 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testManualInstallBlocked()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DDeviceAdminUninstallTestActivity.java91 mAdminInstalled = isPackageInstalled(ADMIN_PACKAGE_NAME); in onCreate()
117 private boolean isPackageInstalled(String packageName) { in isPackageInstalled() method in DeviceAdminUninstallTestActivity
145 mAdminRemoved = !isPackageInstalled(ADMIN_PACKAGE_NAME); in onActivityResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/forcestop/
DRecentTaskRemovalTestActivity.java87 mTestAppInstalled = isPackageInstalled(); in onCreate()
105 private boolean isPackageInstalled() { in isPackageInstalled() method in RecentTaskRemovalTestActivity
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/
DInputMethodServiceLifecycleTest.java424 if (isPackageInstalled(getDevice(), packageName)) { in uninstallPackageSyncIfExists()
426 pollingCheck(() -> !isPackageInstalled(getDevice(), packageName), PACKAGE_OP_TIMEOUT, in uninstallPackageSyncIfExists()