Package: android.hardware.gatekeeper@1.0

types

Properties

GatekeeperStatusCode

enum GatekeeperStatusCode: int32_t

Gatekeeper response codes;success >= 0;error<0

Details
Members
STATUS_REENROLL = 1
STATUS_OK = 0
ERROR_GENERAL_FAILURE = -1
ERROR_RETRY_TIMEOUT = -2
ERROR_NOT_IMPLEMENTED = -3

GatekeeperResponse

struct GatekeeperResponse {GatekeeperStatusCode code; uint32_t timeout; vec data}

Gatekeeper response to any/all requests has this structure as mandatory part

Details
Members
code
request completion status
timeout
retry timeout in ms, if code == ERROR_RETRY_TIMEOUT otherwise unused(0 )
data
optional crypto blob.Opaque to Android system.