Home
last modified time | relevance | path

Searched refs:createUserSwitchRequest (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalServiceTest.java627 () -> myHalService.switchUser(createUserSwitchRequest(mUser100, mUsersInfo), in testSwitchUser_noHalSupported()
634 .switchUser(createUserSwitchRequest(mUser100, mUsersInfo), 0, noOpCallback())); in testSwitchUser_invalidTimeout()
636 .switchUser(createUserSwitchRequest(mUser100, mUsersInfo), -1, noOpCallback())); in testSwitchUser_invalidTimeout()
642 .switchUser(createUserSwitchRequest(mUser100, null), HAL_TIMEOUT_MS, in testSwitchUser_noUsersInfo()
649 .switchUser(createUserSwitchRequest(mUser100, mUsersInfo), HAL_TIMEOUT_MS, null)); in testSwitchUser_noCallback()
661 .switchUser(createUserSwitchRequest(null, mUsersInfo), HAL_TIMEOUT_MS, in testSwitchUser_noTarget()
671 mUserHalService.switchUser(createUserSwitchRequest(mUser100, mUsersInfo), in testSwitchUser_halSetTimedOut()
688 mUserHalService.switchUser(createUserSwitchRequest(mUser100, mUsersInfo), in testSwitchUser_halDidNotReply()
708 mUserHalService.switchUser(createUserSwitchRequest(mUser100, mUsersInfo), in testSwitchUser_halReplyWithWrongRequestId()
746 mUserHalService.switchUser(createUserSwitchRequest(mUser100, mUsersInfo), HAL_TIMEOUT_MS, in testSwitchUser_halReturnedInvalidMessageType()
[all …]
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java1014 SwitchUserRequest request = createUserSwitchRequest(targetUserId, usersInfo); in handleSwitchUser()
1772 SwitchUserRequest request = createUserSwitchRequest(targetUserId, usersInfo); in postSwitchHalResponse()
1777 private SwitchUserRequest createUserSwitchRequest(@UserIdInt int targetUserId, in createUserSwitchRequest() method in CarUserService
2752 SwitchUserRequest request = createUserSwitchRequest(toUserId, usersInfo); in notifyHalLegacySwitch()