Home
last modified time | relevance | path

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

/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/gatekeeper/include/gatekeeper/
Dgatekeeper_messages.h39 } gatekeeper_error_t; typedef
107 explicit GateKeeperMessage(gatekeeper_error_t error) : error(error) {} in GateKeeperMessage()
127 gatekeeper_error_t Deserialize(const uint8_t *payload, const uint8_t *end);
157 virtual gatekeeper_error_t nonErrorDeserialize(const uint8_t *, const uint8_t *) { in nonErrorDeserialize()
161 gatekeeper_error_t error;
176 gatekeeper_error_t nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) override;
191 gatekeeper_error_t nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) override;
204 gatekeeper_error_t nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) override;
230 gatekeeper_error_t nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) override;
Dgatekeeper.h179 gatekeeper_error_t MintAuthToken(SizedBuffer *auth_token, uint64_t timestamp,
/system/gatekeeper/
Dgatekeeper_messages.cpp53 static inline gatekeeper_error_t read_from_buffer(const uint8_t **buffer, const uint8_t *end, in read_from_buffer()
119 gatekeeper_error_t GateKeeperMessage::Deserialize(const uint8_t *payload, const uint8_t *end) { in Deserialize()
122 error = static_cast<gatekeeper_error_t>(header->error); in Deserialize()
165 gatekeeper_error_t VerifyRequest::nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) { in nonErrorDeserialize()
166 gatekeeper_error_t error = ERROR_NONE; in nonErrorDeserialize()
206 gatekeeper_error_t VerifyResponse::nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) { in nonErrorDeserialize()
210 gatekeeper_error_t err = read_from_buffer(&payload, end, &auth_token); in nonErrorDeserialize()
240 gatekeeper_error_t EnrollRequest::nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) { in nonErrorDeserialize()
241 gatekeeper_error_t ret; in nonErrorDeserialize()
277 gatekeeper_error_t EnrollResponse::nonErrorDeserialize(const uint8_t *payload, const uint8_t *end) { in nonErrorDeserialize()
Dgatekeeper.cpp226 gatekeeper_error_t GateKeeper::MintAuthToken(SizedBuffer *auth_token, in MintAuthToken()
/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()
Dtrusty_gatekeeper.cpp146 gatekeeper_error_t TrustyGateKeeperDevice::Send(uint32_t command, const GateKeeperMessage& request, in Send()