Add FIRST_FRAME_RECEIVED to AcquiredInfo

Bug: 164922876
Test: m android.hardware.biometrics.face-update-api
Change-Id: Ia98ff7099d125e6a015f67a0aefb43e006b7f727
This commit is contained in:
Kevin Chyn 2020-10-30 11:39:07 -07:00
parent 1c246b7784
commit 898a2e3dd7
2 changed files with 11 additions and 6 deletions

View file

@ -41,4 +41,5 @@ enum AcquiredInfo {
START = 20,
SENSOR_DIRTY = 21,
VENDOR = 22,
FIRST_FRAME_RECEIVED = 23,
}

View file

@ -198,10 +198,9 @@ enum AcquiredInfo {
/**
* This message represents the earliest message sent at the beginning of the authentication
* pipeline. It is expected to be used to measure latency. For example, in a camera-based
* authentication system it's expected to be sent prior to camera initialization. Note this
* should be sent whenever authentication is restarted (see IBiometricsFace#userActivity).
* The framework will measure latency based on the time between the last START message and the
* onAuthenticated callback.
* authentication system it's expected to be sent prior to camera initialization. The framework
* will measure latency based on the time between the last START message and the onAuthenticated
* callback.
*/
START = 20,
@ -213,7 +212,12 @@ enum AcquiredInfo {
/**
* Vendor-specific acquisition message. See ISessionCallback#onAcquired vendorCode
* documentation.
*/
VENDOR = 22
*/
VENDOR = 22,
/**
* The first frame from the camera has been received.
*/
FIRST_FRAME_RECEIVED = 23
}