Home
last modified time | relevance | path

Searched refs:createPassenger (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DExperimentalCarUserManagerUnitTest.java111 int userId = mManager.createPassenger("test passenger", 10); in testCreatePassenger_Success()
118 int userId = mManager.createPassenger("test passenger", 20); in testCreatePassenger_Error()
202 when(mService.createPassenger("test passenger", /* driverId = */ 10)).thenReturn(userInfo); in expectCreatePassengerSucceed()
206 when(mService.createPassenger("test passenger", /* driverId = */ 10)).thenReturn(null); in expectCreatePassengerFail()
DCarUserServiceTest.java538 assertEquals(userInfo, mCarUserService.createPassenger(userName, driverId)); in testCreatePassenger()
549 assertEquals(null, mCarUserService.createPassenger(userName, driverId)); in testCreatePassenger_IfMaximumProfileAlreadyCreated()
558 assertEquals(null, mCarUserService.createPassenger(userName, driverId)); in testCreatePassenger_IfDriverIsGuest()
/packages/services/Car/car-lib/src/android/car/user/
DExperimentalCarUserManager.java105 public int createPassenger(@NonNull String name, @UserIdInt int driverId) { in createPassenger() method in ExperimentalCarUserManager
107 UserInfo ui = mService.createPassenger(name, driverId); in createPassenger()
/packages/services/Car/car-lib/src/android/car/
DICarUserService.aidl30 UserInfo createPassenger(@nullable String name, int driverId); in createPassenger() method
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java432 public UserInfo createPassenger(@NonNull String name, @UserIdInt int driverId) { in createPassenger() method in CarUserService
1901 UserInfo passenger = createPassenger("Passenger", currentUser); in setupPassengerUser()