summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'gatekeeperd/IGateKeeperService.h')
-rw-r--r--gatekeeperd/IGateKeeperService.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gatekeeperd/IGateKeeperService.h b/gatekeeperd/IGateKeeperService.h
index 10b1b4310..51e179d10 100644
--- a/gatekeeperd/IGateKeeperService.h
+++ b/gatekeeperd/IGateKeeperService.h
@@ -31,6 +31,7 @@ public:
31 ENROLL = IBinder::FIRST_CALL_TRANSACTION + 0, 31 ENROLL = IBinder::FIRST_CALL_TRANSACTION + 0,
32 VERIFY = IBinder::FIRST_CALL_TRANSACTION + 1, 32 VERIFY = IBinder::FIRST_CALL_TRANSACTION + 1,
33 VERIFY_CHALLENGE = IBinder::FIRST_CALL_TRANSACTION + 2, 33 VERIFY_CHALLENGE = IBinder::FIRST_CALL_TRANSACTION + 2,
34 GET_SECURE_USER_ID = IBinder::FIRST_CALL_TRANSACTION + 3,
34 }; 35 };
35 36
36 // DECLARE_META_INTERFACE - C++ client interface not needed 37 // DECLARE_META_INTERFACE - C++ client interface not needed
@@ -64,6 +65,11 @@ public:
64 const uint8_t *enrolled_password_handle, uint32_t enrolled_password_handle_length, 65 const uint8_t *enrolled_password_handle, uint32_t enrolled_password_handle_length,
65 const uint8_t *provided_password, uint32_t provided_password_length, 66 const uint8_t *provided_password, uint32_t provided_password_length,
66 uint8_t **auth_token, uint32_t *auth_token_length) = 0; 67 uint8_t **auth_token, uint32_t *auth_token_length) = 0;
68
69 /**
70 * Returns the secure user ID for the provided android user
71 */
72 virtual uint64_t getSecureUserId(uint32_t uid) = 0;
67}; 73};
68 74
69// ---------------------------------------------------------------------------- 75// ----------------------------------------------------------------------------