Home
last modified time | relevance | path

Searched refs:mSidecar (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricsEnrollEnrolling.java36 protected BiometricEnrollSidecar mSidecar; field in BiometricsEnrollEnrolling
63 if (mSidecar != null) { in onStop()
64 mSidecar.setListener(null); in onStop()
67 if (mSidecar != null) { in onStop()
68 mSidecar.cancelEnrollment(); in onStop()
70 .beginTransaction().remove(mSidecar).commitAllowingStateLoss(); in onStop()
90 if (mSidecar != null) { in cancelEnrollment()
91 mSidecar.setListener(null); in cancelEnrollment()
92 mSidecar.cancelEnrollment(); in cancelEnrollment()
94 .beginTransaction().remove(mSidecar).commitAllowingStateLoss(); in cancelEnrollment()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollEnrolling.java505 if (mSidecar == null || mSidecar.getEnrollmentSteps() == -1) { in updateTitleAndDescription()
711 if (mSidecar == null || mSidecar.getEnrollmentSteps() == -1) { in getCurrentStage()
715 final int progressSteps = mSidecar.getEnrollmentSteps() - mSidecar.getEnrollmentRemaining(); in getCurrentStage()
731 if (mSidecar == null) { in getCurrentSfpsStage()
735 final int progressSteps = mSidecar.getEnrollmentSteps() - mSidecar.getEnrollmentRemaining(); in getCurrentSfpsStage()
742 if (mSidecar == null || mSidecar.getEnrollmentSteps() == -1) { in isStageHalfCompleted()
746 final int progressSteps = mSidecar.getEnrollmentSteps() - mSidecar.getEnrollmentRemaining(); in isStageHalfCompleted()
764 if (mSidecar == null || mSidecar.getEnrollmentSteps() == -1) { in getStageThresholdSteps()
771 return Math.round(mSidecar.getEnrollmentSteps() * threshold); in getStageThresholdSteps()
885 if (mSidecar == null || !mSidecar.isEnrolling()) { in updateProgress()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollEnrollingTest.java103 @Mock private FingerprintEnrollSidecar mSidecar; field in FingerprintEnrollEnrollingTest
196 when(mSidecar.getEnrollmentSteps()).thenReturn(initStageSteps); in fingerprintUdfpsOverlayEnrollment_PlaysAllAnimationsAssetsCorrectly()
197 when(mSidecar.getEnrollmentRemaining()).thenReturn(initStageRemaining); in fingerprintUdfpsOverlayEnrollment_PlaysAllAnimationsAssetsCorrectly()
201 when(mSidecar.getEnrollmentSteps()).thenReturn(TOTAL_ENROLL_STEPS); in fingerprintUdfpsOverlayEnrollment_PlaysAllAnimationsAssetsCorrectly()
204 when(mSidecar.getEnrollmentRemaining()).thenReturn(remaining); in fingerprintUdfpsOverlayEnrollment_PlaysAllAnimationsAssetsCorrectly()
449 when(mSidecar.getEnrollmentSteps()).thenReturn(initStageSteps); in fingerprintSfpsEnroll_PlaysAnimations()
450 when(mSidecar.getEnrollmentRemaining()).thenReturn(initStageRemaining); in fingerprintSfpsEnroll_PlaysAnimations()
454 when(mSidecar.getEnrollmentSteps()).thenReturn(TOTAL_ENROLL_STEPS); in fingerprintSfpsEnroll_PlaysAnimations()
457 when(mSidecar.getEnrollmentRemaining()).thenReturn(remaining); in fingerprintSfpsEnroll_PlaysAnimations()
476 when(mSidecar.getEnrollmentSteps()).thenReturn(25); in configureSfpsStageColorTest()
[all …]