Home
last modified time | relevance | path

Searched refs:SensorProperties (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/shared/model/
DSensorStrength.kt19 import android.hardware.biometrics.SensorProperties
31 SensorProperties.STRENGTH_CONVENIENCE -> SensorStrength.CONVENIENCE in Int()
32 SensorProperties.STRENGTH_WEAK -> SensorStrength.WEAK in Int()
33 SensorProperties.STRENGTH_STRONG -> SensorStrength.STRONG in Int()
39 SensorStrength.CONVENIENCE -> SensorProperties.STRENGTH_CONVENIENCE in toInt()
40 SensorStrength.WEAK -> SensorProperties.STRENGTH_WEAK in toInt()
41 SensorStrength.STRONG -> SensorProperties.STRENGTH_STRONG in toInt()
DBiometricModalities.kt19 import android.hardware.biometrics.SensorProperties
62 get() = faceProperties?.sensorStrength == SensorProperties.STRENGTH_STRONG
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DBiometricTestExtensions.kt24 import android.hardware.biometrics.SensorProperties in <lambda>()
57 if (strong) SensorProperties.STRENGTH_STRONG else SensorProperties.STRENGTH_WEAK, in <lambda>()
91 if (strong) SensorProperties.STRENGTH_STRONG else SensorProperties.STRENGTH_WEAK, in faceSensorPropertiesInternal()
110 SensorProperties.STRENGTH_CONVENIENCE -> in extractAuthenticatorTypes()
112 SensorProperties.STRENGTH_WEAK -> Authenticators.BIOMETRIC_WEAK in extractAuthenticatorTypes()
113 SensorProperties.STRENGTH_STRONG -> Authenticators.BIOMETRIC_STRONG in extractAuthenticatorTypes()
DUdfpsDialogMeasureAdapterTest.java23 import android.hardware.biometrics.SensorProperties;
62 0 /* sensorId */, SensorProperties.STRENGTH_STRONG, 5 /* maxEnrollmentsPerUser */, in testUdfpsBottomSpacerHeightForPortrait()
128 0 /* sensorId */, SensorProperties.STRENGTH_STRONG, 5 /* maxEnrollmentsPerUser */, in testUdfpsHorizontalSpacerWidthForLandscape()
DAuthControllerTest.java59 import android.hardware.biometrics.SensorProperties;
233 SensorProperties.STRENGTH_STRONG, in setup()
243 SensorProperties.STRENGTH_STRONG, in setup()
/frameworks/base/core/java/android/hardware/biometrics/
DSensorProperties.java33 public class SensorProperties { class
144 public SensorProperties(int sensorId, @Strength int sensorStrength, in SensorProperties() method in SensorProperties
178 public static SensorProperties from(SensorPropertiesInternal internalProp) { in from()
183 return new SensorProperties(internalProp.sensorId, internalProp.sensorStrength, in from()
DSensorPropertiesInternal.java35 @SensorProperties.Strength public final int sensorStrength;
47 public SensorPropertiesInternal(int sensorId, @SensorProperties.Strength int sensorStrength, in SensorPropertiesInternal()
DBiometricManager.java379 public List<SensorProperties> getSensorProperties() { in getSensorProperties()
383 final List<SensorProperties> properties = new ArrayList<>(); in getSensorProperties()
385 properties.add(SensorProperties.from(internalProp)); in getSensorProperties()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
DFacePropertyRepositoryImplTest.kt24 import android.hardware.biometrics.SensorProperties
129 listOf(createSensorProperties(1, SensorProperties.STRENGTH_STRONG)) in providesTheValuePassedToTheAuthenticatorsRegisteredCallback()
154 listOf(createSensorProperties(sensorId, SensorProperties.STRENGTH_STRONG)) in providesTheLockoutModeFromFaceManager()
179 listOf(createSensorProperties(1, SensorProperties.STRENGTH_STRONG)) in providesTheSensorLocationOfOuterCameraFromOnPhysicalCameraAvailable()
202 listOf(createSensorProperties(1, SensorProperties.STRENGTH_STRONG)) in providesTheSensorLocationOfInnerCameraFromOnPhysicalCameraAvailable()
225 listOf(createSensorProperties(1, SensorProperties.STRENGTH_STRONG)) in providesTheSensorLocationOfCameraFromOnPhysicalCameraUnavailable()
248 listOf(createSensorProperties(1, SensorProperties.STRENGTH_STRONG)) in providesTheCameraInfoOnCameraAvailableChange()
DFingerprintRepositoryImplTest.kt21 import android.hardware.biometrics.SensorProperties
96 SensorProperties.STRENGTH_STRONG, in initializeProperties()
/frameworks/base/services/core/java/com/android/server/biometrics/
DUtils.java53 import android.hardware.biometrics.SensorProperties;
550 public static @SensorProperties.Strength int authenticatorStrengthToPropertyStrength( in authenticatorStrengthToPropertyStrength()
554 return SensorProperties.STRENGTH_CONVENIENCE; in authenticatorStrengthToPropertyStrength()
556 return SensorProperties.STRENGTH_WEAK; in authenticatorStrengthToPropertyStrength()
558 return SensorProperties.STRENGTH_STRONG; in authenticatorStrengthToPropertyStrength()
565 @SensorProperties.Strength int strength) { in propertyStrengthToAuthenticatorStrength()
567 case SensorProperties.STRENGTH_CONVENIENCE: in propertyStrengthToAuthenticatorStrength()
569 case SensorProperties.STRENGTH_WEAK: in propertyStrengthToAuthenticatorStrength()
571 case SensorProperties.STRENGTH_STRONG: in propertyStrengthToAuthenticatorStrength()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintSensorPropertiesInternal.java27 import android.hardware.biometrics.SensorProperties;
47 @SensorProperties.Strength int strength, int maxEnrollmentsPerUser, in FingerprintSensorPropertiesInternal()
68 @SensorProperties.Strength int strength, int maxEnrollmentsPerUser, in FingerprintSensorPropertiesInternal()
DFingerprintSensorProperties.java22 import android.hardware.biometrics.SensorProperties;
33 public class FingerprintSensorProperties extends SensorProperties {
DFingerprintManager.java55 import android.hardware.biometrics.SensorProperties;
156 public List<SensorProperties> getSensorProperties() { in getSensorProperties()
157 final List<SensorProperties> properties = new ArrayList<>(); in getSensorProperties()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/
DTrustManagerServiceTest.java62 import android.hardware.biometrics.SensorProperties;
624 setupFingerprint(SensorProperties.STRENGTH_WEAK); in testKeystoreWeakUnlockEnabled_whenWeakFingerprintIsSetupAndAllowed()
632 setupFace(SensorProperties.STRENGTH_WEAK); in testKeystoreWeakUnlockEnabled_whenWeakFaceIsSetupAndAllowed()
641 setupFingerprint(SensorProperties.STRENGTH_CONVENIENCE); in testKeystoreWeakUnlockEnabled_whenConvenienceFingerprintIsSetupAndAllowed()
650 setupFace(SensorProperties.STRENGTH_CONVENIENCE); in testKeystoreWeakUnlockEnabled_whenConvenienceFaceIsSetupAndAllowed()
658 setupFace(SensorProperties.STRENGTH_WEAK); in testKeystoreWeakUnlockDisabled_whenStrongAuthRequired()
667 setupFace(SensorProperties.STRENGTH_WEAK); in testKeystoreWeakUnlockDisabled_whenNonStrongBiometricNotAllowed()
676 setupFingerprint(SensorProperties.STRENGTH_WEAK, /* enrolled= */ false); in testKeystoreWeakUnlockDisabled_whenWeakFingerprintSensorIsPresentButNotEnrolled()
685 setupFace(SensorProperties.STRENGTH_WEAK, /* enrolled= */ false); in testKeystoreWeakUnlockDisabled_whenWeakFaceSensorIsPresentButNotEnrolled()
695 setupFingerprint(SensorProperties.STRENGTH_WEAK); in testKeystoreWeakUnlockDisabled_whenWeakFingerprintIsSetupButForbiddenByDevicePolicy()
[all …]
/frameworks/base/core/java/android/hardware/face/
DFaceSensorProperties.java22 import android.hardware.biometrics.SensorProperties;
33 public class FaceSensorProperties extends SensorProperties {
DFaceSensorPropertiesInternal.java21 import android.hardware.biometrics.SensorProperties;
51 public FaceSensorPropertiesInternal(int sensorId, @SensorProperties.Strength int strength, in FaceSensorPropertiesInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/
DFingerprintPropertyRepository.kt23 import android.hardware.biometrics.SensorProperties in <lambda>()
157 SensorProperties.STRENGTH_CONVENIENCE,
168 SensorProperties.STRENGTH_CONVENIENCE,
/frameworks/base/services/tests/servicestests/src/com/android/server/
DBinaryTransparencyServiceTest.java34 import android.hardware.biometrics.SensorProperties;
191 SensorProperties.STRENGTH_STRONG, in testCollectBiometricProperties_enablesFeature_logsFingerprintProperties()
233 SensorProperties.STRENGTH_CONVENIENCE, in testCollectBiometricProperties_enablesFeature_logsFaceProperties()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/
DFingerprintServiceRegistryTest.java22 import static android.hardware.biometrics.SensorProperties.STRENGTH_STRONG;
23 import static android.hardware.biometrics.SensorProperties.STRENGTH_WEAK;
DBiometricStateCallbackTest.java19 import static android.hardware.biometrics.SensorProperties.STRENGTH_STRONG;
DFingerprintServiceTest.java23 import static android.hardware.biometrics.SensorProperties.STRENGTH_STRONG;
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/
DFaceServiceRegistryTest.java22 import static android.hardware.biometrics.SensorProperties.STRENGTH_STRONG;
23 import static android.hardware.biometrics.SensorProperties.STRENGTH_WEAK;
DFaceServiceTest.java20 import static android.hardware.biometrics.SensorProperties.STRENGTH_STRONG;
/frameworks/base/services/core/java/com/android/server/
DBinaryTransparencyService.java53 import android.hardware.biometrics.SensorProperties;
54 import android.hardware.biometrics.SensorProperties.ComponentInfo;
1344 private int toSensorStrength(@SensorProperties.Strength int sensorStrength) { in toSensorStrength()
1346 case SensorProperties.STRENGTH_CONVENIENCE: in toSensorStrength()
1349 case SensorProperties.STRENGTH_WEAK: in toSensorStrength()
1352 case SensorProperties.STRENGTH_STRONG: in toSensorStrength()
1368 private void logBiometricProperties(SensorProperties prop, int modality, int sensorType) { in logBiometricProperties()

12