Home
last modified time | relevance | path

Searched refs:getAppUid (Results 1 – 19 of 19) sorted by relevance

/cts/hostsidetests/locale/src/android/localemanager/cts/
DAppSupportedLocalesChangedAtomTest.java80 verifyAtomDetails(DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME), in testAtomLogging_overrideLocaleConfig_logsAtomSuccessfully()
81 DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME), NUM_OVERRIDE_LOCALES, in testAtomLogging_overrideLocaleConfig_logsAtomSuccessfully()
96 verifyAtomDetails(DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME), in testAtomLogging_removeOverride_logsAtomSuccessfully()
97 DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME), NUM_OVERRIDE_LOCALES, in testAtomLogging_removeOverride_logsAtomSuccessfully()
107 verifyAtomDetails(DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME), in testAtomLogging_removeOverride_logsAtomSuccessfully()
108 DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME), INVALID_NUM, true, in testAtomLogging_removeOverride_logsAtomSuccessfully()
124 verifyAtomDetails(DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME), in testAtomLogging_sameAsResLocaleConfig_logsAtomSuccessfully()
125 DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME), NUM_RESOURCE_LOCALES, in testAtomLogging_sameAsResLocaleConfig_logsAtomSuccessfully()
140 verifyAtomDetails(DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME), in testAtomLogging_sameAsPrevLocaleConfig_logsAtomUnspecified()
141 DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME), NUM_OVERRIDE_LOCALES, in testAtomLogging_sameAsPrevLocaleConfig_logsAtomUnspecified()
[all …]
DApplicationLocalesChangedAtomTests.java102 DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME_APP1), in testAtomLogging_localesChangeFromApp_logsAtomSuccessfully()
117 DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME_APP1), in testAtomLogging_localesChangeFromApp_logsAtomSuccessfully()
136 DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME_APP1), in testAtomLogging_localesChangeFromDelegate_logsAtomSuccessfully()
151 DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME_APP1), in testAtomLogging_localesChangeFromDelegate_logsAtomSuccessfully()
172 DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME_APP1), in testAtomLogging_localesChangeFromLocaleConfigOverride_logsAtomSuccessfully()
185 DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME_APP1), in testAtomLogging_localesChangeFromLocaleConfigOverride_logsAtomSuccessfully()
206 DeviceUtils.getAppUid(getDevice(), LOCALECONFIG_APP), in testAtomLogging_localesChangeFromAppUpdate_logsAtomSuccessfully()
220 DeviceUtils.getAppUid(getDevice(), LOCALECONFIG_APP), in testAtomLogging_localesChangeFromAppUpdate_logsAtomSuccessfully()
262 verifyAtomDetails(DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME_APP2), in testAtomLogging_permissionAbsent_logsAtomWithFailurePermissionAbsent()
263 DeviceUtils.getAppUid(getDevice(), INSTALLED_PACKAGE_NAME_APP1), in testAtomLogging_permissionAbsent_logsAtomWithFailurePermissionAbsent()
[all …]
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DComponentStateChangedReportedStatsTests.java123 PackageManagerStatsTestsBase.getAppUid(getDevice(), TEST_INSTALL_PACKAGE)); in testComponentStateChangedReportedForWholeApp()
129 PackageManagerStatsTestsBase.getAppUid(getDevice(), HELPER_PACKAGE)); in testComponentStateChangedReportedForWholeApp()
158 PackageManagerStatsTestsBase.getAppUid(getDevice(), TEST_INSTALL_PACKAGE)); in testComponentStateChangedReportedForLauncherActivity()
164 PackageManagerStatsTestsBase.getAppUid(getDevice(), HELPER_PACKAGE)); in testComponentStateChangedReportedForLauncherActivity()
193 PackageManagerStatsTestsBase.getAppUid(getDevice(), TEST_INSTALL_PACKAGE)); in testComponentStateChangedReportedForNoLauncherActivity()
199 PackageManagerStatsTestsBase.getAppUid(getDevice(), HELPER_PACKAGE)); in testComponentStateChangedReportedForNoLauncherActivity()
228 PackageManagerStatsTestsBase.getAppUid(getDevice(), TEST_INSTALL_PACKAGE)); in testComponentStateChangedReportedEnabledThenDisabled()
234 PackageManagerStatsTestsBase.getAppUid(getDevice(), HELPER_PACKAGE)); in testComponentStateChangedReportedEnabledThenDisabled()
239 PackageManagerStatsTestsBase.getAppUid(getDevice(), TEST_INSTALL_PACKAGE)); in testComponentStateChangedReportedEnabledThenDisabled()
245 PackageManagerStatsTestsBase.getAppUid(getDevice(), HELPER_PACKAGE)); in testComponentStateChangedReportedEnabledThenDisabled()
[all …]
DPackageManagerStatsTestsBase.java77 protected int getAppUid(String packageName) throws Exception { in getAppUid() method in PackageManagerStatsTestsBase
78 return getAppUid(getDevice(), packageName); in getAppUid()
81 public static int getAppUid(ITestDevice device, String pkgName) throws Exception { in getAppUid() method in PackageManagerStatsTestsBase
DPackageInstallerV2StatsTests.java63 assertEquals(getAppUid(TEST_INSTALL_PACKAGE), report.getUid()); in testPackageInstallerV2MetricsReported()
81 assertEquals(getAppUid(TEST_INSTALL_PACKAGE), report.getUid()); in testPackageInstallerV2MetricsReportedForSplits()
DInstalledIncrementalPackageStatsTests.java71 getAppUid(TEST_INSTALL_PACKAGE), getAppUid(TEST_INSTALL_PACKAGE2)}; in testInstalledIncrementalMetricsReported()
DPackageInstallationSessionReportedStatsTests.java86 final int expectedUid = getAppUid(TEST_INSTALL_PACKAGE); in testPackageInstallationSessionReportedForApkSuccessWithReplace()
200 final int expectedUid = getAppUid(TEST_INSTALL_PACKAGE); in testPackageUninstalledReported()
245 final int expectedUid = getAppUid(TEST_INSTALL_PACKAGE); in testPackageInstallationFailedVersionDowngradeReported()
285 final int expectedUid = getAppUid(TEST_INSTALL_STATIC_SHARED_LIB_V1_PACKAGE); in testPackageInstallationFailedInternalErrorReported()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appexit/
DAppExitHostTest.java101 final int expectedUid = getAppUid(helperPackage); in testLogStatsdPermChanged()
115 final int expectedUid = getAppUid(TEST_PKG); in testLogStatsdOther()
146 private int getAppUid(String pkgName) throws Exception { in getAppUid() method in AppExitHostTest
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/net/
DBytesTransferredTest.java199 final int appUid = DeviceUtils.getAppUid(getDevice(), in doTestMobileBytesTransferThat()
209 assertWithMessage("Data for uid " + DeviceUtils.getAppUid(getDevice(), in doTestMobileBytesTransferThat()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DStatsdAppSecurityAtomTest.java78 int testAppId = getAppId(DeviceUtils.getAppUid(getDevice(), STATSD_APP_PKG)); in testRoleHolder()
/cts/hostsidetests/systemui/src/android/host/systemui/
DStatsdNotificationAtomTest.java91 assertThat(n.getUid()).isEqualTo(DeviceUtils.getAppUid(getDevice(), NOTIFICATION_TEST_PKG)); in testNotificationReported()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/credentials/
DCredentialsStatsTest.java70 mStatsdAtomTestUid = DeviceUtils.getAppUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG); in setUp()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/binderstats/
DBinderStatsTests.java86 int appUid = DeviceUtils.getAppUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG); in testBinderStats()
/cts/hostsidetests/appcompat/hiddenapi/src/android/compat/hiddenapi/cts/
DHostsideStatsdAtomTests.java108 final int appUid = DeviceUtils.getAppUid(getDevice(), TEST_PKG); in hiddenApiUsed()
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/
DStatsdBlobStoreAtomTest.java55 mTestAppUid = getAppUid(TARGET_PKG); in setUp()
DBaseBlobStoreHostTest.java149 protected int getAppUid(String pkgName) throws Exception { in getAppUid() method in BaseBlobStoreHostTest
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DDeviceUtils.java265 return getAppUid(device, STATSD_ATOM_TEST_PKG); in getStatsdTestAppUid()
271 public static int getAppUid(ITestDevice device, String pkgName) in getAppUid() method in DeviceUtils
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/gamemanager/
DGameManagerStatsTests.java60 mStatsdAtomTestUid = DeviceUtils.getAppUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG); in setUp()
/cts/hostsidetests/media/src/android/media/metrics/cts/
DMediaMetricsAtomTests.java383 int appUid = DeviceUtils.getAppUid(getDevice(), TEST_PKG); in testPlaybackMetrics_default()
419 int appUid = DeviceUtils.getAppUid(getDevice(), TEST_PKG); in testPlaybackMetrics()
805 int appUid = DeviceUtils.getAppUid(getDevice(), TEST_PKG); in validateAAudioStreamAtom()
919 int appUid = DeviceUtils.getAppUid(getDevice(), TEST_PKG); in testMidiMetrics()