Home
last modified time | relevance | path

Searched refs:navigationViewModel (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/ui/settings/
DFingerprintSettingsViewModelTest.kt60 private lateinit var navigationViewModel: FingerprintSettingsNavigationViewModel variable in com.android.settings.fingerprint2.ui.settings.FingerprintSettingsViewModelTest
73 navigationViewModel = in setup()
88 navigationViewModel, in setup()
122 navigationViewModel, in authenticate_DoesNotRun_ifOptical()
131 navigationViewModel.onConfirmDevice(true, 10L) in authenticate_DoesNotRun_ifOptical()
164 navigationViewModel, in authenticate_DoesNotRun_ifUltrasonic()
172 navigationViewModel.onConfirmDevice(true, 10L) in authenticate_DoesNotRun_ifUltrasonic()
206 navigationViewModel, in authenticate_DoesRun_ifNotUdfps()
214 navigationViewModel.onConfirmDevice(true, 10L) in authenticate_DoesRun_ifNotUdfps()
233 navigationViewModel, in <lambda>()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/ui/enrollment/viewmodel/
DFingerprintEnrollConfirmationViewModelTest.kt59 lateinit var navigationViewModel: FingerprintNavigationViewModel variable in com.android.settings.fingerprint2.ui.enrollment.viewmodel.FingerprintEnrollConfirmationViewModelTest
66 navigationViewModel = FingerprintNavigationViewModel(fakeFingerprintManagerInteractor) in setup()
68 FingerprintEnrollConfirmationViewModel(navigationViewModel, fakeFingerprintManagerInteractor) in setup()
69 navigationViewModel.updateFingerprintFlow(Default) in setup()
70 navigationViewModel.hasConfirmedDeviceCredential(true) in setup()
79 navigationViewModel.update( in bringToConfirmation()
84 navigationViewModel.update( in bringToConfirmation()
89 navigationViewModel.update( in bringToConfirmation()
133 val job = launch { navigationViewModel.navigateTo.collect { step = it } } in testNextButtonSendsNextStep()
151 val job = launch { navigationViewModel.navigateTo.collect { step = it } } in testAddAnotherSendsAction()
DFingerprintEnrollEnrollingViewModelTest.kt61 private lateinit var navigationViewModel: FingerprintNavigationViewModel variable in com.android.settings.fingerprint2.ui.enrollment.viewmodel.FingerprintEnrollEnrollingViewModelTest
85 navigationViewModel = FingerprintNavigationViewModel(fakeFingerprintManagerInteractor) in initialize()
93 navigationViewModel, in initialize()
/packages/apps/Settings/tests/screenshot/src/com/android/settings/tests/screenshot/biometrics/fingerprint/
DInjector.kt101 var navigationViewModel = FingerprintNavigationViewModel(fingerprintManagerInteractor) in getRotationFromDefault() variable
104 navigationViewModel, in getRotationFromDefault()
116 navigationViewModel, in getRotationFromDefault()
126 navigationViewModel, in getRotationFromDefault()
132 FingerprintEnrollConfirmationViewModel(navigationViewModel, fingerprintManagerInteractor) in getRotationFromDefault()
136 navigationViewModel, in getRotationFromDefault()
154 FingerprintNavigationViewModel::class.java -> navigationViewModel in getRotationFromDefault()
173 navigationViewModel.updateFingerprintFlow(enrollFlow)
174 navigationViewModel.hasConfirmedDeviceCredential(true)
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/settings/viewmodel/
DFingerprintSettingsViewModel.kt54 private val navigationViewModel: FingerprintSettingsNavigationViewModel, in <lambda>() constant in com.android.settings.biometrics.fingerprint2.ui.settings.viewmodel.FingerprintSettingsViewModel
82 _isShowingDialog.combine(navigationViewModel.nextStep) { dialogFlow, nextStep -> in <lambda>()
117 navigationViewModel.nextStep, in <lambda>()
172 while (it && navigationViewModel.nextStep.value is ShowSettings) { in <lambda>()
197 navigationViewModel.nextStep.filterNotNull().collect { in <lambda>()
224 if (_isShowingDialog.value == null || navigationViewModel.nextStep.value != ShowSettings) { in <lambda>()
235 if (_isShowingDialog.value == null || navigationViewModel.nextStep.value != ShowSettings) { in <lambda>()
283 combineTransform(navigationViewModel.nextStep) { value, currStep -> in <lambda>()
293 private val navigationViewModel: FingerprintSettingsNavigationViewModel, in <lambda>() constant in com.android.settings.biometrics.fingerprint2.ui.settings.viewmodel.FingerprintSettingsViewModel.FingerprintSettingsViewModelFactory
303 navigationViewModel, in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/settings/fragment/
DFingerprintSettingsV2Fragment.kt96 private lateinit var navigationViewModel: FingerprintSettingsNavigationViewModel in <lambda>() variable in com.android.settings.biometrics.fingerprint2.ui.settings.fragment.FingerprintSettingsV2Fragment
114 navigationViewModel.onEnrollAdditionalFailure() in <lambda>()
116 navigationViewModel.onEnrollSuccess() in <lambda>()
131 navigationViewModel.onEnrollFirstFailure( in <lambda>()
136 navigationViewModel.onEnrollFirstFailure( in <lambda>()
144 navigationViewModel.onEnrollFirst(token, challenge) in <lambda>()
246 navigationViewModel = in <lambda>()
265 navigationViewModel, in <lambda>()
269 FingerprintSettingsViewBinder.bind(this, settingsViewModel, navigationViewModel, lifecycleScope) in <lambda>()
286 navigationViewModel.maybeFinishActivity(requireActivity().isChangingConfigurations) in <lambda>()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/activity/
DFingerprintEnrollmentV2Activity.kt87 private val navigationViewModel: FingerprintNavigationViewModel by viewModels { in <lambda>() constant in com.android.settings.biometrics.fingerprint2.ui.enrollment.activity.FingerprintEnrollmentV2Activity
171 navigationViewModel.update( in <lambda>()
194 navigationViewModel in <lambda>()
234 navigationViewModel.updateFingerprintFlow(enrollType) in <lambda>()
235 navigationViewModel.hasConfirmedDeviceCredential(hasConfirmedDeviceCredential) in <lambda>()
238 navigationViewModel.currentStep.collect { step -> in <lambda>()
240 navigationViewModel.update(FingerprintAction.ACTIVITY_CREATED, Init::class, "$TAG#init") in <lambda>()
246 navigationViewModel.navigateTo.filterNotNull().collect { step -> in <lambda>()
250 navigationViewModel.update( in <lambda>()
289 navigationViewModel.update( in <lambda>()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/rfps/ui/viewmodel/
DRFPSViewModel.kt50 private val navigationViewModel: FingerprintNavigationViewModel, in <lambda>() constant in com.android.settings.biometrics.fingerprint2.ui.enrollment.modules.enrolling.rfps.ui.viewmodel.RFPSViewModel
126 navigationViewModel.update( in <lambda>()
135 navigationViewModel.update( in <lambda>()
146 navigationViewModel.update( in <lambda>()
156 navigationViewModel.update(FingerprintAction.NEXT, navStep, "${TAG}#progressFinished") in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/viewmodel/
DFingerprintEnrollConfirmationViewModel.kt31 private val navigationViewModel: FingerprintNavigationViewModel, constant in com.android.settings.biometrics.fingerprint2.ui.enrollment.viewmodel.FingerprintEnrollConfirmationViewModel
45 navigationViewModel.update(FingerprintAction.NEXT, navStep, "onNextButtonClicked") in onNextButtonClicked()
53 navigationViewModel.update(FingerprintAction.ADD_ANOTHER, navStep, "onAddAnotherButtonClicked") in onAddAnotherButtonClicked()
DFingerprintEnrollIntroViewModel.kt33 val navigationViewModel: FingerprintNavigationViewModel, constant in com.android.settings.biometrics.fingerprint2.ui.enrollment.viewmodel.FingerprintEnrollIntroViewModel
46 navigationViewModel.update(FingerprintAction.NEXT, navStep, "${TAG}#onNextClicked") in primaryButtonClicked()
51 navigationViewModel.update( in onSecondaryButtonClicked()
DFingerprintEnrollFindSensorViewModel.kt47 private val navigationViewModel: FingerprintNavigationViewModel, in <lambda>() constant in com.android.settings.biometrics.fingerprint2.ui.enrollment.viewmodel.FingerprintEnrollFindSensorViewModel
117 navigationViewModel.currentScreen, in <lambda>()
187 navigationViewModel.update(FingerprintAction.NEXT, navStep, "$TAG#proceedToEnrolling") in <lambda>()
192 navigationViewModel.update( in <lambda>()
DFingerprintEnrollViewModel.kt47 val navigationViewModel: FingerprintNavigationViewModel, in <lambda>() constant
58 navigationViewModel.currentScreen.map { in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint2/fragment/
DFingerprintEnrollIntroFragmentTest.kt90 private val navigationViewModel = in <lambda>() constant in com.android.settings.biometrics.fingerprint2.fragment.FingerprintEnrollIntroFragmentTest
97 navigationViewModel, in <lambda>()
115 FingerprintNavigationViewModel::class.java -> navigationViewModel in <lambda>()
125 navigationViewModel.hasConfirmedDeviceCredential(true) in <lambda>()
126 navigationViewModel.updateFingerprintFlow(enrollFlow) in <lambda>()
/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint2/enrollment/viewmodel/
DFingerprintEnrollFindSensorViewModelV2Test.kt76 private lateinit var navigationViewModel: FingerprintNavigationViewModel variable in com.android.settings.fingerprint2.enrollment.viewmodel.FingerprintEnrollFindSensorViewModelV2Test
96 navigationViewModel = FingerprintNavigationViewModel(fakeFingerprintManagerInteractor) in setup()
104 navigationViewModel, in setup()
129 navigationViewModel, in setup()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/udfps/ui/viewmodel/
DUdfpsViewModel.kt69 val navigationViewModel: FingerprintNavigationViewModel, in <lambda>() constant in com.android.settings.biometrics.fingerprint2.ui.enrollment.modules.enrolling.udfps.ui.viewmodel.UdfpsViewModel
344 navigationViewModel.update( in <lambda>()
355 navigationViewModel.update(FingerprintAction.NEXT, navStep, "${TAG}#progressFinished") in <lambda>()
360 navigationViewModel.update( in <lambda>()
395 navigationViewModel.update( in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/settings/binder/
DFingerprintSettingsViewBinder.kt100 navigationViewModel: FingerprintSettingsNavigationViewModel, in <lambda>()
162 navigationViewModel.nextStep.filterNotNull().collect { nextStep -> in <lambda>()