Home
last modified time | relevance | path

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

/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
H A DExperimentalCarUserManagerUnitTest.java125 AndroidFuture<UserSwitchResult> future = mManager.switchDriver(10); in testSwitchDriver_Success()
133 AndroidFuture<UserSwitchResult> future = mManager.switchDriver(20); in testSwitchDriver_Error()
216 }).when(mService).switchDriver(eq(userId), notNull()); in expectSwitchDriverSucceed()
221 .switchDriver(eq(userId), notNull()); in expectSwitchDriverFail()
H A DCarUserServiceTest.java787 mCarUserService.switchDriver(mRegularUser.id, mUserSwitchFuture); in testSwitchDriver()
798 mCarUserService.switchDriver(mRegularUser.id, mUserSwitchFuture); in testSwitchDriver_failUxRestrictions()
810 mCarUserService.switchDriver(mRegularUser.id, mUserSwitchFuture); in testSwitchDriver_IfUserSwitchIsNotAllowed()
820 mCarUserService.switchDriver(mAdminUser.id, mUserSwitchFuture); in testSwitchDriver_IfSwitchedToCurrentUser()
/aosp12/packages/services/Car/car-lib/src/android/car/user/
H A DExperimentalCarUserManager.java123 public AndroidFuture<UserSwitchResult> switchDriver(@UserIdInt int driverId) { in switchDriver() method in ExperimentalCarUserManager
134 mService.switchDriver(driverId, future); in switchDriver()
/aosp12/packages/services/Car/car-lib/src/android/car/
H A DICarUserService.aidl32 void switchDriver(int driverId, in AndroidFuture<UserSwitchResult> receiver); in switchDriver() method
/aosp12/packages/services/Car/service/src/com/android/car/user/
H A DCarUserService.java560 public void switchDriver(@UserIdInt int driverId, AndroidFuture<UserSwitchResult> receiver) { in switchDriver() method in CarUserService