Home
last modified time | relevance | path

Searched refs:getEnrollStageThreshold (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/fingerprint/feature/
DSfpsEnrollmentFeatureImplTest.kt74 doReturn(THRESHOLD_0).`when`(mockFingerprintManager).getEnrollStageThreshold(STAGE_0) in <lambda>()
75 doReturn(THRESHOLD_1).`when`(mockFingerprintManager).getEnrollStageThreshold(STAGE_1) in <lambda>()
76 doReturn(THRESHOLD_2).`when`(mockFingerprintManager).getEnrollStageThreshold(STAGE_2) in <lambda>()
77 doReturn(THRESHOLD_3).`when`(mockFingerprintManager).getEnrollStageThreshold(STAGE_3) in <lambda>()
78 doReturn(THRESHOLD_4).`when`(mockFingerprintManager).getEnrollStageThreshold(STAGE_4) in <lambda>()
83 assertThat(mSfpsEnrollmentFeatureImpl.getEnrollStageThreshold(context, STAGE_0)) in <lambda>()
85 assertThat(mSfpsEnrollmentFeatureImpl.getEnrollStageThreshold(context, STAGE_1)) in <lambda>()
87 assertThat(mSfpsEnrollmentFeatureImpl.getEnrollStageThreshold(context, STAGE_2)) in <lambda>()
89 assertThat(mSfpsEnrollmentFeatureImpl.getEnrollStageThreshold(context, STAGE_3)) in <lambda>()
91 assertThat(mSfpsEnrollmentFeatureImpl.getEnrollStageThreshold(context, STAGE_4)) in <lambda>()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/viewmodel/
DFingerprintEnrollEnrollingViewModelTest.java163 doReturn(expectedValue0).when(mFingerprintManager).getEnrollStageThreshold(0); in testGetEnrollStageThreshold()
164 doReturn(expectedValue1).when(mFingerprintManager).getEnrollStageThreshold(1); in testGetEnrollStageThreshold()
165 doReturn(expectedValue2).when(mFingerprintManager).getEnrollStageThreshold(2); in testGetEnrollStageThreshold()
166 doReturn(expectedValue3).when(mFingerprintManager).getEnrollStageThreshold(3); in testGetEnrollStageThreshold()
168 assertThat(mViewModel.getEnrollStageThreshold(2)).isEqualTo(expectedValue2); in testGetEnrollStageThreshold()
169 assertThat(mViewModel.getEnrollStageThreshold(1)).isEqualTo(expectedValue1); in testGetEnrollStageThreshold()
170 assertThat(mViewModel.getEnrollStageThreshold(3)).isEqualTo(expectedValue3); in testGetEnrollStageThreshold()
171 assertThat(mViewModel.getEnrollStageThreshold(0)).isEqualTo(expectedValue0); in testGetEnrollStageThreshold()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/repository/
DFingerprintRepositoryTest.java193 doReturn(expectedValue0).when(mFingerprintManager).getEnrollStageThreshold(0); in testGetEnrollStageThreshold()
194 doReturn(expectedValue1).when(mFingerprintManager).getEnrollStageThreshold(1); in testGetEnrollStageThreshold()
195 doReturn(expectedValue2).when(mFingerprintManager).getEnrollStageThreshold(2); in testGetEnrollStageThreshold()
196 doReturn(expectedValue3).when(mFingerprintManager).getEnrollStageThreshold(3); in testGetEnrollStageThreshold()
198 assertThat(repository.getEnrollStageThreshold(2)).isEqualTo(expectedValue2); in testGetEnrollStageThreshold()
199 assertThat(repository.getEnrollStageThreshold(1)).isEqualTo(expectedValue1); in testGetEnrollStageThreshold()
200 assertThat(repository.getEnrollStageThreshold(3)).isEqualTo(expectedValue3); in testGetEnrollStageThreshold()
201 assertThat(repository.getEnrollStageThreshold(0)).isEqualTo(expectedValue0); in testGetEnrollStageThreshold()
/packages/apps/Settings/src/com/android/settings/biometrics2/data/repository/
DFingerprintRepository.java141 public float getEnrollStageThreshold(int index) { in getEnrollStageThreshold() method in FingerprintRepository
142 return mFingerprintManager.getEnrollStageThreshold(index); in getEnrollStageThreshold()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/feature/
DSfpsEnrollmentFeatureImpl.java92 public float getEnrollStageThreshold(@NonNull Context context, int index) {
96 return mFingerprintManager.getEnrollStageThreshold(index);
DSfpsEnrollmentFeature.java82 float getEnrollStageThreshold(@NonNull Context context, int index); in getEnrollStageThreshold() method
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/
DFingerprintEnrollEnrollingViewModel.java184 public float getEnrollStageThreshold(int index) { in getEnrollStageThreshold() method in FingerprintEnrollEnrollingViewModel
185 return mFingerprintRepository.getEnrollStageThreshold(index); in getEnrollStageThreshold()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollEnrolling.java769 ? mSfpsEnrollmentFeature.getEnrollStageThreshold(this, index) in getStageThresholdSteps()
770 : mFingerprintManager.getEnrollStageThreshold(index); in getStageThresholdSteps()
1231 public float getEnrollStageThreshold(@NonNull Context context, int index) { in getEnrollStageThreshold() method in FingerprintEnrollEnrolling.EmptySfpsEnrollmentFeature
DUdfpsEnrollHelper.java271 return Math.round(totalSteps * mFingerprintManager.getEnrollStageThreshold(stageIndex)); in getStageThresholdSteps()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/widget/
DUdfpsEnrollDrawable.java349 return Math.round(totalSteps * mFingerprintManager.getEnrollStageThreshold(stageIndex)); in getStageThresholdSteps()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollEnrollingSfpsFragment.kt473 * enrollingViewModel.getEnrollStageThreshold(index)).roundToInt() in <lambda>()
DFingerprintEnrollEnrollingUdfpsFragment.kt527 return (progress.steps * enrollingViewModel.getEnrollStageThreshold(index)).roundToInt() in <lambda>()