Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DExperimentalCarUserManagerUnitTest.java75 AndroidFuture<UserCreationResult> future = mManager.createDriver(name, true); in testCreateDriver_Success_Admin()
89 AndroidFuture<UserCreationResult> future = mManager.createDriver(name, false); in testCreateDriver_Success_NonAdmin()
101 AndroidFuture<UserCreationResult> future = mManager.createDriver("test driver", false); in testCreateDriver_Error()
192 when(mService.createDriver(eq(name), anyBoolean())).thenReturn(future); in expectCreateDriverSucceed()
197 .createDriver(anyString(), anyBoolean()); in expectCreateDriverFail()
DCarUserServiceTest.java501 AndroidFuture<UserCreationResult> future = mCarUserService.createDriver("testUser", true); in testCreateAdminDriver_IfCurrentUserIsAdminUser()
510 AndroidFuture<UserCreationResult> future = mCarUserService.createDriver("testUser", true); in testCreateAdminDriver_IfCurrentUserIsNotSystemUser()
521 AndroidFuture<UserCreationResult> future = mCarUserService.createDriver("testUser", false); in testCreateNonAdminDriver()
/packages/services/Car/car-lib/src/android/car/user/
DExperimentalCarUserManager.java81 public AndroidFuture<UserCreationResult> createDriver(@NonNull String name, boolean admin) { in createDriver() method in ExperimentalCarUserManager
83 return mService.createDriver(name, admin); in createDriver()
/packages/services/Car/car-lib/src/android/car/
DICarUserService.aidl29 AndroidFuture<UserCreationResult> createDriver(@nullable String name, boolean admin); in createDriver() method
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java397 public AndroidFuture<UserCreationResult> createDriver(@NonNull String name, boolean admin) { in createDriver() method in CarUserService