pjgowtham 41424fcfbe ferrari: Report the face unlock no-face timeout as TIMEOUT
The face HAL ends an attempt that sees no face for 151 frames with
UNABLE_TO_PROCESS. SystemUI treats that as a hardware error and
retries up to four times, so a single lock screen wake keeps the front
camera cycling for about a minute, racing any other camera client.

  E face_aidl.FaceSession: No face times have reached 151 counts, so cancel!
  E face_aidl.FaceSession: onError(error=2, vendor=0)
  E FaceAuthenticateOptions:  unmapped FaceAuthUiEvent FACE_AUTH_TRIGGERED_RETRY_AFTER_HW_UNAVAILABLE

One such camera close stalled while Aperture opened the rear camera,
and the HAL's watchdog killed it:

  F DEBUG   : signal 11 (SIGSEGV), code 0 (SI_USER), fault addr --------
  F DEBUG   :       #08 pc 000000000003dfcc  /vendor/lib64/libcamera2ndk_vendor.so (ACameraDevice_close.cfi+36)
  F DEBUG   :       #09 pc 0000000000025e60  /odm/bin/hw/vendor.oplus.hardware.biometrics.face@1.0-service (CameraHelper::closeCameraNoLock()+316)

Report it as TIMEOUT, which is what it is.

Assisted-by: LLM
Change-Id: Ibbb5189c7181427d975e3c26695927ffbca2b9e6
2026-11-23 22:27:53 +05:30
2026-11-06 08:20:59 +05:30
S
Description
Device tree for realme GT 2 pro (ferrari)
770 KiB
0 Stars 1 Watchers 0 Forks
Languages
Makefile 84%
Shell 16%