/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceSettings.java | 209 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 …]
|
D | FaceStatusUtils.java | 87 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/ |
D | BiometricsSafetySource.java | 100 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/ |
D | CombinedBiometricStatusUtilsTest.java | 134 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/ |
D | CombinedBiometricSettings.java | 148 && !mActiveUnlockDeviceNameListener.hasEnrolled() in onRetryPreferenceTreeClick() 149 && !mCombinedBiometricStatusUtils.hasEnrolled()) { in onRetryPreferenceTreeClick() 171 || !mActiveUnlockDeviceNameListener.hasEnrolled()) { in getUseAnyBiometricSummary()
|
D | BiometricFingerprintStatusPreferenceController.java | 49 final boolean isFingerprintEnrolled = mFingerprintStatusUtils.hasEnrolled(); in updateState()
|
D | BiometricFaceStatusPreferenceController.java | 48 final boolean isFaceEnrolled = mFaceStatusUtils.hasEnrolled(); in updateState()
|
D | CombinedBiometricStatusUtils.java | 63 public boolean hasEnrolled() { in hasEnrolled() method in CombinedBiometricStatusUtils
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintStatusUtils.java | 88 if (hasEnrolled()) { in getSummary() 108 public boolean hasEnrolled() { in hasEnrolled() method in FingerprintStatusUtils
|
/packages/apps/Settings/src/com/android/settings/biometrics/activeunlock/ |
D | ActiveUnlockStatusPreferenceController.java | 150 && !mActiveUnlockDeviceNameListener.hasEnrolled() in getSummaryText() 151 && !mCombinedBiometricStatusUtils.hasEnrolled()) { in getSummaryText()
|
D | ActiveUnlockDeviceNameListener.java | 35 public boolean hasEnrolled() { in hasEnrolled() method in ActiveUnlockDeviceNameListener
|
D | ActiveUnlockRequireBiometricSetup.java | 137 if (combinedBiometricStatusUtils.hasEnrolled()) { in onActivityResult()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/face/ |
D | FaceStatusUtilsTest.java | 121 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/ |
D | FingerprintStatusUtilsTest.java | 126 assertThat(mFingerprintStatusUtils.hasEnrolled()).isTrue(); in hasEnrolled_withEnrolledFingerprints_returnsTrue() 133 assertThat(mFingerprintStatusUtils.hasEnrolled()).isFalse(); in hasEnrolled_withoutEnrolledFingerprints_returnsFalse()
|