Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
H A DSensorTest.java151 final SensorProps sensorProps = new SensorProps(); in onBinderDied_noErrorOnNullClient() local
152 sensorProps.commonProps = new CommonProps(); in onBinderDied_noErrorOnNullClient()
153 sensorProps.commonProps.sensorId = 1; in onBinderDied_noErrorOnNullClient()
155 sensorProps.commonProps.sensorId, sensorProps.commonProps.sensorStrength, in onBinderDied_noErrorOnNullClient()
156 sensorProps.commonProps.maxEnrollmentsPerUser, null, in onBinderDied_noErrorOnNullClient()
157 sensorProps.sensorType, sensorProps.supportsDetectInteraction, in onBinderDied_noErrorOnNullClient()
179 final SensorProps sensorProps = new SensorProps(); in onBinderDied_cancelNonInterruptableClient() local
180 sensorProps.commonProps = new CommonProps(); in onBinderDied_cancelNonInterruptableClient()
181 sensorProps.commonProps.sensorId = 1; in onBinderDied_cancelNonInterruptableClient()
183 sensorProps.commonProps.sensorId, sensorProps.commonProps.sensorStrength, in onBinderDied_cancelNonInterruptableClient()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
H A DSensorTest.java157 final SensorProps sensorProps = new SensorProps(); in onBinderDied_cancelNonInterruptableClient() local
158 sensorProps.commonProps = new CommonProps(); in onBinderDied_cancelNonInterruptableClient()
159 sensorProps.commonProps.sensorId = 1; in onBinderDied_cancelNonInterruptableClient()
162 sensorProps.commonProps.sensorId, sensorProps.commonProps.sensorStrength, in onBinderDied_cancelNonInterruptableClient()
163 sensorProps.commonProps.maxEnrollmentsPerUser, null, in onBinderDied_cancelNonInterruptableClient()
164 sensorProps.sensorType, false /* resetLockoutRequiresHardwareAuthToken */); in onBinderDied_cancelNonInterruptableClient()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthBiometricFingerprintView.kt46 fun setSensorProperties(sensorProps: FingerprintSensorPropertiesInternal) {
47 isSfps = sensorProps.isAnySidefpsType
48 isUdfps = sensorProps.isAnyUdfpsType
49 udfpsAdapter = if (isUdfps) UdfpsDialogMeasureAdapter(this, sensorProps) else null
H A DSideFpsController.kt97 val sensorProps: FingerprintSensorPropertiesInternal =
107 sensorProps,
269 sensorProps.getLocation(display.uniqueId).let { location ->
273 location ?: sensorProps.location
474 sensorProps: FingerprintSensorPropertiesInternal,
483 BiometricDisplayListener.SensorType.SideFingerprint(sensorProps)
H A DUdfpsDialogMeasureAdapter.java54 @NonNull ViewGroup view, @NonNull FingerprintSensorPropertiesInternal sensorProps) { in UdfpsDialogMeasureAdapter() argument
56 mSensorProps = sensorProps; in UdfpsDialogMeasureAdapter()
H A DUdfpsController.java373 public void updateOverlayParams(@NonNull FingerprintSensorPropertiesInternal sensorProps, in updateOverlayParams() argument
375 if (mSensorProps.sensorId != sensorProps.sensorId) { in updateOverlayParams()
376 mSensorProps = sensorProps; in updateOverlayParams()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DUdfpsControllerTest.java572 public final FingerprintSensorPropertiesInternal sensorProps; field in UdfpsControllerTest.TestParams
575 TestParams(FingerprintSensorPropertiesInternal sensorProps, in TestParams() argument
577 this.sensorProps = sensorProps; in TestParams()
586 initUdfpsController(sensorProps, hasAlternateTouchProvider); in runWithAllParams()
626 mUdfpsController.updateOverlayParams(testParams.sensorProps, in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
650 mUdfpsController.updateOverlayParams(testParams.sensorProps, in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
673 mUdfpsController.updateOverlayParams(testParams.sensorProps, in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
696 mUdfpsController.updateOverlayParams(testParams.sensorProps, in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
791 eq(testParams.sensorProps.sensorId)); in fingerDownParameterized()
939 mOverlayController.onAcquired(testParams.sensorProps.sensorId, in onAcquiredGood_displayConfigurationParameterized()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/hidl/
H A DFingerprint21Test.java99 final FingerprintSensorPropertiesInternal sensorProps = in setUp() local
105 mFingerprint21 = new TestableFingerprint21(mContext, mBiometricStateCallback, sensorProps, in setUp()
129 @NonNull FingerprintSensorPropertiesInternal sensorProps, in TestableFingerprint21() argument
134 super(context, biometricStateCallback, sensorProps, scheduler, handler, in TestableFingerprint21()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
H A DFingerprint21UdfpsMock.java251 @NonNull FingerprintSensorPropertiesInternal sensorProps, in newInstance() argument
261 new MockHalResultController(sensorProps.sensorId, context, handler, scheduler); in newInstance()
262 return new Fingerprint21UdfpsMock(context, biometricStateCallback, sensorProps, scheduler, in newInstance()
391 @NonNull FingerprintSensorPropertiesInternal sensorProps, in Fingerprint21UdfpsMock() argument
397 super(context, biometricStateCallback, sensorProps, scheduler, handler, in Fingerprint21UdfpsMock()
406 mSensorProperties = new FingerprintSensorPropertiesInternal(sensorProps.sensorId, in Fingerprint21UdfpsMock()
407 sensorProps.sensorStrength, maxTemplatesAllowed, sensorProps.componentInfo, in Fingerprint21UdfpsMock()
409 resetLockoutRequiresHardwareAuthToken, sensorProps.getAllLocations()); in Fingerprint21UdfpsMock()
H A DFingerprint21.java327 @NonNull FingerprintSensorPropertiesInternal sensorProps, in Fingerprint21() argument
337 mSensorProperties = sensorProps; in Fingerprint21()
338 mSensorId = sensorProps.sensorId; in Fingerprint21()
339 mIsUdfps = sensorProps.sensorType == FingerprintSensorProperties.TYPE_UDFPS_OPTICAL in Fingerprint21()
340 || sensorProps.sensorType == FingerprintSensorProperties.TYPE_UDFPS_ULTRASONIC; in Fingerprint21()
341 mIsPowerbuttonFps = sensorProps.sensorType == FingerprintSensorProperties.TYPE_POWER_BUTTON; in Fingerprint21()
369 @NonNull FingerprintSensorPropertiesInternal sensorProps, in newInstance() argument
375 BiometricScheduler.sensorTypeFromFingerprintProperties(sensorProps), in newInstance()
377 final HalResultController controller = new HalResultController(sensorProps.sensorId, in newInstance()
379 return new Fingerprint21(context, biometricStateCallback, sensorProps, scheduler, handler, in newInstance()
H A DFingerprintAuthenticationClient.java86 @NonNull FingerprintSensorPropertiesInternal sensorProps, in FingerprintAuthenticationClient() argument
95 mSensorProps = sensorProps; in FingerprintAuthenticationClient()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
H A DFingerprintEnrollClient.java74 FingerprintSensorPropertiesInternal sensorProps) { in shouldVibrateFor() argument
77 return !sensorProps.isAnyUdfpsType() || isAccessbilityEnabled; in shouldVibrateFor()
86 @NonNull FingerprintSensorPropertiesInternal sensorProps, in FingerprintEnrollClient() argument
92 0 /* timeoutSec */, sensorId, shouldVibrateFor(context, sensorProps), logger, in FingerprintEnrollClient()
95 mSensorProps = sensorProps; in FingerprintEnrollClient()
H A DFingerprintAuthenticationClient.java115 @NonNull FingerprintSensorPropertiesInternal sensorProps, in FingerprintAuthenticationClient() argument
139 mSensorProps = sensorProps; in FingerprintAuthenticationClient()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/
H A DFacePropertyRepository.kt55 private val sensorProps: Flow<List<FaceSensorPropertiesInternal>> =
78 sensorProps
/aosp14/frameworks/base/core/java/android/hardware/fingerprint/
H A DFingerprintManager.java795 final FingerprintSensorPropertiesInternal sensorProps = getFirstFingerprintSensor(); in generateChallenge() local
796 if (sensorProps == null) { in generateChallenge()
800 generateChallenge(sensorProps.sensorId, userId, callback); in generateChallenge()
811 final FingerprintSensorPropertiesInternal sensorProps = getFirstFingerprintSensor(); in revokeChallenge() local
812 if (sensorProps == null) { in revokeChallenge()
816 mService.revokeChallenge(mToken, sensorProps.sensorId, userId, in revokeChallenge()
1230 final FingerprintSensorPropertiesInternal sensorProps = getFirstFingerprintSensor(); in isPowerbuttonFps() local
1231 return sensorProps == null ? false : sensorProps.sensorType == TYPE_POWER_BUTTON; in isPowerbuttonFps()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/hidl/
H A DFace10Test.java112 final FaceSensorPropertiesInternal sensorProps = new FaceSensorPropertiesInternal(SENSOR_ID, in setUp() local
119 mFace10 = new Face10(mContext, mBiometricStateCallback, sensorProps, in setUp()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
H A DFace10.java346 @NonNull FaceSensorPropertiesInternal sensorProps, in Face10() argument
351 mSensorProperties = sensorProps; in Face10()
354 mSensorId = sensorProps.sensorId; in Face10()
362 mHalResultController = new HalResultController(sensorProps.sensorId, context, mHandler, in Face10()
381 @NonNull FaceSensorPropertiesInternal sensorProps, in newInstance() argument
384 return new Face10(context, biometricStateCallback, sensorProps, lockoutResetDispatcher, in newInstance()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
H A DFingerprintService.java318 final FingerprintSensorPropertiesInternal sensorProps =
321 && sensorProps != null && (sensorProps.isAnyUdfpsType()
322 || sensorProps.isAnySidefpsType())) {
324 return authenticateWithPrompt(operationId, sensorProps, callingUid,