Searched refs:isPackageInstalled (Results 1 – 9 of 9) sorted by relevance
56 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
32 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testSilentInstallUninstall()46 assertTrue(isPackageInstalled(TEST_APP_PKG)); in testUninstallBlocked()52 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testUninstallBlocked()
104 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
94 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 BasePackageInstallTest171 assertTrue(isPackageInstalled(TEST_APP_PKG)); in tryUninstallPackage()
30 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testSilentInstallUninstall()
78 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testManualInstallBlocked()
91 mAdminInstalled = isPackageInstalled(ADMIN_PACKAGE_NAME); in onCreate()117 private boolean isPackageInstalled(String packageName) { in isPackageInstalled() method in DeviceAdminUninstallTestActivity145 mAdminRemoved = !isPackageInstalled(ADMIN_PACKAGE_NAME); in onActivityResult()
87 mTestAppInstalled = isPackageInstalled(); in onCreate()105 private boolean isPackageInstalled() { in isPackageInstalled() method in RecentTaskRemovalTestActivity
424 if (isPackageInstalled(getDevice(), packageName)) { in uninstallPackageSyncIfExists()426 pollingCheck(() -> !isPackageInstalled(getDevice(), packageName), PACKAGE_OP_TIMEOUT, in uninstallPackageSyncIfExists()