/cts/hostsidetests/locale/src/android/localemanager/cts/ |
D | AppSupportedLocalesChangedAtomTest.java | 80 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 …]
|
D | ApplicationLocalesChangedAtomTests.java | 102 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/ |
D | ComponentStateChangedReportedStatsTests.java | 123 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 …]
|
D | PackageManagerStatsTestsBase.java | 77 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
|
D | PackageInstallerV2StatsTests.java | 63 assertEquals(getAppUid(TEST_INSTALL_PACKAGE), report.getUid()); in testPackageInstallerV2MetricsReported() 81 assertEquals(getAppUid(TEST_INSTALL_PACKAGE), report.getUid()); in testPackageInstallerV2MetricsReportedForSplits()
|
D | InstalledIncrementalPackageStatsTests.java | 71 getAppUid(TEST_INSTALL_PACKAGE), getAppUid(TEST_INSTALL_PACKAGE2)}; in testInstalledIncrementalMetricsReported()
|
D | PackageInstallationSessionReportedStatsTests.java | 86 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/ |
D | AppExitHostTest.java | 101 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/ |
D | BytesTransferredTest.java | 199 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/ |
D | StatsdAppSecurityAtomTest.java | 78 int testAppId = getAppId(DeviceUtils.getAppUid(getDevice(), STATSD_APP_PKG)); in testRoleHolder()
|
/cts/hostsidetests/systemui/src/android/host/systemui/ |
D | StatsdNotificationAtomTest.java | 91 assertThat(n.getUid()).isEqualTo(DeviceUtils.getAppUid(getDevice(), NOTIFICATION_TEST_PKG)); in testNotificationReported()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/credentials/ |
D | CredentialsStatsTest.java | 70 mStatsdAtomTestUid = DeviceUtils.getAppUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG); in setUp()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/binderstats/ |
D | BinderStatsTests.java | 86 int appUid = DeviceUtils.getAppUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG); in testBinderStats()
|
/cts/hostsidetests/appcompat/hiddenapi/src/android/compat/hiddenapi/cts/ |
D | HostsideStatsdAtomTests.java | 108 final int appUid = DeviceUtils.getAppUid(getDevice(), TEST_PKG); in hiddenApiUsed()
|
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/ |
D | StatsdBlobStoreAtomTest.java | 55 mTestAppUid = getAppUid(TARGET_PKG); in setUp()
|
D | BaseBlobStoreHostTest.java | 149 protected int getAppUid(String pkgName) throws Exception { in getAppUid() method in BaseBlobStoreHostTest
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/ |
D | DeviceUtils.java | 265 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/ |
D | GameManagerStatsTests.java | 60 mStatsdAtomTestUid = DeviceUtils.getAppUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG); in setUp()
|
/cts/hostsidetests/media/src/android/media/metrics/cts/ |
D | MediaMetricsAtomTests.java | 383 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()
|