Home
last modified time | relevance | path

Searched refs:logoutUser (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/
DQCLogoutButtonController.java77 logoutUser();
153 private void logoutUser() { in logoutUser() method in QCLogoutButtonController
DProfileSwitcher.java266 row.setActionHandler((item, context, intent) -> logoutUser()); in createLogOutRow()
364 private void logoutUser() { in logoutUser() method in ProfileSwitcher
367 AsyncFuture<UserSwitchResult> userSwitchResultFuture = mCarUserManager.logoutUser(); in logoutUser()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/user/
DCarUserManagerUnitTest.java364 AsyncFuture<UserSwitchResult> future = mMgr.logoutUser(); in testLogoutUser_success()
377 AsyncFuture<UserSwitchResult> future = mMgr.logoutUser(); in testLogoutUser_remoteException()
389 AsyncFuture<UserSwitchResult> future = mMgr.logoutUser(); in testLogoutUser_runtimeException()
806 }).when(mService).logoutUser(anyInt(), notNull()); in expectServiceLogoutUserSucceeds()
810 doThrow(e).when(mService).logoutUser(anyInt(), notNull()); in expectServiceLogoutUserFails()
/packages/services/Car/car-lib/src/android/car/
DICarUserService.aidl39 void logoutUser(int timeoutMs, in ResultCallbackImpl<UserSwitchResult> callback); in logoutUser() method
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java1764 logoutUser(ASYNC_CALL_TIMEOUT_MS, mUserSwitchResultCallbackImpl); in testLogoutUser_currentUserNotSwitchedByDeviceAdmin()
1779 logoutUser(ASYNC_CALL_TIMEOUT_MS, mUserSwitchResultCallbackImpl); in testLogoutUser_halNotSupported_noUserSwitchability()
1792 logoutUser(ASYNC_CALL_TIMEOUT_MS, mUserSwitchResultCallbackImpl); in testLogoutUser_halNotSupported_success()
1805 logoutUser(ASYNC_CALL_TIMEOUT_MS, mUserSwitchResultCallbackImpl); in testLogoutUser_halNotSupported_failure()
1824 logoutUser(ASYNC_CALL_TIMEOUT_MS, mUserSwitchResultCallbackImpl); in testLogoutUser_halSuccessAndroidSuccess()
1847 logoutUser(ASYNC_CALL_TIMEOUT_MS, mUserSwitchResultCallbackImpl); in testLogoutUser_halSuccessAndroidFailure()
1865 logoutUser(ASYNC_CALL_TIMEOUT_MS, mUserSwitchResultCallbackImpl); in testLogoutUser_halFailure()
1880 logoutUser(ASYNC_CALL_TIMEOUT_MS, mUserSwitchResultCallbackImpl); in testLogoutUser_failUxRestrictedOnInit()
1894 .logoutUser(ASYNC_CALL_TIMEOUT_MS, mUserSwitchResultCallbackImpl)); in testLogoutUser_InvalidPermission()
2993 private void logoutUser(int timeoutMs, ResultCallbackImpl<UserSwitchResult> callback) { in logoutUser() method in CarUserServiceTest
[all …]
DBaseCarUserServiceTestCase.java994 verify(mMockedDevicePolicyManager).logoutUser(); in verifyLogoutUser()
998 verify(mMockedDevicePolicyManager, never()).logoutUser(); in verifyNoLogoutUser()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userpicker/
DUserPickerPassengerHeaderTest.java124 verify(activity.mController).logoutUser(); in logoutUser_pressLogoutButton_stopUser()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DUserPickerActivity.java203 mLogoutButton.setOnClickListener(v -> mController.logoutUser()); in initViews()
DUserPickerController.java281 void logoutUser() {
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfileHelper.java240 UserSwitchResult result = getResult("logout", mCarUserManager.logoutUser()); in logoutProfile()
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DAndroidMockitoHelperTest.java364 assertThat(mMockedDevicePolicyManager.logoutUser()).isEqualTo(42); in testMockDpmLogoutUser()
/packages/services/Car/car-lib/src/android/car/user/
DCarUserManager.java595 public AsyncFuture<UserSwitchResult> logoutUser() { in logoutUser() method in CarUserManager
615 mService.logoutUser(HAL_TIMEOUT_MS, resultCallbackImpl); in logoutUser()
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DAndroidMockitoHelper.java181 when(dpm.logoutUser()).thenReturn(result); in mockDpmLogoutUser()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java933 public void logoutUser(int timeoutMs, @NonNull ResultCallbackImpl<UserSwitchResult> callback) { in logoutUser() method in CarUserService
1087 int result = mDpm.logoutUser(); in switchOrLogoutUser()
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java1422 logoutUser(args, writer); in exec()
2377 private void logoutUser(String[] args, IndentingPrintWriter writer) {
2397 AsyncFuture<UserSwitchResult> future = carUserManager.logoutUser();
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.2.txt588 android.car.user CarUserManager AsyncFuture<UserSwitchResult> logoutUser()
Dcar_hidden_apis_release_33.1.txt579 android.car.user CarUserManager AsyncFuture<UserSwitchResult> logoutUser()
Dcar_hidden_apis.txt683 android.car.user CarUserManager AsyncFuture<UserSwitchResult> logoutUser()
Dcar_hidden_apis_release_33.3.txt658 android.car.user CarUserManager AsyncFuture<UserSwitchResult> logoutUser()
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt468 method TIRAMISU_0 @hiddenOnly AsyncFuture<UserSwitchResult> logoutUser();