Searched refs:isAppInstalled (Results 1 – 6 of 6) sorted by relevance
375 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testAppInstall()403 assertFalse(isAppInstalled(TEST_APP_PACKAGE)); in testAppInstallErr()409 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testAppInstallStdIn()423 assertFalse(isAppInstalled(TEST_APP_PACKAGE)); in testAppInstallStdInErr()430 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testGetPackageStorageStats()488 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testAppUpdate()490 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testAppUpdate()496 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testAppUpdateSameApk()498 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testAppUpdateSameApk()504 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testAppUpdateStdIn()[all …]
209 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testInstallWithIdSig()216 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testBug183952694Fixed()231 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testBug270117845Fixed()291 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testSpaceAllocatedForPackage()316 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testSplitInstallWithIdSig()346 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testInstallWithIdSigAndSplit()369 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testInstallWithStreaming()399 if (isAppInstalled(TEST_APP_PACKAGE)) { in testInstallWithMissingBlocks()518 assertTrue(isAppInstalled(TEST_APP_PACKAGE)); in testInstallWithStreamingAndCompression()551 assertFalse(isAppInstalled(TEST_APP_PACKAGE)); in testInstallWithIdSigInvalidLength()[all …]
257 assertTrue(isAppInstalled(V4_PACKAGE_NAME)); in testSplitsDefaultChecksums()284 assertTrue(isAppInstalled(FIXED_PACKAGE_NAME)); in testFixedDefaultChecksums()302 assertTrue(isAppInstalled(FIXED_PACKAGE_NAME)); in testFixedV1DefaultChecksums()316 assertTrue(isAppInstalled(FIXED_PACKAGE_NAME)); in testFixedSha512DefaultChecksums()339 assertTrue(isAppInstalled(FIXED_FSVERITY_PACKAGE_NAME)); in testFixedFSVerityDefaultChecksums()373 assertTrue(isAppInstalled(FIXED_FSVERITY_PACKAGE_NAME)); in testFixedFSVerityDefaultChecksumsIncremental()397 assertTrue(isAppInstalled(FIXED_PACKAGE_NAME)); in testFixedVerityDefaultChecksums()413 assertTrue(isAppInstalled(FIXED_PACKAGE_NAME)); in testArchivedDefaultChecksums()438 assertTrue(isAppInstalled(FIXED_PACKAGE_NAME)); in testFixedAllChecksums()474 assertTrue(isAppInstalled(FIXED_PACKAGE_NAME)); in testFixedV1AllChecksums()[all …]
2017 private static boolean isAppInstalled(String packageName) { in isAppInstalled() method in PackageManagerTest2717 assertTrue(isAppInstalled(HELLO_WORLD_PACKAGE_NAME)); in testAppWithNoAppStorageUpdateSuccess()2720 assertTrue(isAppInstalled(HELLO_WORLD_PACKAGE_NAME)); in testAppWithNoAppStorageUpdateSuccess()2726 assertTrue(isAppInstalled(HELLO_WORLD_PACKAGE_NAME)); in testAppUpdateAddsNoAppDataStorageProperty()2737 assertTrue(isAppInstalled(HELLO_WORLD_PACKAGE_NAME)); in testAppUpdateRemovesNoAppDataStorageProperty()2748 assertTrue(isAppInstalled(HELLO_WORLD_PACKAGE_NAME)); in testNoAppDataStoragePropertyCanChangeAfterUninstall()2752 assertTrue(isAppInstalled(HELLO_WORLD_PACKAGE_NAME)); in testNoAppDataStoragePropertyCanChangeAfterUninstall()2818 assertThat(isAppInstalled(HELLO_WORLD_PACKAGE_NAME)).isFalse(); in testUninstall()2847 assertThat(isAppInstalled(HELLO_WORLD_PACKAGE_NAME)).isFalse(); in testUninstallWithKeepData()3028 assertTrue(isAppInstalled(HELLO_WORLD_PACKAGE_NAME)); in testInstallArchivedUpdate()[all …]
177 assertFalse(PackageManagerShellCommandInstallTest.isAppInstalled(TEST_APP_PACKAGE)) in setup()193 assertFalse(PackageManagerShellCommandInstallTest.isAppInstalled(TEST_APP_PACKAGE)) in reset()
717 if (isAppInstalled(testApp)) { in installApp()752 public static boolean isAppInstalled(TestApp testApp) { in isAppInstalled() method in TestUtils753 boolean isAppInstalled = InstallUtils.getInstalledVersion(testApp.getPackageName()) != -1; in isAppInstalled()756 isAppInstalled ? "" : "not ")); in isAppInstalled()757 return isAppInstalled; in isAppInstalled()