Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
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()
DAuthBiometricFaceToFingerprintView.java138 void setFingerprintSensorProps(@NonNull FingerprintSensorPropertiesInternal sensorProps) { in setFingerprintSensorProps() argument
139 mFingerprintSensorProps = sensorProps; in setFingerprintSensorProps()
DAuthContainerView.java305 FingerprintSensorPropertiesInternal sensorProps = null; in AuthContainerView() local
308 sensorProps = prop; in AuthContainerView()
313 if (sensorProps.isAnyUdfpsType()) { in AuthContainerView()
316 udfpsView.setSensorProps(sensorProps); in AuthContainerView()
DUdfpsDialogMeasureAdapter.java50 @NonNull ViewGroup view, @NonNull FingerprintSensorPropertiesInternal sensorProps) { in UdfpsDialogMeasureAdapter() argument
52 mSensorProps = sensorProps; in UdfpsDialogMeasureAdapter()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
DFingerprint21UdfpsMock.java273 @NonNull FingerprintSensorPropertiesInternal sensorProps, in newInstance() argument
282 new MockHalResultController(sensorProps.sensorId, context, handler, scheduler); in newInstance()
283 return new Fingerprint21UdfpsMock(context, sensorProps, scheduler, handler, in newInstance()
408 @NonNull FingerprintSensorPropertiesInternal sensorProps, in Fingerprint21UdfpsMock() argument
413 super(context, sensorProps, scheduler, handler, lockoutResetDispatcher, controller); in Fingerprint21UdfpsMock()
421 mSensorProperties = new FingerprintSensorPropertiesInternal(sensorProps.sensorId, in Fingerprint21UdfpsMock()
422 sensorProps.sensorStrength, maxTemplatesAllowed, sensorProps.componentInfo, in Fingerprint21UdfpsMock()
424 resetLockoutRequiresHardwareAuthToken, sensorProps.sensorLocationX, in Fingerprint21UdfpsMock()
425 sensorProps.sensorLocationY, sensorProps.sensorRadius); in Fingerprint21UdfpsMock()
DFingerprint21.java316 @NonNull FingerprintSensorPropertiesInternal sensorProps, in Fingerprint21() argument
322 mSensorProperties = sensorProps; in Fingerprint21()
323 mSensorId = sensorProps.sensorId; in Fingerprint21()
324 mIsUdfps = sensorProps.sensorType == FingerprintSensorProperties.TYPE_UDFPS_OPTICAL in Fingerprint21()
325 || sensorProps.sensorType == FingerprintSensorProperties.TYPE_UDFPS_ULTRASONIC; in Fingerprint21()
326 mIsPowerbuttonFps = sensorProps.sensorType == FingerprintSensorProperties.TYPE_POWER_BUTTON; in Fingerprint21()
350 @NonNull FingerprintSensorPropertiesInternal sensorProps, in newInstance() argument
356 BiometricScheduler.sensorTypeFromFingerprintProperties(sensorProps), in newInstance()
358 final HalResultController controller = new HalResultController(sensorProps.sensorId, in newInstance()
361 return new Fingerprint21(context, sensorProps, scheduler, handler, lockoutResetDispatcher, in newInstance()
DFingerprintAuthenticationClient.java70 @NonNull FingerprintSensorPropertiesInternal sensorProps) { in FingerprintAuthenticationClient() argument
78 mSensorProps = sensorProps; in FingerprintAuthenticationClient()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/hidl/
DFingerprint21Test.java93 final FingerprintSensorPropertiesInternal sensorProps = in setUp() local
99 mFingerprint21 = new TestableFingerprint21(mContext, sensorProps, mScheduler, in setUp()
121 @NonNull FingerprintSensorPropertiesInternal sensorProps, in TestableFingerprint21() argument
125 super(context, sensorProps, scheduler, handler, lockoutResetDispatcher, controller); in TestableFingerprint21()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
DFingerprintEnrollClient.java65 @NonNull FingerprintSensorPropertiesInternal sensorProps, in FingerprintEnrollClient() argument
72 !sensorProps.isAnyUdfpsType() /* shouldVibrate */); in FingerprintEnrollClient()
73 mSensorProps = sensorProps; in FingerprintEnrollClient()
DFingerprintAuthenticationClient.java71 @NonNull FingerprintSensorPropertiesInternal sensorProps) { in FingerprintAuthenticationClient() argument
79 mSensorProps = sensorProps; in FingerprintAuthenticationClient()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthBiometricFaceToFingerprintViewTest.java220 final FingerprintSensorPropertiesInternal sensorProps = createFingerprintSensorProps(); in testOnSaveState() local
221 mFaceToFpView.setFingerprintSensorProps(sensorProps); in testOnSaveState()
228 assertEquals(savedState.getParcelable(AuthDialog.KEY_BIOMETRIC_SENSOR_PROPS), sensorProps); in testOnSaveState() local
/frameworks/base/core/java/android/hardware/fingerprint/
DFingerprintManager.java694 final FingerprintSensorPropertiesInternal sensorProps = getFirstFingerprintSensor(); in generateChallenge() local
695 if (sensorProps == null) { in generateChallenge()
699 generateChallenge(sensorProps.sensorId, userId, callback); in generateChallenge()
710 final FingerprintSensorPropertiesInternal sensorProps = getFirstFingerprintSensor(); in revokeChallenge() local
711 if (sensorProps == null) { in revokeChallenge()
715 mService.revokeChallenge(mToken, sensorProps.sensorId, userId, in revokeChallenge()
1048 final FingerprintSensorPropertiesInternal sensorProps = getFirstFingerprintSensor(); in isPowerbuttonFps() local
1049 return sensorProps.sensorType == TYPE_POWER_BUTTON; in isPowerbuttonFps()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/hidl/
DFace10Test.java94 final FaceSensorPropertiesInternal sensorProps = new FaceSensorPropertiesInternal(SENSOR_ID, in setUp() local
100 mFace10 = new Face10(mContext, sensorProps, mLockoutResetDispatcher, mScheduler); in setUp()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DFace10.java331 @NonNull FaceSensorPropertiesInternal sensorProps, in Face10() argument
334 mSensorProperties = sensorProps; in Face10()
336 mSensorId = sensorProps.sensorId; in Face10()
343 mHalResultController = new HalResultController(sensorProps.sensorId, context, mHandler, in Face10()
357 public Face10(@NonNull Context context, @NonNull FaceSensorPropertiesInternal sensorProps, in Face10() argument
359 this(context, sensorProps, lockoutResetDispatcher, in Face10()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DFingerprintService.java296 final FingerprintSensorPropertiesInternal sensorProps = in authenticate() local
299 && sensorProps != null && sensorProps.isAnyUdfpsType()) { in authenticate()
302 authenticateWithPrompt(operationId, sensorProps, userId, receiver); in authenticate()