Updated the comments where the status code is used in other types.

Bug: 205760843
Test: VtsHalGatekeeperTarget
Change-Id: I6a1ed4008989f607a37b53a966b3ba8327cc1381
This commit is contained in:
Subrahmanyaman 2023-01-24 19:34:58 +00:00
parent 5a412d3e11
commit 31d630b6aa
2 changed files with 6 additions and 4 deletions

View file

@ -22,11 +22,12 @@ package android.hardware.gatekeeper;
@VintfStability
parcelable GatekeeperEnrollResponse {
/**
* Request completion status
* Request completion status. The status code can be IGatekeeper::STATUS_OK
* or IGatekeeper::ERROR_RETRY_TIMEOUT.
*/
int statusCode;
/**
* Retry timeout in ms, if code == ERROR_RETRY_TIMEOUT
* Retry timeout in ms, if code == IGatekeeper::ERROR_RETRY_TIMEOUT
* otherwise unused (0)
*/
int timeoutMs;

View file

@ -24,11 +24,12 @@ import android.hardware.security.keymint.HardwareAuthToken;
@VintfStability
parcelable GatekeeperVerifyResponse {
/**
* Request completion status
* Request completion status. The status code can be IGatekeeper::STATUS_OK
* or IGatekeeper::ERROR_RETRY_TIMEOUT or IGatekeeper::STATUS_REENROLL.
*/
int statusCode;
/**
* Retry timeout in ms, if code == ERROR_RETRY_TIMEOUT
* Retry timeout in ms, if code == IGatekeeper::ERROR_RETRY_TIMEOUT
* otherwise unused (0)
*/
int timeoutMs;