Home
last modified time | relevance | path

Searched refs:EnrollRequest (Results 1 – 9 of 9) sorted by relevance

/system/gatekeeper/include/gatekeeper/
Dgatekeeper_messages.h170 struct EnrollRequest : public GateKeeperMessage { struct
171 EnrollRequest(uint32_t user_id, SizedBuffer *password_handle,
173 EnrollRequest();
174 ~EnrollRequest();
Dgatekeeper.h45 void Enroll(const EnrollRequest &request, EnrollResponse *response);
/system/gatekeeper/
Dgatekeeper_messages.cpp248 EnrollRequest::EnrollRequest(uint32_t user_id, SizedBuffer *password_handle, in EnrollRequest() function in gatekeeper::EnrollRequest
271 EnrollRequest::EnrollRequest() { in EnrollRequest() function in gatekeeper::EnrollRequest
277 EnrollRequest::~EnrollRequest() { in ~EnrollRequest()
294 uint32_t EnrollRequest::nonErrorSerializedSize() const { in nonErrorSerializedSize()
299 void EnrollRequest::nonErrorSerialize(uint8_t *buffer) const { in nonErrorSerialize()
305 gatekeeper_error_t EnrollRequest::nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) { in nonErrorDeserialize()
Dgatekeeper.cpp25 void GateKeeper::Enroll(const EnrollRequest &request, EnrollResponse *response) { in Enroll()
/system/gatekeeper/tests/
Dgatekeeper_messages_test.cpp26 using ::gatekeeper::EnrollRequest;
54 EnrollRequest msg(USER_ID, NULL, provided_password, NULL); in TEST()
58 EnrollRequest deserialized_msg; in TEST()
83 EnrollRequest msg(USER_ID, &handle, provided_password, &enrolled); in TEST()
87 EnrollRequest deserialized_msg; in TEST()
114 EnrollRequest msg(USER_ID, password_handle, provided_password, enrolled_password); in TEST()
118 EnrollRequest deserialized_msg; in TEST()
251 EnrollRequest msg; in TEST()
255 EnrollRequest deserialized_msg; in TEST()
311 GARBAGE_TEST(EnrollRequest);
/system/core/gatekeeperd/tests/
Dgatekeeper_test.cpp27 using ::gatekeeper::EnrollRequest;
40 EnrollRequest request(0, NULL, &password, NULL); in do_enroll()
57 EnrollRequest request(0, NULL, &password, NULL); in TEST()
131 EnrollRequest enroll_request(0, &password_handle, &password, &provided_password); in TEST()
176 EnrollRequest enroll_request(0, NULL, &password, NULL); in TEST()
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper.h71 gatekeeper_error_t Send(const EnrollRequest& request, EnrollResponse *response) { in Send()
Dtrusty_gatekeeper.cpp106 EnrollRequest request(uid, &current_password_handle_buffer, &desired_password_buffer, in Enroll()
/system/core/gatekeeperd/
DSoftGateKeeperDevice.cpp54 EnrollRequest request(uid, &current_password_handle_buffer, &desired_password_buffer, in enroll()