Home
last modified time | relevance | path

Searched refs:gatekeeper_error_t (Results 1 – 7 of 7) sorted by relevance

/system/gatekeeper/include/gatekeeper/
Dgatekeeper_messages.h40 } gatekeeper_error_t; typedef
108 explicit GateKeeperMessage(gatekeeper_error_t error) : error(error) {} in GateKeeperMessage()
128 gatekeeper_error_t Deserialize(const uint8_t *payload, const uint8_t *end);
158 virtual gatekeeper_error_t nonErrorDeserialize(const uint8_t *, const uint8_t *) { in nonErrorDeserialize()
162 gatekeeper_error_t error;
177 gatekeeper_error_t nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) override;
192 gatekeeper_error_t nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) override;
205 gatekeeper_error_t nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) override;
231 gatekeeper_error_t nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) override;
242 gatekeeper_error_t nonErrorDeserialize( in nonErrorDeserialize()
[all …]
Dgatekeeper.h124 virtual gatekeeper_error_t RemoveUser(uint32_t /* uid */) { return ERROR_NOT_IMPLEMENTED; } in RemoveUser()
131 virtual gatekeeper_error_t RemoveAllUsers() { return ERROR_NOT_IMPLEMENTED; } in RemoveAllUsers()
195 gatekeeper_error_t MintAuthToken(SizedBuffer *auth_token, uint64_t timestamp,
/system/gatekeeper/tests/
Dgatekeeper_messages_test.cpp58 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
61 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
81 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
84 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
109 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
112 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
137 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
140 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
159 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
162 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
[all …]
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper.h73 gatekeeper_error_t Send(uint32_t command, const GateKeeperMessage& request,
76 gatekeeper_error_t Send(const EnrollRequest& request, EnrollResponse *response) { in Send()
80 gatekeeper_error_t Send(const VerifyRequest& request, VerifyResponse *response) { in Send()
84 gatekeeper_error_t Send(const DeleteUserRequest& request, DeleteUserResponse* response) { in Send()
88 gatekeeper_error_t Send(const DeleteAllUsersRequest& request, in Send()
Dtrusty_gatekeeper.cpp181 gatekeeper_error_t TrustyGateKeeperDevice::Send(uint32_t command, const GateKeeperMessage& request, in Send()
/system/gatekeeper/
Dgatekeeper_messages.cpp53 static inline gatekeeper_error_t readError(uint32_t code) { in readError()
69 static inline gatekeeper_error_t read_from_buffer(const uint8_t **buffer, const uint8_t *end, in read_from_buffer()
135 gatekeeper_error_t GateKeeperMessage::Deserialize(const uint8_t *payload, const uint8_t *end) { in Deserialize()
181 gatekeeper_error_t VerifyRequest::nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) { in nonErrorDeserialize()
182 gatekeeper_error_t error = ERROR_NONE; in nonErrorDeserialize()
222 gatekeeper_error_t VerifyResponse::nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) { in nonErrorDeserialize()
226 gatekeeper_error_t err = read_from_buffer(&payload, end, &auth_token); in nonErrorDeserialize()
256 gatekeeper_error_t EnrollRequest::nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) { in nonErrorDeserialize()
257 gatekeeper_error_t ret; in nonErrorDeserialize()
293 gatekeeper_error_t EnrollResponse::nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) { in nonErrorDeserialize()
Dgatekeeper.cpp240 gatekeeper_error_t GateKeeper::MintAuthToken(SizedBuffer *auth_token, in MintAuthToken()