Home
last modified time | relevance | path

Searched refs:PreferenceViewModel (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/ui/settings/
DFingerprintSettingsViewModelTest.kt29 import com.android.settings.biometrics.fingerprint2.ui.settings.viewmodel.PreferenceViewModel
237 var dialog: PreferenceViewModel? = null in <lambda>()
246 assertThat(dialog is PreferenceViewModel.DeleteDialog) in <lambda>()
247 assertThat(dialog).isEqualTo(PreferenceViewModel.DeleteDialog(fingerprintToDelete)) in <lambda>()
273 var dialog: PreferenceViewModel? = null in <lambda>()
282 assertThat(dialog is PreferenceViewModel.DeleteDialog) in <lambda>()
283 assertThat(dialog).isEqualTo(PreferenceViewModel.RenameDialog(fingerprintToRename)) in <lambda>()
311 var dialog: PreferenceViewModel? = null in <lambda>()
320 assertThat(dialog is PreferenceViewModel.DeleteDialog) in <lambda>()
321 assertThat(dialog).isEqualTo(PreferenceViewModel.DeleteDialog(fingerprintToDelete)) in <lambda>()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/settings/viewmodel/
DPreferenceViewModel.kt22 sealed class PreferenceViewModel { class
23 data class RenameDialog(val fingerprintViewModel: FingerprintData) : PreferenceViewModel()
25 data class DeleteDialog(val fingerprintViewModel: FingerprintData) : PreferenceViewModel()
DFingerprintSettingsViewModel.kt80 private val _isShowingDialog: MutableStateFlow<PreferenceViewModel?> = MutableStateFlow(null) in <lambda>()
225 _isShowingDialog.tryEmit(PreferenceViewModel.DeleteDialog(fingerprintViewModel)) in <lambda>()
236 _isShowingDialog.tryEmit(PreferenceViewModel.RenameDialog(fingerprintViewModel)) in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/settings/binder/
DFingerprintSettingsViewBinder.kt33 import com.android.settings.biometrics.fingerprint2.ui.settings.viewmodel.PreferenceViewModel in <lambda>()
122 is PreferenceViewModel.RenameDialog -> { in <lambda>()
130 is PreferenceViewModel.DeleteDialog -> { in <lambda>()