Searched refs:mCarUserManager (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/user/ |
D | CarUserManagerPermissionTest.java | 58 private CarUserManager mCarUserManager; field in CarUserManagerPermissionTest 63 mCarUserManager = (CarUserManager) mCar.getCarManager(CAR_USER_SERVICE); in setUp() 69 () -> mCarUserManager.switchUser( in testSwitchUser() 81 () -> mCarUserManager.switchUserIgnoringUxRestriction( in testSwitchUserIgnoringUxRestriction() 91 Exception e = assertThrows(SecurityException.class, () -> mCarUserManager.switchUser(100)); in testSwitchUserId() 99 () -> mCarUserManager.createUser( in testCreateUser() 110 () -> mCarUserManager.createUser(null, 0)); in testCreateUserId() 118 () -> invokeMethodWithShellPermissions(mCarUserManager, in testCannotCreateAdminUserWithoutManageUsersPermission() 127 () -> invokeMethodWithShellPermissions(mCarUserManager, in testCannotCreateAdminUserWithTypeWithoutManageUsersPermission() 136 () -> mCarUserManager.removeUser( in testRemoveUser() [all …]
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarUserManagerTest.java | 83 private CarUserManager mCarUserManager; field in CarUserManagerTest 90 mCarUserManager = getCar().getCarManager(CarUserManager.class); in setUp() 153 mCarUserManager.addListener(Runnable::run, listenerForVisible); in testStartUserOnDisplayAndStopUser() 154 mCarUserManager.addListener(Runnable::run, listenerForStarting); in testStartUserOnDisplayAndStopUser() 155 mCarUserManager.addListener(Runnable::run, listenerForInvisible); in testStartUserOnDisplayAndStopUser() 162 mCarUserManager.startUser(startRequest, Runnable::run, in testStartUserOnDisplayAndStopUser() 199 mCarUserManager.stopUser(stopRequest, Runnable::run, in testStartUserOnDisplayAndStopUser() 224 mCarUserManager.removeListener(listenerForVisible); in testStartUserOnDisplayAndStopUser() 225 mCarUserManager.removeListener(listenerForInvisible); in testStartUserOnDisplayAndStopUser() 251 mCarUserManager.addListener(Runnable::run, listener); in testLifecycleUserCreatedListener_supportedVersion() [all …]
|
/cts/tests/tests/car/src/android/car/app/cts/ |
D | MultiUserMultiDisplayWindowSecurityTest.java | 87 private CarUserManager mCarUserManager; field in MultiUserMultiDisplayWindowSecurityTest 98 mCarUserManager = car.getCarManager(CarUserManager.class); in setUp() 201 mCarUserManager.createUser(new UserCreationRequest.Builder().setName(userName).build(), in createNewUser()
|