Home
last modified time | relevance | path

Searched refs:expectedUid (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DPackageInstallationSessionReportedStatsTests.java86 final int expectedUid = getAppUid(TEST_INSTALL_PACKAGE); in testPackageInstallationSessionReportedForApkSuccessWithReplace() local
90 checkReportResult(reports.get(0), expectedUid, Collections.singletonList(expectedUser), in testPackageInstallationSessionReportedForApkSuccessWithReplace()
97 checkReportResult(reports.get(1), expectedUid, Collections.singletonList(expectedUser), in testPackageInstallationSessionReportedForApkSuccessWithReplace()
138 int expectedUid, List<Integer> expectedUserIds, in checkReportResult() argument
148 assertThat(report.getUid()).isEqualTo(expectedUid); in checkReportResult()
200 final int expectedUid = getAppUid(TEST_INSTALL_PACKAGE); in testPackageUninstalledReported() local
213 assertThat(report.getUid()).isEqualTo(expectedUid); in testPackageUninstalledReported()
245 final int expectedUid = getAppUid(TEST_INSTALL_PACKAGE); in testPackageInstallationFailedVersionDowngradeReported() local
247 checkReportResult(reports.get(0), expectedUid, Collections.singletonList(expectedUser), in testPackageInstallationFailedVersionDowngradeReported()
285 final int expectedUid = getAppUid(TEST_INSTALL_STATIC_SHARED_LIB_V1_PACKAGE); in testPackageInstallationFailedInternalErrorReported() local
[all …]
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appexit/
DAppExitHostTest.java101 final int expectedUid = getAppUid(helperPackage); in testLogStatsdPermChanged() local
103 assertThat(appDied.getUid()).isEqualTo(expectedUid); in testLogStatsdPermChanged()
115 final int expectedUid = getAppUid(TEST_PKG); in testLogStatsdOther() local
117 assertThat(appDied.getUid()).isEqualTo(expectedUid); in testLogStatsdOther()
/cts/tests/tests/assist/src/android/assist/cts/
DExtraAssistDataTest.java73 int expectedUid = Utils.getExpectedUid(extraAssistBundle); in testAssistContentAndAssistData() local
76 .isEqualTo(expectedUid); in testAssistContentAndAssistData()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/content/pm/
DPackageManagerHelperTest.java166 int expectedUid = UserHandle.SYSTEM.getUid(Process.SYSTEM_UID); in testGetPackageUidAsUser() local
172 assertThat(actualUid).isEqualTo(expectedUid); in testGetPackageUidAsUser()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/alarm/
DAlarmStatsTests.java230 final int expectedUid = getUid(ALARM_ATOM_TEST_PACKAGE); in testAlarmBatchDelivered() local
238 if (abd.getUids(j) == expectedUid) { in testAlarmBatchDelivered()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java1054 int expectedUid = UserHandle.getUid(userId, 1000); in testGetPackageUid() local
1056 assertEquals(expectedUid, mPackageManager.getPackageUid("android", in testGetPackageUid()