summaryrefslogtreecommitdiffstats
path: root/biometrics
diff options
context:
space:
mode:
authorKevin Chyn <kchyn@google.com>2019-01-24 11:20:00 -0800
committerKevin Chyn <kchyn@google.com>2019-01-24 11:20:00 -0800
commit54c13ddf60973df7ea0e2819624009ae5805c6e7 (patch)
tree55548d9a4e2bd9a31d6fd2a79cbae7e1a944377b /biometrics
parent4f3ff85b5d68a98ad846f3d5e9f95e2d4111bd7b (diff)
downloadandroid_hardware_interfaces-54c13ddf60973df7ea0e2819624009ae5805c6e7.tar.gz
android_hardware_interfaces-54c13ddf60973df7ea0e2819624009ae5805c6e7.tar.bz2
android_hardware_interfaces-54c13ddf60973df7ea0e2819624009ae5805c6e7.zip
Add additional acquired constants
Fixes: 123101870 Test: Builds Change-Id: I67365b4a821c43ac01810119e9f1fa24f27d3c7f
Diffstat (limited to 'biometrics')
-rw-r--r--biometrics/face/1.0/types.hal45
1 files changed, 44 insertions, 1 deletions
diff --git a/biometrics/face/1.0/types.hal b/biometrics/face/1.0/types.hal
index a488d671d..2bcd3d5e3 100644
--- a/biometrics/face/1.0/types.hal
+++ b/biometrics/face/1.0/types.hal
@@ -281,9 +281,52 @@ enum FaceAcquiredInfo : int32_t {
TOO_SIMILAR = 15,
/**
+ * The magnitude of the pan angle of the user’s face with respect to the sensor’s
+ * capture plane is too high.
+ *
+ * The pan angle is defined as the angle swept out by the user’s face turning
+ * their neck left and right. The pan angle would be zero if the user faced the
+ * camera directly.
+ *
+ * The user should be informed to look more directly at the camera.
+ */
+ PAN_TOO_EXTREME = 16,
+
+ /**
+ * The magnitude of the tilt angle of the user’s face with respect to the sensor’s
+ * capture plane is too high.
+ *
+ * The tilt angle is defined as the angle swept out by the user’s face looking up
+ * and down. The pan angle would be zero if the user faced the camera directly.
+ *
+ * The user should be informed to look more directly at the camera.
+ */
+ TILT_TOO_EXTREME = 17,
+
+ /**
+ * The magnitude of the roll angle of the user’s face with respect to the sensor’s
+ * capture plane is too high.
+ *
+ * The roll angle is defined as the angle swept out by the user’s face tilting their head
+ * towards their shoulders to the left and right. The pan angle would be zero if the user
+ * faced the camera directly.
+ *
+ * The user should be informed to look more directly at the camera.
+ */
+ ROLL_TOO_EXTREME = 18,
+
+ /**
+ * The user’s face has been obscured by some object.
+ *
+ * The user should be informed to remove any objects from the line of sight from
+ * the sensor to the user’s face.
+ */
+ FACE_OBSCURED = 19,
+
+ /**
* Used to enable a vendor-specific acquisition message.
*/
- VENDOR = 16
+ VENDOR = 20
};
/**