/cts/hostsidetests/packagemanager/deletekeepdata/src/com/android/tests/deletekeepdata/host/ |
D | DeleteKeepDataRebootTest.java | 49 assertTrue(isPackageInstalled(TEST_PACKAGE)); in setUp() 55 assertFalse(isPackageInstalled(TEST_PACKAGE)); in cleanUp() 63 assertFalse(isPackageInstalled(TEST_PACKAGE)); in testDataNotPreservedWithoutFlag() 74 assertFalse(isPackageInstalled(TEST_PACKAGE)); in testDataPreservedWithFlagWithoutReboot() 85 assertFalse(isPackageInstalled(TEST_PACKAGE)); in testDataPreservedWithFlagWithReboot()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | PackageInstallTest.java | 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() 134 private boolean isPackageInstalled(String packageName) { in isPackageInstalled() method in PackageInstallTest
|
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/ |
D | SilentPackageInstallTest.java | 42 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testSilentInstallUninstall() 54 assertTrue(isPackageInstalled(TEST_APP_PKG)); in testUninstallBlocked() 60 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testUninstallBlocked()
|
D | BasePackageInstallTest.java | 137 assertFalse(isPackageInstalled(TEST_APP_PKG)); in setUp() 178 assertFalse(isPackageInstalled(TEST_APP_PKG)); in assertInstallPackage() 192 assertTrue(isPackageInstalled(TEST_APP_PKG)); in assertInstallPackage() 196 assertTrue(isPackageInstalled(TEST_APP_PKG)); in tryUninstallPackage() 252 protected boolean isPackageInstalled(String packageName) { in isPackageInstalled() method in BasePackageInstallTest
|
/cts/hostsidetests/packagemanager/installedloadingprogess/hostside/src/com/android/tests/loadingprogress/host/ |
D | NonIncrementalLoadingProgressTest.java | 49 assertFalse(getDevice().isPackageInstalled(TEST_APP_PACKAGE_NAME)); in setUp() 54 assertTrue(getDevice().isPackageInstalled(TEST_APP_PACKAGE_NAME)); in setUp() 60 assertFalse(getDevice().isPackageInstalled(TEST_APP_PACKAGE_NAME)); in tearDown()
|
D | IncrementalLoadingProgressTest.java | 103 assertTrue(getDevice().isPackageInstalled(TEST_APP_PACKAGE_NAME)); in setUp() 112 assertFalse(getDevice().isPackageInstalled(TEST_APP_PACKAGE_NAME)); in tearDown()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | BasePackageInstallTest.java | 95 assertFalse(isPackageInstalled(TEST_APP_PKG)); in setUp() 120 assertFalse(isPackageInstalled(TEST_APP_PKG)); in assertInstallPackage() 122 assertTrue(isPackageInstalled(TEST_APP_PKG)); in assertInstallPackage() 163 protected boolean isPackageInstalled(String packageName) { in isPackageInstalled() method in BasePackageInstallTest 173 assertTrue(isPackageInstalled(TEST_APP_PKG)); in tryUninstallPackage()
|
D | SilentPackageInstallTest.java | 30 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testSilentInstallUninstall()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | DeprecatedAbiTest.java | 82 assumeTrue(isPackageInstalled(TEST_PACKAGE_NAME)); in testWarningDialog() 98 private boolean isPackageInstalled(String packageName) { in isPackageInstalled() method in DeprecatedAbiTest
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/media/ |
D | AppCloningHostTest.java | 212 assertThat(isPackageInstalled(APP_A_PACKAGE, sCloneUserId)).isTrue(); in testPrivateAppDataDirectoryForCloneUser() 285 assertThat(isPackageInstalled(APP_A_PACKAGE, String.valueOf(currentUserId))).isTrue(); in testDeletionOfPrimaryApp_deleteAppWithParentPropertyTrue_deletesCloneApp() 292 assertThat(isPackageInstalled(APP_A_PACKAGE, sCloneUserId)).isTrue(); in testDeletionOfPrimaryApp_deleteAppWithParentPropertyTrue_deletesCloneApp() 317 assertThat(isPackageInstalled(APP_A_PACKAGE, in testDeletionOfAppInNotParentProfile_notDeletesCloneApp() 325 assertThat(isPackageInstalled(APP_A_PACKAGE, sCloneUserId)).isTrue(); in testDeletionOfAppInNotParentProfile_notDeletesCloneApp() 332 assertThat(isPackageInstalled(APP_A_PACKAGE, managedProfileId)).isTrue(); in testDeletionOfAppInNotParentProfile_notDeletesCloneApp()
|
/cts/hostsidetests/multiuser/src/android/host/multiuser/ |
D | EphemeralTest.java | 90 .that(getDevice().isPackageInstalled(TEST_APP_PKG_NAME, in testRebootAndRemoveEphemeralUser_withAccount() 178 .that(getDevice().isPackageInstalled(DpcCommander.PKG_NAME)) in testRemoveUserWhenPossible_devicePolicyIsSet() 211 .that(getDevice().isPackageInstalled(TEST_APP_PKG_NAME)) in executeRemoveUserWhenPossible()
|
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/ |
D | InstalledIncrementalPackageStatsTests.java | 59 assertTrue(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testInstalledIncrementalMetricsReported() 62 assertTrue(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE2, in testInstalledIncrementalMetricsReported()
|
D | ComponentStateChangedReportedStatsTests.java | 108 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testComponentStateChangedReportedForWholeApp() 143 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testComponentStateChangedReportedForLauncherActivity() 178 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testComponentStateChangedReportedForNoLauncherActivity() 213 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testComponentStateChangedReportedEnabledThenDisabled() 259 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testComponentStateChangedReportedEnabledThenDisabledWholeApp() 306 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testComponentStateChangedReportedForTwoDifferentStateLauncherActivities()
|
D | PackageInstallationSessionReportedStatsTests.java | 75 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testPackageInstallationSessionReportedForApkSuccessWithReplace() 198 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testPackageUninstalledReported() 202 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testPackageUninstalledReported() 229 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testPackageInstallationFailedVersionDowngradeReported()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
D | DeviceAdminUninstallTestActivity.java | 96 mAdminInstalled = isPackageInstalled(ADMIN_PACKAGE_NAME); in onCreate() 126 private boolean isPackageInstalled(String packageName) { in isPackageInstalled() method in DeviceAdminUninstallTestActivity 155 mAdminRemoved = !isPackageInstalled(ADMIN_PACKAGE_NAME); in onActivityResult()
|
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/ |
D | BaseHostTestCase.java | 44 protected boolean isPackageInstalled(String packageName, String userId) throws Exception { in isPackageInstalled() method in BaseHostTestCase 45 return getDevice().isPackageInstalled(packageName, userId); in isPackageInstalled()
|
/cts/hostsidetests/packagemanager/preferredactivity/src/com/android/cts/packagemanager/preferredactivity/host/ |
D | PreferredActivityTests.java | 61 assertTrue(getDevice().isPackageInstalled(TEST_PACKAGE_NAME)); in setUp() 68 assertFalse(getDevice().isPackageInstalled(TEST_PACKAGE_NAME)); in tearDown()
|
/cts/hostsidetests/packagemanager/extractnativelibs/src/android/extractnativelibs/cts/ |
D | CtsExtractNativeLibsHostTestFails.java | 53 assertFalse(isPackageInstalled(TEST_NO_EXTRACT_PKG)); in testExtractNativeLibsIncrementalFails()
|
D | CtsExtractNativeLibsHostTestInstalls.java | 99 assertTrue(isPackageInstalled(testPackageName)); in testInstallAndRunSuccess()
|
/cts/hostsidetests/packagemanager/packagesetting/src/com/android/tests/packagesetting/host/ |
D | PackageSettingTest.java | 47 Assert.assertFalse(isPackageInstalled(TEST_PACKAGE)); in cleanUp() 54 Assert.assertTrue(isPackageInstalled(TEST_PACKAGE)); in testAppInstallsWithReboot()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | SettingsProviderInvalidKeyTest.java | 38 assertTrue(getDevice().isPackageInstalled(TEST_PACKAGE)); in setUp()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39706/src/android/security/cts/CVE_2021_39706/ |
D | DeviceTest.java | 97 protected boolean isPackageInstalled(String packageName) { in isPackageInstalled() method in DeviceTest 136 isPackageInstalled(settingsPkg)); in testCredentialReset()
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/ |
D | BaseHostTestCase.java | 58 protected boolean isPackageInstalled(String packageName, String userId) throws Exception { in isPackageInstalled() method in BaseHostTestCase 59 return sDevice.isPackageInstalled(packageName, userId); in isPackageInstalled()
|
/cts/hostsidetests/incrementalinstall/src/android/incrementalinstall/cts/ |
D | IncrementalInstallTest.java | 119 assertFalse(isPackageInstalled(TEST_APP_PACKAGE_NAME)); in setup() 125 assertFalse(isPackageInstalled(TEST_APP_PACKAGE_NAME)); in teardown() 344 isPackageInstalled(packageName)); in verifyPackageInstalled() 350 isPackageInstalled(packageName)); in verifyPackageNotInstalled()
|
D | IncrementalFeatureTest.java | 83 assertTrue(getDevice().isPackageInstalled(TEST_APP_PACKAGE_NAME)); in testFeatureWorkingWithInstallation()
|