Home
last modified time | relevance | path

Searched refs:fingerprintRepository (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/
DFingerprintEnrollIntroViewModel.kt40 private val fingerprintRepository: FingerprintRepository, in <lambda>() constant
51 val num = fingerprintRepository.getNumOfEnrolledFingerprintsSize(userId) in <lambda>()
54 fingerprintRepository.getMaxFingerprintsInSuw( in <lambda>()
58 fingerprintRepository.maxFingerprints in <lambda>()
83 get() = fingerprintRepository.canAssumeUdfps() in <lambda>()
94 get() = fingerprintRepository.isParentalConsentRequired(getApplication()) in <lambda>()
98 get() = fingerprintRepository.isDisabledByAdmin(getApplication(), userId) in <lambda>()
DFingerprintEnrollmentViewModel.kt44 private val fingerprintRepository: FingerprintRepository, constant
119 fingerprintRepository.getNumOfEnrolledFingerprintsSize(userId) in <lambda>()
126 fun isMaxEnrolledReached(userId: Int): Boolean = with(fingerprintRepository) { in isMaxEnrolledReached()
131 get() = fingerprintRepository.canAssumeUdfps()
134 get() = fingerprintRepository.canAssumeSfps()
144 val state = if (fingerprintRepository.getNumOfEnrolledFingerprintsSize(userId) == 1) in updateFingerprintSuggestionEnableState()
DFingerprintEnrollFinishViewModel.java67 @NonNull FingerprintRepository fingerprintRepository) { in FingerprintEnrollFinishViewModel() argument
71 mFingerprintRepository = fingerprintRepository; in FingerprintEnrollFinishViewModel()
DFingerprintEnrollEnrollingViewModel.java93 @NonNull FingerprintRepository fingerprintRepository in FingerprintEnrollEnrollingViewModel() argument
97 mFingerprintRepository = fingerprintRepository; in FingerprintEnrollEnrollingViewModel()
DAutoCredentialViewModel.kt76 private val fingerprintRepository: FingerprintRepository in <lambda>() constant in com.android.settings.biometrics2.ui.viewmodel.FingerprintChallengeGenerator
83 fingerprintRepository.generateChallenge(userId) { in <lambda>()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/viewmodel/
DFingerprintEnrollIntroViewModelTest.kt66 fingerprintRepository: FingerprintRepository, in newFingerprintEnrollIntroViewModel()
70 fingerprintRepository, in newFingerprintEnrollIntroViewModel()
216 val fingerprintRepository = Mockito.mock( in testIsParentalConsentRequired() constant
221 fingerprintRepository, in testIsParentalConsentRequired()
226 fingerprintRepository.isParentalConsentRequired(application) in testIsParentalConsentRequired()
230 fingerprintRepository.isParentalConsentRequired(application) in testIsParentalConsentRequired()
240 val fingerprintRepository = Mockito.mock(FingerprintRepository::class.java) in testIsBiometricUnlockDisabledByAdmin() constant
243 fingerprintRepository, in testIsBiometricUnlockDisabledByAdmin()
248 fingerprintRepository.isDisabledByAdmin(application, TEST_USER_ID) in testIsBiometricUnlockDisabledByAdmin()
252 fingerprintRepository.isDisabledByAdmin(application, TEST_USER_ID) in testIsBiometricUnlockDisabledByAdmin()
DFingerprintEnrollmentViewModelTest.kt58 private lateinit var fingerprintRepository: FingerprintRepository variable in com.android.settings.biometrics2.ui.viewmodel.FingerprintEnrollmentViewModelTest
63 fingerprintRepository = newFingerprintRepository( in setUp()
70 fingerprintRepository, in setUp()
201 fingerprintRepository = newFingerprintRepository( in testIsMaxEnrolledReached()
208 fingerprintRepository, in testIsMaxEnrolledReached()
241 fingerprintRepository, in <lambda>()