summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndres Morales2015-04-16 17:57:17 -0500
committerAndres Morales2015-04-16 17:57:17 -0500
commit7c9c3bc9c2d3f98ff839f73dc76750dc23693eae (patch)
tree4f243ac382dd3eef1780b36542dd184e05e604be /gatekeeperd/IGateKeeperService.h
parent6a49c2fa4371cad600f4a96da3d1644df862d2a5 (diff)
downloadplatform-system-core-7c9c3bc9c2d3f98ff839f73dc76750dc23693eae.tar.gz
platform-system-core-7c9c3bc9c2d3f98ff839f73dc76750dc23693eae.tar.xz
platform-system-core-7c9c3bc9c2d3f98ff839f73dc76750dc23693eae.zip
Implement clear SID API
Change-Id: I4ada55674edff32d3e39d460070e03abbf847359
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 51e179d10..a7773187e 100644
--- a/gatekeeperd/IGateKeeperService.h
+++ b/gatekeeperd/IGateKeeperService.h
@@ -32,6 +32,7 @@ public:
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 GET_SECURE_USER_ID = IBinder::FIRST_CALL_TRANSACTION + 3,
35 CLEAR_SECURE_USER_ID = IBinder::FIRST_CALL_TRANSACTION + 4,
35 }; 36 };
36 37
37 // DECLARE_META_INTERFACE - C++ client interface not needed 38 // DECLARE_META_INTERFACE - C++ client interface not needed
@@ -70,6 +71,11 @@ public:
70 * Returns the secure user ID for the provided android user 71 * Returns the secure user ID for the provided android user
71 */ 72 */
72 virtual uint64_t getSecureUserId(uint32_t uid) = 0; 73 virtual uint64_t getSecureUserId(uint32_t uid) = 0;
74
75 /**
76 * Clears the secure user ID associated with the user.
77 */
78 virtual void clearSecureUserId(uint32_t uid) = 0;
73}; 79};
74 80
75// ---------------------------------------------------------------------------- 81// ----------------------------------------------------------------------------