/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/fingerprint/feature/ |
D | SfpsEnrollmentFeatureImplTest.kt | 74 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/ |
D | FingerprintEnrollEnrollingViewModelTest.java | 163 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/ |
D | FingerprintRepositoryTest.java | 193 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/ |
D | FingerprintRepository.java | 141 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/ |
D | SfpsEnrollmentFeatureImpl.java | 92 public float getEnrollStageThreshold(@NonNull Context context, int index) { 96 return mFingerprintManager.getEnrollStageThreshold(index);
|
D | SfpsEnrollmentFeature.java | 82 float getEnrollStageThreshold(@NonNull Context context, int index); in getEnrollStageThreshold() method
|
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/ |
D | FingerprintEnrollEnrollingViewModel.java | 184 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/ |
D | FingerprintEnrollEnrolling.java | 769 ? 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
|
D | UdfpsEnrollHelper.java | 271 return Math.round(totalSteps * mFingerprintManager.getEnrollStageThreshold(stageIndex)); in getStageThresholdSteps()
|
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/widget/ |
D | UdfpsEnrollDrawable.java | 349 return Math.round(totalSteps * mFingerprintManager.getEnrollStageThreshold(stageIndex)); in getStageThresholdSteps()
|
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/ |
D | FingerprintEnrollEnrollingSfpsFragment.kt | 473 * enrollingViewModel.getEnrollStageThreshold(index)).roundToInt() in <lambda>()
|
D | FingerprintEnrollEnrollingUdfpsFragment.kt | 527 return (progress.steps * enrollingViewModel.getEnrollStageThreshold(index)).roundToInt() in <lambda>()
|