Home
last modified time | relevance | path

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

/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DInstalledIncrementalPackageStatsTests.java69 assertTrue(uidsReported.contains(getAppUid(TEST_INSTALL_PACKAGE))); in testInstalledIncrementalMetricsReported()
70 assertTrue(uidsReported.contains(getAppUid(TEST_INSTALL_PACKAGE2))); in testInstalledIncrementalMetricsReported()
DPackageInstallerV2StatsTests.java64 assertEquals(getAppUid(TEST_INSTALL_PACKAGE), report.getUid()); in testPackageInstallerV2MetricsReported()
82 assertEquals(getAppUid(TEST_INSTALL_PACKAGE), report.getUid()); in testPackageInstallerV2MetricsReportedForSplits()
DPackageManagerStatsTestsBase.java78 protected int getAppUid(String pkgName) throws Exception { in getAppUid() method in PackageManagerStatsTestsBase
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appexit/
DAppExitHostTest.java93 final int expectedUid = getAppUid(helperPackage); in testLogStatsdPermChanged()
106 final int expectedUid = getAppUid(TEST_PKG); in testLogStatsdOther()
137 private int getAppUid(String pkgName) throws Exception { in getAppUid() method in AppExitHostTest
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/net/
DBytesTransferredTest.java221 final int appUid = DeviceUtils.getAppUid(getDevice(), in doTestMobileBytesTransferThat()
231 assertWithMessage("Data for uid " + DeviceUtils.getAppUid(getDevice(), in doTestMobileBytesTransferThat()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DStatsdAppSecurityAtomTest.java77 int testAppId = getAppId(DeviceUtils.getAppUid(getDevice(), STATSD_APP_PKG)); in testRoleHolder()
/cts/hostsidetests/systemui/src/android/host/systemui/
DStatsdNotificationAtomTest.java94 assertThat(n.getUid()).isEqualTo(DeviceUtils.getAppUid(getDevice(), NOTIFICATION_TEST_PKG)); in testNotificationReported()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/binderstats/
DBinderStatsTests.java85 int appUid = DeviceUtils.getAppUid(getDevice(), DeviceUtils.STATSD_ATOM_TEST_PKG); in testBinderStats()
/cts/hostsidetests/appcompat/hiddenapi/src/android/compat/hiddenapi/cts/
DHostsideStatsdAtomTests.java98 final int appUid = DeviceUtils.getAppUid(getDevice(), TEST_PKG); in testHiddenApiUsed()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DDeviceUtils.java219 return getAppUid(device, STATSD_ATOM_TEST_PKG); in getStatsdTestAppUid()
225 public static int getAppUid(ITestDevice device, String pkgName) in getAppUid() method in DeviceUtils
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/
DBaseBlobStoreHostTest.java122 protected int getAppUid(String pkgName) throws Exception { in getAppUid() method in BaseBlobStoreHostTest
DStatsdBlobStoreAtomTest.java54 mTestAppUid = getAppUid(TARGET_PKG); in setUp()
/cts/hostsidetests/media/src/android/media/metrics/cts/
DMediaMetricsAtomTests.java336 int appUid = DeviceUtils.getAppUid(getDevice(), TEST_PKG); in testPlaybackMetrics_default()
373 int appUid = DeviceUtils.getAppUid(getDevice(), TEST_PKG); in testPlaybackMetrics()