Searched refs:hasFace (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | SetupSkipDialogTest.java | 88 boolean hasFace) { in getSkipSetupTitle() argument 104 mActivity.getString(screenLockResId), hasFingerprint, hasFace)); in getSkipSetupTitle() 141 final boolean hasFace = true; in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly() 144 when(mFaceManager.isHardwareDetected()).thenReturn(hasFace); in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly() 153 getSkipSetupTitle(CREDENTIAL_TYPE_PIN, hasFingerprint, hasFace)); in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly() 160 final boolean hasFace = true; in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly() 163 when(mFaceManager.isHardwareDetected()).thenReturn(hasFace); in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly() 167 false, hasFingerprint, hasFace, false, true); in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly() 172 getSkipSetupTitle(CREDENTIAL_TYPE_PASSWORD, hasFingerprint, hasFace)); in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly() 179 final boolean hasFace = true; in dialogMessage_whenSkipPatternSetupForFace_shouldShownCorrectly() [all …]
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | SetupSkipDialog.java | 84 @LockPatternUtils.CredentialType int credentialType, boolean isSuw, boolean hasFace, in getBiometricsBuilder() argument 86 final boolean isFaceSupported = hasFace && (!isSuw || BiometricUtils.isFaceSupportedInSuw( in getBiometricsBuilder() 93 msgResId = getPatternSkipMessageRes(hasFace && isFaceSupported, hasFingerprint); in getBiometricsBuilder() 97 msgResId = getPasswordSkipMessageRes(hasFace && isFaceSupported, hasFingerprint); in getBiometricsBuilder() 102 msgResId = getPinSkipMessageRes(hasFace && isFaceSupported, hasFingerprint); in getBiometricsBuilder() 109 hasFace && isFaceSupported)) in getBiometricsBuilder() 124 final boolean hasFace = Utils.hasFaceHardware(getContext()); in onCreateDialogBuilder() 126 return getBiometricsBuilder(credentialType, isSuw, hasFace, hasFingerprint); in onCreateDialogBuilder() 139 private int getPatternSkipMessageRes(boolean hasFace, boolean hasFingerprint) { in getPatternSkipMessageRes() argument 140 if (hasFace && hasFingerprint) { in getPatternSkipMessageRes() [all …]
|
D | ChooseLockGeneric.java | 700 final boolean hasFace = Utils.hasFaceHardware(getContext()); in getBiometricsPreferenceTitle() 703 hasFace && (!isSuw || BiometricUtils.isFaceSupportedInSuw(getContext())); in getBiometricsPreferenceTitle() 922 final boolean hasFace; in getResIdForFactoryResetProtectionWarningMessage() 930 hasFace = mFaceManager.hasEnrolledTemplates(mUserId); in getResIdForFactoryResetProtectionWarningMessage() 932 hasFace = false; in getResIdForFactoryResetProtectionWarningMessage() 937 if (hasFingerprints && hasFace) { in getResIdForFactoryResetProtectionWarningMessage() 947 } else if (hasFace) { in getResIdForFactoryResetProtectionWarningMessage() 959 if (hasFingerprints && hasFace) { in getResIdForFactoryResetProtectionWarningMessage() 969 } else if (hasFace) { in getResIdForFactoryResetProtectionWarningMessage() 983 if (hasFingerprints && hasFace) { in getResIdForFactoryResetProtectionWarningMessage() [all …]
|