Home
last modified time | relevance | path

Searched refs:mUserSwitcherController (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestResetOrExitSessionReceiver.java179 private final UserSwitcherController mUserSwitcherController; field in GuestResetOrExitSessionReceiver.ResetSessionDialogClickListener
196 mUserSwitcherController = userSwitcherController; in ResetSessionDialogClickListener()
206 mUserSwitcherController.removeGuestUser(mUserId, UserHandle.USER_NULL); in onClick()
280 private final UserSwitcherController mUserSwitcherController; field in GuestResetOrExitSessionReceiver.ExitSessionDialogClickListener
300 mUserSwitcherController = userSwitcherController; in ExitSessionDialogClickListener()
312 mUserSwitcherController.exitGuestUser(mUserId, UserHandle.USER_NULL, false); in onClick()
321 mUserSwitcherController.exitGuestUser(mUserId, UserHandle.USER_NULL, false); in onClick()
324 mUserSwitcherController.exitGuestUser(mUserId, UserHandle.USER_NULL, true); in onClick()
DGuestResumeSessionReceiver.java142 private final UserSwitcherController mUserSwitcherController; field in GuestResumeSessionReceiver.ResetSessionDialog
170 mUserSwitcherController = userSwitcherController; in ResetSessionDialog()
179 mUserSwitcherController.removeGuestUser(mUserId, UserHandle.USER_NULL); in onClick()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardSecurityContainerTest.java94 private UserSwitcherController mUserSwitcherController; field in KeyguardSecurityContainerTest
118 when(mUserSwitcherController.getCurrentUserName()).thenReturn("Test User"); in setup()
119 when(mUserSwitcherController.isKeyguardShowing()).thenReturn(true); in setup()
244 when(mUserSwitcherController.getUsers()).thenReturn(buildUserRecords(1)); in testUserSwitcherModeViewPositionLandscape()
275 when(mUserSwitcherController.getUsers()).thenReturn(buildUserRecords(1)); in testUserSwitcherModeViewPositionPortrait()
311 when(mUserSwitcherController.getUsers()).thenReturn(buildUserRecords(1)); in testLessThanTwoUsersDoesNotAllowDropDown()
325 when(mUserSwitcherController.getCurrentUserRecord()).thenReturn(records.get(0)); in testTwoOrMoreUsersDoesAllowDropDown()
326 when(mUserSwitcherController.getUsers()).thenReturn(records); in testTwoOrMoreUsersDoesAllowDropDown()
478 mUserSwitcherController, () -> { in initMode()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DUserDetailViewAdapterTest.kt52 @Mock private lateinit var mUserSwitcherController: UserSwitcherController variable in com.android.systemui.qs.tiles.UserDetailViewAdapterTest
75 mUserSwitcherController, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java153 private UserSwitcherController mUserSwitcherController; field in KeyguardSecurityContainer
378 mUserSwitcherController = userSwitcherController; in initMode()
399 || mFalsingManager == null || mUserSwitcherController == null) { in setupViewMode()
404 mUserSwitcherController, mFalsingA11yDelegate); in setupViewMode()
978 private UserSwitcherController mUserSwitcherController; field in KeyguardSecurityContainer.UserSwitcherViewMode
1001 mUserSwitcherController = userSwitcherController; in init()
1010 mUserSwitcherController.addUserSwitchCallback(mUserSwitchCallback); in init()
1046 mUserSwitcherController.removeUserSwitchCallback(mUserSwitchCallback); in onDestroy()
1111 final UserRecord currentUser = mUserSwitcherController.getCurrentUserRecord(); in setupUserSwitcher()
1116 final String currentUserName = mUserSwitcherController.getCurrentUserName(); in setupUserSwitcher()
[all …]
DKeyguardSecurityContainerController.java129 private final UserSwitcherController mUserSwitcherController; field in KeyguardSecurityContainerController
486 mUserSwitcherController = userSwitcherController; in KeyguardSecurityContainerController()
518 mUserSwitcherController.addUserSwitchCallback(mUserSwitchCallback); in onViewAttached()
550 mUserSwitcherController.removeUserSwitchCallback(mUserSwitchCallback); in onViewDetached()
1102 mView.initMode(mode, mGlobalSettings, mFalsingManager, mUserSwitcherController, in configureMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardQsUserSwitchController.java72 private final UserSwitcherController mUserSwitcherController; field in KeyguardQsUserSwitchController
156 mUserSwitcherController = userSwitcherController; in KeyguardQsUserSwitchController()
176 mAdapter = new BaseUserSwitcherAdapter(mUserSwitcherController) { in onInit()
DKeyguardUserSwitcherController.java74 private final UserSwitcherController mUserSwitcherController; field in KeyguardUserSwitcherController
169 mUserSwitcherController = userSwitcherController; in KeyguardUserSwitcherController()
174 mUserSwitcherController, this); in KeyguardUserSwitcherController()
240 return mUserSwitcherController.isSimpleUserSwitcher(); in isSimpleUserSwitcher()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardViewMediatorTest.java173 private @Mock UserSwitcherController mUserSwitcherController; field in KeyguardViewMediatorTest
1207 mUserSwitcherController, in createAndStartViewMediator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java358 private final UserSwitcherController mUserSwitcherController; field in KeyguardViewMediator
1485 mUserSwitcherController = userSwitcherController;
3583 mUserSwitcherController.schedulePostBootGuestCreation();