Home
last modified time | relevance | path

Searched refs:currentUserName (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/
DMockUserSwitcherControllerWrapper.kt31 currentUserName: String = "", in <lambda>()
36 var currentUserName = currentUserName in <lambda>() variable
57 whenever(controller.currentUserName).thenAnswer { this.currentUserName } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/repository/
DUserSwitcherRepository.kt96 private val currentUserName: Flow<String?> = conflatedCallbackFlow { in <lambda>() constant in com.android.systemui.user.data.repository.UserSwitcherRepositoryImpl
127 combine(currentUserName, currentUserInfo) { name, (icon, isGuest) -> in enabled()
143 return withContext(bgDispatcher) { userSwitcherController.currentUserName } in getCurrentUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/data/model/
DUserSwitcherStatusModel.kt28 val currentUserName: String?, constant in com.android.systemui.qs.footer.data.model.UserSwitcherStatusModel.Enabled
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.kt81 val currentUserName: String? constant in com.android.systemui.statusbar.policy.UserSwitcherController
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/footer/ui/viewmodel/
DFooterActionsViewModelTest.kt133 MockUserSwitcherControllerWrapper(currentUserName = "foo") in <lambda>()
177 userSwitcherControllerWrapper.currentUserName = "bar" in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/ui/viewmodel/
DFooterActionsViewModel.kt329 userSwitcherContentDescription(qsThemedContext, status.currentUserName) in userSwitcherButtonViewModel()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java1116 final String currentUserName = mUserSwitcherController.getCurrentUserName(); in setupUserSwitcher() local
1119 mUserSwitcher.setText(currentUserName); in setupUserSwitcher()