Searched refs:mFingerprintManager (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/password/
H A DFingerprintManagerWrapper.java29 private @NonNull FingerprintManager mFingerprintManager; field in class:FingerprintManagerWrapper
33 mFingerprintManager = fingerprintManager;
37 return mFingerprintManager.isHardwareDetected();
41 return mFingerprintManager.hasEnrolledFingerprints(userId);
45 return mFingerprintManager.preEnroll();
H A DSetNewPasswordController.java60 @Nullable private final IFingerprintManager mFingerprintManager; field in class:SetNewPasswordController
101 mFingerprintManager = fingerprintManager;
112 && mFingerprintManager != null
113 && mFingerprintManager.isHardwareDetected()
114 && !mFingerprintManager.hasEnrolledFingerprints(mTargetUserId)
128 long challenge = mFingerprintManager.preEnroll();
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
H A DSetNewPasswordControllerTest.java60 @Mock FingerprintManager mFingerprintManager; field in class:SetNewPasswordControllerTest
71 CURRENT_UID, mPackageManager, mFingerprintManager, mDevicePolicyManager, mUi);
73 when(mFingerprintManager.preEnroll()).thenReturn(FINGERPRINT_CHALLENGE);
80 when(mFingerprintManager.isHardwareDetected()).thenReturn(true);
82 when(mFingerprintManager.hasEnrolledFingerprints()).thenReturn(false);
112 when(mFingerprintManager.isHardwareDetected()).thenReturn(false);
114 when(mFingerprintManager.hasEnrolledFingerprints()).thenReturn(false);
129 when(mFingerprintManager.isHardwareDetected()).thenReturn(true);
131 when(mFingerprintManager.hasEnrolledFingerprints()).thenReturn(true);
146 when(mFingerprintManager
[all...]
/packages/apps/Settings/src/com/android/settings/fingerprint/
H A DFingerprintUiHelper.java40 private FingerprintManager mFingerprintManager; field in class:FingerprintUiHelper
44 mFingerprintManager = icon.getContext().getSystemService(FingerprintManager.class);
52 if (mFingerprintManager != null && mFingerprintManager.isHardwareDetected()
53 && mFingerprintManager.getEnrolledFingerprints(mUserId).size() > 0) {
55 mFingerprintManager.setActiveUser(mUserId);
56 mFingerprintManager.authenticate(
H A DFingerprintEnrollSidecar.java46 private FingerprintManager mFingerprintManager; field in class:FingerprintEnrollSidecar
57 mFingerprintManager = activity.getSystemService(FingerprintManager.class);
84 mFingerprintManager.setActiveUser(mUserId);
86 mFingerprintManager.enroll(mToken, mEnrollmentCancel,
H A DFingerprintSettings.java158 private FingerprintManager mFingerprintManager; field in class:FingerprintSettings.FingerprintSettingsFragment
271 mFingerprintManager.authenticate(null, mFingerprintCancel, 0 /* flags */,
294 mFingerprintManager = (FingerprintManager) activity.getSystemService(
351 final List<Fingerprint> items = mFingerprintManager.getEnrolledFingerprints(mUserId);
377 boolean tooMany = mFingerprintManager.getEnrolledFingerprints(mUserId).size() >= max;
490 int result = mFingerprintManager.postEnroll();
530 long challenge = mFingerprintManager.preEnroll();
549 mFingerprintManager.remove(fingerPrint, mUserId, mRemoveCallback);
553 mFingerprintManager.rename(fingerId, mUserId, newName);
647 if (parent.mFingerprintManager
[all...]
/packages/apps/Settings/src/com/android/settings/
H A DChooseLockGeneric.java127 private FingerprintManager mFingerprintManager; field in class:ChooseLockGeneric.ChooseLockGenericFragment
145 mFingerprintManager =
704 if (mFingerprintManager != null && mFingerprintManager.isHardwareDetected()) {
705 if (mFingerprintManager.hasEnrolledFingerprints(userId)) {
706 mFingerprintManager.setActiveUser(userId);
710 mFingerprintManager.remove(finger, userId,
743 mFingerprintManager.setActiveUser(UserHandle.myUserId());
782 boolean hasFingerprints = mFingerprintManager.hasEnrolledFingerprints(mUserId);

Completed in 3141 milliseconds