summaryrefslogtreecommitdiff
path: root/gatekeeper_messages.cpp
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2021-01-25 13:46:42 -0800
committerMarco Nelissen <marcone@google.com>2021-01-26 19:36:05 -0800
commit76b743e8a1e431cd87def8e9526401df078272e3 (patch)
tree33affa05bf46b4e71aa9adecdd0afb9bcd9623de /gatekeeper_messages.cpp
parentb628d2a7dc049ef3aec72d71cece53226cd04e27 (diff)
downloadgatekeeper-76b743e8a1e431cd87def8e9526401df078272e3.tar.gz
Add DeleteUser/DeleteAllUsers to gatekeeper
Not actually implemented yet, but will respond to calls. Also add "-Werror -Wunused-parameter" to rules.mk, since that's what's used by presubmit build checks. Bug: 160731903 Test: "atest VtsHalGatekeeperV1_0TargetTest" manual testing with added instrumentation Change-Id: I3c9c4d3a2d07f4b018cd7b03691b92a777dd9f0d
Diffstat (limited to 'gatekeeper_messages.cpp')
-rw-r--r--gatekeeper_messages.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gatekeeper_messages.cpp b/gatekeeper_messages.cpp
index 3450d2b..01f2f8c 100644
--- a/gatekeeper_messages.cpp
+++ b/gatekeeper_messages.cpp
@@ -280,5 +280,8 @@ gatekeeper_error_t EnrollResponse::nonErrorDeserialize(const uint8_t *payload, c
return read_from_buffer(&payload, end, &enrolled_password_handle);
}
+DeleteUserRequest::DeleteUserRequest(uint32_t user_id) {
+ this->user_id = user_id;
+}
};