Home
last modified time | relevance | path

Searched refs:sensorStrength (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/java/android/hardware/biometrics/
DSensorPropertiesInternal.java35 @SensorProperties.Strength public final int sensorStrength; field in SensorPropertiesInternal
42 return new SensorPropertiesInternal(prop.sensorId, prop.sensorStrength, in from()
47 public SensorPropertiesInternal(int sensorId, @SensorProperties.Strength int sensorStrength, in SensorPropertiesInternal() argument
51 this.sensorStrength = sensorStrength; in SensorPropertiesInternal()
60 sensorStrength = in.readInt(); in SensorPropertiesInternal()
89 dest.writeInt(sensorStrength); in writeToParcel()
106 return "ID: " + sensorId + ", Strength: " + sensorStrength in toString()
DSensorProperties.java144 public SensorProperties(int sensorId, @Strength int sensorStrength, in SensorProperties() argument
147 mSensorStrength = sensorStrength; in SensorProperties()
183 return new SensorProperties(internalProp.sensorId, internalProp.sensorStrength, in from()
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/shared/model/
DFingerprintSensor.kt25 val sensorStrength: SensorStrength, constant in com.android.systemui.biometrics.shared.model.FingerprintSensor
34 val sensorStrength: SensorStrength = this.sensorStrength.toSensorStrength() in FingerprintSensorPropertiesInternal() constant
40 sensorStrength, in FingerprintSensorPropertiesInternal()
DBiometricModalities.kt62 get() = faceProperties?.sensorStrength == SensorProperties.STRENGTH_STRONG
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DUtilsTest.java191 int sensorStrength = Authenticators.BIOMETRIC_STRONG; in testIsAtLeastStrength() local
193 assertTrue(Utils.isAtLeastStrength(sensorStrength, requestedStrength)); in testIsAtLeastStrength()
196 assertTrue(Utils.isAtLeastStrength(sensorStrength, requestedStrength)); in testIsAtLeastStrength()
198 sensorStrength = Authenticators.BIOMETRIC_WEAK; in testIsAtLeastStrength()
200 assertFalse(Utils.isAtLeastStrength(sensorStrength, requestedStrength)); in testIsAtLeastStrength()
203 assertTrue(Utils.isAtLeastStrength(sensorStrength, requestedStrength)); in testIsAtLeastStrength()
208 sensorStrength = Authenticators.BIOMETRIC_STRONG; in testIsAtLeastStrength()
210 assertFalse(Utils.isAtLeastStrength(sensorStrength, requestedStrength)); in testIsAtLeastStrength()
213 assertFalse(Utils.isAtLeastStrength(sensorStrength, requestedStrength)); in testIsAtLeastStrength()
DAuthServiceTest.java235 assertEquals(fingerprintProp[0].commonProps.sensorStrength, in testRegisterAuthenticator_registerAuthenticators()
245 assertEquals(faceProp[0].commonProps.sensorStrength, in testRegisterAuthenticator_registerAuthenticators()
/frameworks/base/core/java/android/hardware/face/
DFaceSensorProperties.java70 internalProp.sensorStrength, in from()
77 public FaceSensorProperties(int sensorId, int sensorStrength, in FaceSensorProperties() argument
80 super(sensorId, sensorStrength, componentInfo); in FaceSensorProperties()
DFaceSensorPropertiesInternal.java99 return "ID: " + sensorId + ", Strength: " + sensorStrength + ", Type: " + sensorType in toString()
DHidlFaceSensorConfig.java63 commonProps.sensorStrength = authenticatorStrengthToPropertyStrength(mStrength); in mapHidlToAidlFaceSensorConfigurations()
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintSensorProperties.java89 internalProp.sensorStrength, in from()
97 public FingerprintSensorProperties(int sensorId, int sensorStrength, in FingerprintSensorProperties() argument
99 super(sensorId, sensorStrength, componentInfo); in FingerprintSensorProperties()
DHidlFingerprintSensorConfig.java67 commonProps.sensorStrength = authenticatorStrengthToPropertyStrength(mStrength); in mapHidlToAidlSensorConfiguration()
DFingerprintSensorPropertiesInternal.java183 return "ID: " + sensorId + ", Strength: " + sensorStrength + ", Type: " + sensorType; in toString()
/frameworks/base/services/core/java/com/android/server/biometrics/
DUtils.java199 public static boolean isAtLeastStrength(@Authenticators.Types int sensorStrength, in isAtLeastStrength() argument
202 sensorStrength &= Authenticators.BIOMETRIC_MIN_STRENGTH; in isAtLeastStrength()
205 if ((sensorStrength & ~requestedStrength) != 0) { in isAtLeastStrength()
211 if (i == sensorStrength) { in isAtLeastStrength()
216 Slog.e(BiometricService.TAG, "Unknown sensorStrength: " + sensorStrength in isAtLeastStrength()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DFingerprintServiceRegistry.java57 Utils.propertyStrengthToAuthenticatorStrength(props.sensorStrength); in registerService()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DFaceServiceRegistry.java57 Utils.propertyStrengthToAuthenticatorStrength(props.sensorStrength); in registerService()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/iris/
DIrisService.java81 hidlSensor.sensorStrength); in registerAuthenticators()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DBiometricTestExtensions.kt105 mapNotNull { it?.sensorStrength } in extractAuthenticatorTypes()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DAuthenticationClient.java99 boolean shouldVibrate, int sensorStrength) { in AuthenticationClient() argument
113 mSensorStrength = sensorStrength; in AuthenticationClient()
/frameworks/base/services/core/java/com/android/server/
DBinaryTransparencyService.java1136 public void logStats(int sensorId, int modality, int sensorType, int sensorStrength, in logStats() argument
1140 sensorId, modality, sensorType, sensorStrength, componentId, hardwareVersion, in logStats()
1344 private int toSensorStrength(@SensorProperties.Strength int sensorStrength) { in toSensorStrength() argument
1345 switch (sensorStrength) { in toSensorStrength()
1370 final int sensorStrength = toSensorStrength(prop.getSensorStrength()); in logBiometricProperties() local
1380 sensorStrength, in logBiometricProperties()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/
DFingerprintPropertyRepository.kt118 override val strength: Flow<SensorStrength> = props.map { it.sensorStrength.toSensorStrength() } in <lambda>()
DFacePropertyRepository.kt116 sensors.first().sensorStrength.toSensorStrength() in <lambda>()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DFaceAuthenticationClient.java107 @Authenticators.Types int sensorStrength, in FaceAuthenticationClient() argument
112 context.getSystemService(SensorPrivacyManager.class), sensorStrength, in FaceAuthenticationClient()
DSensor.java206 prop.commonProps.sensorId, prop.commonProps.sensorStrength,
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
DSensorTest.java196 sensorProps.commonProps.sensorId, sensorProps.commonProps.sensorStrength, in getSensor()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
DSensorTest.java190 sensorProps.commonProps.sensorId, sensorProps.commonProps.sensorStrength, in getSensor()

12