Searched refs:UserActionModel (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/legacyhelper/data/ |
D | LegacyUserDataHelper.kt | 27 import com.android.systemui.user.shared.model.UserActionModel 68 actionType: UserActionModel, in createRecord() 74 isGuest = actionType == UserActionModel.ENTER_GUEST_MODE, in createRecord() 75 isAddUser = actionType == UserActionModel.ADD_USER, in createRecord() 76 isAddSupervisedUser = actionType == UserActionModel.ADD_SUPERVISED_USER, in createRecord() 85 isManageUsers = actionType == UserActionModel.NAVIGATE_TO_USER_MANAGEMENT, in createRecord() 89 fun toUserActionModel(record: UserRecord): UserActionModel { in toUserActionModel() 93 record.isAddUser -> UserActionModel.ADD_USER in toUserActionModel() 94 record.isAddSupervisedUser -> UserActionModel.ADD_SUPERVISED_USER in toUserActionModel() 95 record.isGuest -> UserActionModel.ENTER_GUEST_MODE in toUserActionModel() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/viewmodel/ |
D | UserSwitcherViewModel.kt | 26 import com.android.systemui.user.shared.model.UserActionModel in <lambda>() 156 model: UserActionModel, in <lambda>() 162 isAddSupervisedUser = model == UserActionModel.ADD_SUPERVISED_USER, in <lambda>() 163 isAddUser = model == UserActionModel.ADD_USER, in <lambda>() 164 isGuest = model == UserActionModel.ENTER_GUEST_MODE, in <lambda>() 165 isManageUsers = model == UserActionModel.NAVIGATE_TO_USER_MANAGEMENT, in <lambda>() 170 isGuest = model == UserActionModel.ENTER_GUEST_MODE, in <lambda>() 173 isAddSupervisedUser = model == UserActionModel.ADD_SUPERVISED_USER, in <lambda>() 174 isAddUser = model == UserActionModel.ADD_USER, in <lambda>() 175 isManageUsers = model == UserActionModel.NAVIGATE_TO_USER_MANAGEMENT, in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/ |
D | UserSwitcherInteractorTest.kt | 60 import com.android.systemui.user.shared.model.UserActionModel in <lambda>() 360 UserActionModel.ENTER_GUEST_MODE, in <lambda>() 361 UserActionModel.ADD_USER, in <lambda>() 362 UserActionModel.ADD_SUPERVISED_USER, in <lambda>() 363 UserActionModel.NAVIGATE_TO_USER_MANAGEMENT, in <lambda>() 385 UserActionModel.ADD_USER, in <lambda>() 386 UserActionModel.ADD_SUPERVISED_USER, in <lambda>() 387 UserActionModel.ENTER_GUEST_MODE, in <lambda>() 388 UserActionModel.NAVIGATE_TO_USER_MANAGEMENT, in <lambda>() 405 assertThat(value()).isEqualTo(emptyList<UserActionModel>()) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/ |
D | UserSwitcherInteractor.kt | 62 import com.android.systemui.user.shared.model.UserActionModel in <lambda>() 165 val actions: Flow<List<UserActionModel>> in <lambda>() 183 val actionList: List<UserActionModel> = in <lambda>() 186 UserActionModel.ADD_USER, in <lambda>() 187 UserActionModel.ADD_SUPERVISED_USER, in <lambda>() 188 UserActionModel.ENTER_GUEST_MODE, in <lambda>() 192 UserActionModel.ENTER_GUEST_MODE, in <lambda>() 193 UserActionModel.ADD_USER, in <lambda>() 194 UserActionModel.ADD_SUPERVISED_USER, in <lambda>() 199 UserActionModel.ENTER_GUEST_MODE -> { in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/shared/model/ |
D | UserActionModel.kt | 20 enum class UserActionModel { class
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/binder/ |
D | UserSwitcherViewBinder.kt | 42 import com.android.systemui.user.shared.model.UserActionModel in <lambda>() 254 it.viewKey != UserActionModel.NAVIGATE_TO_USER_MANAGEMENT.ordinal.toLong() in <lambda>() 258 it.viewKey == UserActionModel.NAVIGATE_TO_USER_MANAGEMENT.ordinal.toLong() in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/ui/viewmodel/ |
D | UserSwitcherViewModelTest.kt | 48 import com.android.systemui.user.shared.model.UserActionModel in <lambda>() 319 UserActionModel.ENTER_GUEST_MODE.ordinal.toLong(), in <lambda>() 320 UserActionModel.ADD_USER.ordinal.toLong(), in <lambda>() 321 UserActionModel.ADD_SUPERVISED_USER.ordinal.toLong(), in <lambda>() 322 UserActionModel.NAVIGATE_TO_USER_MANAGEMENT.ordinal.toLong(), in <lambda>()
|