summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Huber2017-03-28 18:19:16 -0500
committerAndreas Huber2017-03-29 10:53:58 -0500
commit40d3a9bd8c62714ee58f9363c4456f764aa5a95d (patch)
treeda47e5b4448e44385919af0effbd49a5d1b415e8 /gatekeeper
parent2f44ec6c868b220be1b566e7ccfbb251beec70ec (diff)
downloadplatform-hardware-interfaces-40d3a9bd8c62714ee58f9363c4456f764aa5a95d.tar.gz
platform-hardware-interfaces-40d3a9bd8c62714ee58f9363c4456f764aa5a95d.tar.xz
platform-hardware-interfaces-40d3a9bd8c62714ee58f9363c4456f764aa5a95d.zip
Convert all comments into "doxygen-ready" comments.
Bug: 36453077 Test: mma Change-Id: I0b1f77dfae5d2258969e33d85ecf45401ffbdfaa
Diffstat (limited to 'gatekeeper')
-rw-r--r--gatekeeper/1.0/IGatekeeper.hal4
-rw-r--r--gatekeeper/1.0/types.hal7
2 files changed, 6 insertions, 5 deletions
diff --git a/gatekeeper/1.0/IGatekeeper.hal b/gatekeeper/1.0/IGatekeeper.hal
index c1934776..59dd7d16 100644
--- a/gatekeeper/1.0/IGatekeeper.hal
+++ b/gatekeeper/1.0/IGatekeeper.hal
@@ -91,7 +91,7 @@ verify(uint32_t uid, uint64_t challenge,
91 vec<uint8_t> providedPassword) 91 vec<uint8_t> providedPassword)
92 generates (GatekeeperResponse response); 92 generates (GatekeeperResponse response);
93 93
94/* 94/**
95 * Deletes the enrolledPasswordHandle associated with the uid. Once deleted 95 * Deletes the enrolledPasswordHandle associated with the uid. Once deleted
96 * the user cannot be verified anymore. 96 * the user cannot be verified anymore.
97 * This is an optional method. 97 * This is an optional method.
@@ -107,7 +107,7 @@ verify(uint32_t uid, uint64_t challenge,
107 */ 107 */
108deleteUser(uint32_t uid) generates (GatekeeperResponse response); 108deleteUser(uint32_t uid) generates (GatekeeperResponse response);
109 109
110/* 110/**
111 * Deletes all the enrolled_password_handles for all uid's. Once called, 111 * Deletes all the enrolled_password_handles for all uid's. Once called,
112 * no users must be enrolled on the device. 112 * no users must be enrolled on the device.
113 * This is an optional method. 113 * This is an optional method.
diff --git a/gatekeeper/1.0/types.hal b/gatekeeper/1.0/types.hal
index 59076e00..f243675e 100644
--- a/gatekeeper/1.0/types.hal
+++ b/gatekeeper/1.0/types.hal
@@ -31,12 +31,13 @@ enum GatekeeperStatusCode : int32_t {
31 * Gatekeeper response to any/all requests has this structure as mandatory part 31 * Gatekeeper response to any/all requests has this structure as mandatory part
32 */ 32 */
33struct GatekeeperResponse { 33struct GatekeeperResponse {
34 /* request completion status */ 34 /** request completion status */
35 GatekeeperStatusCode code; 35 GatekeeperStatusCode code;
36 /* retry timeout in ms, if code == ERROR_RETRY_TIMEOUT 36 /**
37 * retry timeout in ms, if code == ERROR_RETRY_TIMEOUT
37 * otherwise unused (0) 38 * otherwise unused (0)
38 */ 39 */
39 uint32_t timeout; 40 uint32_t timeout;
40 /* optional crypto blob. Opaque to Android system. */ 41 /** optional crypto blob. Opaque to Android system. */
41 vec<uint8_t> data; 42 vec<uint8_t> data;
42}; 43};