summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndres Morales2015-04-16 15:16:24 -0500
committerAndres Morales2015-04-16 15:17:54 -0500
commit6a49c2fa4371cad600f4a96da3d1644df862d2a5 (patch)
treede675d63c6cf4d3577512a8805db0f82f1e5fe33 /gatekeeperd/IGateKeeperService.h
parent5134cc0139f8c9e5657487f386b11803df284818 (diff)
downloadplatform-system-core-6a49c2fa4371cad600f4a96da3d1644df862d2a5.tar.gz
platform-system-core-6a49c2fa4371cad600f4a96da3d1644df862d2a5.tar.xz
platform-system-core-6a49c2fa4371cad600f4a96da3d1644df862d2a5.zip
Implement SID API
Change-Id: Id11632a6b4b9cab6f08f97026dd65fdf49a46491
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// ----------------------------------------------------------------------------