Searched refs:createPassenger (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | ExperimentalCarUserManagerUnitTest.java | 111 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()
|
D | CarUserServiceTest.java | 538 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/ |
D | ExperimentalCarUserManager.java | 105 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/ |
D | ICarUserService.aidl | 30 UserInfo createPassenger(@nullable String name, int driverId); in createPassenger() method
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserService.java | 432 public UserInfo createPassenger(@NonNull String name, @UserIdInt int driverId) { in createPassenger() method in CarUserService 1901 UserInfo passenger = createPassenger("Passenger", currentUser); in setupPassengerUser()
|