Home
last modified time | relevance | path

Searched refs:hasEnrolled (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettings.java209 final boolean hasEnrolled = mFaceManager.hasEnrolledTemplates(mUserId); in onCreate()
210 mEnrollButton.setVisible(!hasEnrolled); in onCreate()
211 mRemoveButton.setVisible(hasEnrolled); in onCreate()
240 final boolean hasEnrolled = mFaceManager.hasEnrolledTemplates(mUserId); in onStart()
241 mEnrollButton.setVisible(!hasEnrolled); in onStart()
242 mRemoveButton.setVisible(hasEnrolled); in onStart()
246 if (hasEnrolled) { in onStart()
312 final boolean hasEnrolled = mFaceManager.hasEnrolledTemplates(mUserId); in onActivityResult()
313 mEnrollButton.setVisible(!hasEnrolled); in onActivityResult()
314 mRemoveButton.setVisible(hasEnrolled); in onActivityResult()
[all …]
DFaceStatusUtils.java87 return mContext.getResources().getString(hasEnrolled() in getSummary()
97 return hasEnrolled() ? Settings.FaceSettingsInternalActivity.class.getName() in getSettingsClassName()
104 public boolean hasEnrolled() { in hasEnrolled() method in FaceStatusUtils
/packages/apps/Settings/src/com/android/settings/safetycenter/
DBiometricsSafetySource.java100 combinedBiometricStatusUtils.hasEnrolled(), in setSafetySourceData()
123 combinedBiometricStatusUtils.hasEnrolled(), in setSafetySourceData()
149 faceStatusUtils.hasEnrolled(), in setSafetySourceData()
177 fingerprintStatusUtils.hasEnrolled(), in setSafetySourceData()
201 boolean hasEnrolled, in setBiometricSafetySourceData() argument
204 enabled && hasEnrolled in setBiometricSafetySourceData()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/combination/
DCombinedBiometricStatusUtilsTest.java134 assertThat(mCombinedBiometricStatusUtils.hasEnrolled()).isFalse(); in hasEnrolled_withoutFingerprintHardware_withoutFaceHardware_returnsFalse()
144 assertThat(mCombinedBiometricStatusUtils.hasEnrolled()).isFalse(); in hasEnrolled_withoutFingerprintEnroll_withoutFaceEnroll_returnsFalse()
154 assertThat(mCombinedBiometricStatusUtils.hasEnrolled()).isTrue(); in hasEnrolled_withoutFingerprintEnroll_withFaceEnroll_returnsTrue()
164 assertThat(mCombinedBiometricStatusUtils.hasEnrolled()).isTrue(); in hasEnrolled_withFingerprintEnroll_withoutFaceEnroll_returnsTrue()
174 assertThat(mCombinedBiometricStatusUtils.hasEnrolled()).isTrue(); in hasEnrolled_withFingerprintEnroll_withFaceEnroll_returnsTrue()
/packages/apps/Settings/src/com/android/settings/biometrics/combination/
DCombinedBiometricSettings.java148 && !mActiveUnlockDeviceNameListener.hasEnrolled() in onRetryPreferenceTreeClick()
149 && !mCombinedBiometricStatusUtils.hasEnrolled()) { in onRetryPreferenceTreeClick()
171 || !mActiveUnlockDeviceNameListener.hasEnrolled()) { in getUseAnyBiometricSummary()
DBiometricFingerprintStatusPreferenceController.java49 final boolean isFingerprintEnrolled = mFingerprintStatusUtils.hasEnrolled(); in updateState()
DBiometricFaceStatusPreferenceController.java48 final boolean isFaceEnrolled = mFaceStatusUtils.hasEnrolled(); in updateState()
DCombinedBiometricStatusUtils.java63 public boolean hasEnrolled() { in hasEnrolled() method in CombinedBiometricStatusUtils
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintStatusUtils.java88 if (hasEnrolled()) { in getSummary()
108 public boolean hasEnrolled() { in hasEnrolled() method in FingerprintStatusUtils
/packages/apps/Settings/src/com/android/settings/biometrics/activeunlock/
DActiveUnlockStatusPreferenceController.java150 && !mActiveUnlockDeviceNameListener.hasEnrolled() in getSummaryText()
151 && !mCombinedBiometricStatusUtils.hasEnrolled()) { in getSummaryText()
DActiveUnlockDeviceNameListener.java35 public boolean hasEnrolled() { in hasEnrolled() method in ActiveUnlockDeviceNameListener
DActiveUnlockRequireBiometricSetup.java137 if (combinedBiometricStatusUtils.hasEnrolled()) { in onActivityResult()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/face/
DFaceStatusUtilsTest.java121 assertThat(mFaceStatusUtils.hasEnrolled()).isTrue(); in hasEnrolled_withEnrolledTemplates_returnsTrue()
128 assertThat(mFaceStatusUtils.hasEnrolled()).isFalse(); in hasEnrolled_withoutEnrolledTemplates_returnsFalse()
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/fingerprint/
DFingerprintStatusUtilsTest.java126 assertThat(mFingerprintStatusUtils.hasEnrolled()).isTrue(); in hasEnrolled_withEnrolledFingerprints_returnsTrue()
133 assertThat(mFingerprintStatusUtils.hasEnrolled()).isFalse(); in hasEnrolled_withoutEnrolledFingerprints_returnsFalse()