Home
last modified time | relevance | path

Searched refs:TEST_INSTALL_PACKAGE (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DComponentStateChangedReportedStatsTests.java60 private static final String TEST_INSTALL_PACKAGE = field in ComponentStateChangedReportedStatsTests
92 getDevice().uninstallPackage(TEST_INSTALL_PACKAGE); in tearDown()
108 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testComponentStateChangedReportedForWholeApp()
123 PackageManagerStatsTestsBase.getAppUid(getDevice(), TEST_INSTALL_PACKAGE)); in testComponentStateChangedReportedForWholeApp() local
143 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testComponentStateChangedReportedForLauncherActivity()
158 PackageManagerStatsTestsBase.getAppUid(getDevice(), TEST_INSTALL_PACKAGE)); in testComponentStateChangedReportedForLauncherActivity() local
178 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testComponentStateChangedReportedForNoLauncherActivity()
193 PackageManagerStatsTestsBase.getAppUid(getDevice(), TEST_INSTALL_PACKAGE)); in testComponentStateChangedReportedForNoLauncherActivity() local
213 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testComponentStateChangedReportedEnabledThenDisabled()
228 PackageManagerStatsTestsBase.getAppUid(getDevice(), TEST_INSTALL_PACKAGE)); in testComponentStateChangedReportedEnabledThenDisabled() local
[all …]
DPackageInstallerV2StatsTests.java35 private static final String TEST_INSTALL_PACKAGE = field in PackageInstallerV2StatsTests
46 getDevice().uninstallPackage(TEST_INSTALL_PACKAGE); in tearDown()
63 assertEquals(getAppUid(TEST_INSTALL_PACKAGE), report.getUid()); in testPackageInstallerV2MetricsReported()
81 assertEquals(getAppUid(TEST_INSTALL_PACKAGE), report.getUid()); in testPackageInstallerV2MetricsReportedForSplits()
90 assertTrue(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in installPackageUsingV2AndGetReport()
DPackageInstallationSessionReportedStatsTests.java44 private static final String TEST_INSTALL_PACKAGE = field in PackageInstallationSessionReportedStatsTests
62 getDevice().uninstallPackage(TEST_INSTALL_PACKAGE); in tearDown()
74 DeviceUtils.installTestApp(getDevice(), TEST_INSTALL_APK, TEST_INSTALL_PACKAGE, mCtsBuild); in testPackageInstallationSessionReportedForApkSuccessWithReplace() local
75 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testPackageInstallationSessionReportedForApkSuccessWithReplace()
86 final int expectedUid = getAppUid(TEST_INSTALL_PACKAGE); in testPackageInstallationSessionReportedForApkSuccessWithReplace()
197 DeviceUtils.installTestApp(getDevice(), TEST_INSTALL_APK, TEST_INSTALL_PACKAGE, mCtsBuild); in testPackageUninstalledReported() local
198 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testPackageUninstalledReported()
200 final int expectedUid = getAppUid(TEST_INSTALL_PACKAGE); in testPackageUninstalledReported()
201 DeviceUtils.uninstallTestApp(getDevice(), TEST_INSTALL_PACKAGE); in testPackageUninstalledReported() local
202 assertThat(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testPackageUninstalledReported()
[all …]
DInstalledIncrementalPackageStatsTests.java36 private static final String TEST_INSTALL_PACKAGE = field in InstalledIncrementalPackageStatsTests
44 getDevice().uninstallPackage(TEST_INSTALL_PACKAGE); in tearDown()
59 assertTrue(getDevice().isPackageInstalled(TEST_INSTALL_PACKAGE, in testInstalledIncrementalMetricsReported()
71 getAppUid(TEST_INSTALL_PACKAGE), getAppUid(TEST_INSTALL_PACKAGE2)}; in testInstalledIncrementalMetricsReported()