Home
last modified time | relevance | path

Searched refs:sensorProps (Results 1 – 20 of 20) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthBiometricUdfpsView.java40 void setSensorProps(@NonNull FingerprintSensorPropertiesInternal sensorProps) { in setSensorProps() argument
41 if (mMeasureAdapter == null || mMeasureAdapter.getSensorProps() != sensorProps) { in setSensorProps()
42 mMeasureAdapter = new UdfpsDialogMeasureAdapter(this, sensorProps); in setSensorProps()
H A DSidefpsController.kt73 val sensorProps: FingerprintSensorPropertiesInternal = fingerprintManager
83 BiometricDisplayListener.SensorType.SideFingerprint(sensorProps)
182 val offsets = sensorProps.getLocation(display.uniqueId).let { location ->
186 location ?: sensorProps.location
H A DUdfpsEnrollView.java64 void updateSensorLocation(@NonNull FingerprintSensorPropertiesInternal sensorProps) { in updateSensorLocation() argument
66 final int sensorHeight = sensorProps.getLocation().sensorRadius * 2; in updateSensorLocation()
H A DAuthBiometricFaceToFingerprintView.java138 void setFingerprintSensorProps(@NonNull FingerprintSensorPropertiesInternal sensorProps) { in setFingerprintSensorProps() argument
139 mFingerprintSensorProps = sensorProps; in setFingerprintSensorProps()
H A DAuthContainerView.java312 FingerprintSensorPropertiesInternal sensorProps = null; in AuthContainerView() local
315 sensorProps = prop; in AuthContainerView()
320 if (sensorProps.isAnyUdfpsType()) { in AuthContainerView()
323 udfpsView.setSensorProps(sensorProps); in AuthContainerView()
H A DUdfpsDialogMeasureAdapter.java51 @NonNull ViewGroup view, @NonNull FingerprintSensorPropertiesInternal sensorProps) { in UdfpsDialogMeasureAdapter() argument
53 mSensorProps = sensorProps; in UdfpsDialogMeasureAdapter()
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
H A DFingerprint21UdfpsMock.java248 @NonNull FingerprintSensorPropertiesInternal sensorProps, in newInstance() argument
257 new MockHalResultController(sensorProps.sensorId, context, handler, scheduler); in newInstance()
258 return new Fingerprint21UdfpsMock(context, fingerprintStateCallback, sensorProps, scheduler, in newInstance()
384 @NonNull FingerprintSensorPropertiesInternal sensorProps, in Fingerprint21UdfpsMock() argument
389 super(context, fingerprintStateCallback, sensorProps, scheduler, handler, in Fingerprint21UdfpsMock()
398 mSensorProperties = new FingerprintSensorPropertiesInternal(sensorProps.sensorId, in Fingerprint21UdfpsMock()
399 sensorProps.sensorStrength, maxTemplatesAllowed, sensorProps.componentInfo, in Fingerprint21UdfpsMock()
401 resetLockoutRequiresHardwareAuthToken, sensorProps.getAllLocations()); in Fingerprint21UdfpsMock()
H A DFingerprint21.java321 @NonNull FingerprintSensorPropertiesInternal sensorProps, in Fingerprint21() argument
329 mSensorProperties = sensorProps; in Fingerprint21()
330 mSensorId = sensorProps.sensorId; in Fingerprint21()
331 mIsUdfps = sensorProps.sensorType == FingerprintSensorProperties.TYPE_UDFPS_OPTICAL in Fingerprint21()
332 || sensorProps.sensorType == FingerprintSensorProperties.TYPE_UDFPS_ULTRASONIC; in Fingerprint21()
333 mIsPowerbuttonFps = sensorProps.sensorType == FingerprintSensorProperties.TYPE_POWER_BUTTON; in Fingerprint21()
358 @NonNull FingerprintSensorPropertiesInternal sensorProps, in newInstance() argument
364 BiometricScheduler.sensorTypeFromFingerprintProperties(sensorProps), in newInstance()
366 final HalResultController controller = new HalResultController(sensorProps.sensorId, in newInstance()
368 return new Fingerprint21(context, fingerprintStateCallback, sensorProps, scheduler, handler, in newInstance()
H A DFingerprintAuthenticationClient.java73 @NonNull FingerprintSensorPropertiesInternal sensorProps) { in FingerprintAuthenticationClient() argument
82 mSensorProps = sensorProps; in FingerprintAuthenticationClient()
/aosp12/packages/apps/Settings/src/com/android/settings/biometrics/combination/
H A DBiometricsSettingsBase.java257 for (final FaceSensorPropertiesInternal sensorProps in getUseClass2BiometricSummary()
259 if (sensorProps.sensorStrength == SensorProperties.STRENGTH_WEAK in getUseClass2BiometricSummary()
260 || sensorProps.sensorStrength == SensorProperties.STRENGTH_STRONG) { in getUseClass2BiometricSummary()
269 for (final FingerprintSensorPropertiesInternal sensorProps in getUseClass2BiometricSummary()
271 if (sensorProps.sensorStrength == SensorProperties.STRENGTH_WEAK in getUseClass2BiometricSummary()
272 || sensorProps.sensorStrength == SensorProperties.STRENGTH_STRONG) { in getUseClass2BiometricSummary()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/hidl/
H A DFingerprint21Test.java96 final FingerprintSensorPropertiesInternal sensorProps = in setUp() local
102 mFingerprint21 = new TestableFingerprint21(mContext, mFingerprintStateCallback, sensorProps, in setUp()
126 @NonNull FingerprintSensorPropertiesInternal sensorProps, in TestableFingerprint21() argument
130 super(context, fingerprintStateCallback, sensorProps, scheduler, handler, in TestableFingerprint21()
/aosp12/hardware/interfaces/biometrics/fingerprint/aidl/vts/
H A DVtsHalBiometricsFingerprintTargetTest.cpp183 std::vector<SensorProps> sensorProps; in TEST_P() local
186 ASSERT_TRUE(mHal->getSensorProps(&sensorProps).isOk()); in TEST_P()
189 ASSERT_FALSE(sensorProps.empty()); in TEST_P()
190 ASSERT_FALSE(sensorProps[0].commonProps.componentInfo.empty()); in TEST_P()
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
H A DFingerprintEnrollClient.java64 @NonNull FingerprintSensorPropertiesInternal sensorProps, in FingerprintEnrollClient() argument
71 !sensorProps.isAnyUdfpsType() /* shouldVibrate */); in FingerprintEnrollClient()
73 mSensorProps = sensorProps; in FingerprintEnrollClient()
H A DFingerprintAuthenticationClient.java73 @NonNull FingerprintSensorPropertiesInternal sensorProps) { in FingerprintAuthenticationClient() argument
82 mSensorProps = sensorProps; in FingerprintAuthenticationClient()
/aosp12/hardware/interfaces/biometrics/face/aidl/vts/
H A DVtsHalBiometricsFaceTargetTest.cpp202 std::vector<SensorProps> sensorProps; in TEST_P() local
205 ASSERT_TRUE(mHal->getSensorProps(&sensorProps).isOk()); in TEST_P()
208 ASSERT_FALSE(sensorProps.empty()); in TEST_P()
209 ASSERT_FALSE(sensorProps[0].commonProps.componentInfo.empty()); in TEST_P()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DAuthBiometricFaceToFingerprintViewTest.java224 final FingerprintSensorPropertiesInternal sensorProps = createFingerprintSensorProps(); in testOnSaveState() local
225 mFaceToFpView.setFingerprintSensorProps(sensorProps); in testOnSaveState()
232 assertEquals(savedState.getParcelable(AuthDialog.KEY_BIOMETRIC_SENSOR_PROPS), sensorProps); in testOnSaveState() local
/aosp12/frameworks/base/core/java/android/hardware/fingerprint/
H A DFingerprintManager.java710 final FingerprintSensorPropertiesInternal sensorProps = getFirstFingerprintSensor(); in generateChallenge() local
711 if (sensorProps == null) { in generateChallenge()
715 generateChallenge(sensorProps.sensorId, userId, callback); in generateChallenge()
726 final FingerprintSensorPropertiesInternal sensorProps = getFirstFingerprintSensor(); in revokeChallenge() local
727 if (sensorProps == null) { in revokeChallenge()
731 mService.revokeChallenge(mToken, sensorProps.sensorId, userId, in revokeChallenge()
1044 final FingerprintSensorPropertiesInternal sensorProps = getFirstFingerprintSensor(); in isPowerbuttonFps() local
1045 return sensorProps.sensorType == TYPE_POWER_BUTTON; in isPowerbuttonFps()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/hidl/
H A DFace10Test.java97 final FaceSensorPropertiesInternal sensorProps = new FaceSensorPropertiesInternal(SENSOR_ID, in setUp() local
103 mFace10 = new Face10(mContext, sensorProps, mLockoutResetDispatcher, mHandler, mScheduler); in setUp()
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
H A DFace10.java334 @NonNull FaceSensorPropertiesInternal sensorProps, in Face10() argument
338 mSensorProperties = sensorProps; in Face10()
340 mSensorId = sensorProps.sensorId; in Face10()
347 mHalResultController = new HalResultController(sensorProps.sensorId, context, mHandler, in Face10()
362 @NonNull FaceSensorPropertiesInternal sensorProps, in newInstance() argument
365 return new Face10(context, sensorProps, lockoutResetDispatcher, handler, in newInstance()
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
H A DFingerprintService.java330 final FingerprintSensorPropertiesInternal sensorProps = in authenticate() local
333 && sensorProps != null && sensorProps.isAnyUdfpsType()) { in authenticate()
336 return authenticateWithPrompt(operationId, sensorProps, userId, receiver, in authenticate()