Home
last modified time | relevance | path

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

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarMultiUserTestBase.java402 protected void assertUserInfo(UserInfo actualUser, UserInfo expectedUser) { in assertUserInfo() argument
404 .that(actualUser.id).isEqualTo(expectedUser.id); in assertUserInfo()
406 .that(actualUser.name).isEqualTo(expectedUser.name); in assertUserInfo()
408 .that(actualUser.userType).isEqualTo(expectedUser.userType); in assertUserInfo()
410 .that(actualUser.flags).isEqualTo(expectedUser.flags); in assertUserInfo()
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DAndroidMockitoHelperTest.java225 UserInfo expectedUser = new UserTestingHelper.UserInfoBuilder(UserHandle.USER_SYSTEM) in testMockUmGetSystemUser() local
230 expectedUser.getUserHandle()); in testMockUmGetSystemUser()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/
DNotificationHelperTest.java305 SparseArray<Notification> expectedNotificationsById, UserHandle expectedUser) in captureAndVerifyUserNotifications() argument
309 mNotificationCaptor.capture(), eq(expectedUser)); in captureAndVerifyUserNotifications()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DInitialUserSetterTest.java1226 private void assertInitialUserSet(UserHandle expectedUser) { in assertInitialUserSet() argument
1229 .isSameInstanceAs(expectedUser); in assertInitialUserSet()
DCarUserServiceTest.java2213 UserHandle expectedUser = expectEphemeralUserExists(mMockedUserHandleHelper, userId); in testCreateUser_success_nullName() local
2216 UserManagerHelper.FLAG_EPHEMERAL, expectedUser); in testCreateUser_success_nullName()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalServiceTest.java1809 UserInfo expectedUser = info.existingUsers[j]; in assertUsersInfo() local
1811 .that(actualUserId).isEqualTo(expectedUser.userId); in assertUsersInfo()
1813 .that(actualUserFlags).isEqualTo(expectedUser.flags); in assertUsersInfo()