Home
last modified time | relevance | path

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

/aosp12/system/gatekeeper/tests/
H A 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 …]
/aosp12/system/gatekeeper/include/gatekeeper/
H A 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;
242 gatekeeper_error_t nonErrorDeserialize( in nonErrorDeserialize()
251 gatekeeper_error_t nonErrorDeserialize( in nonErrorDeserialize()
261 gatekeeper_error_t nonErrorDeserialize( in nonErrorDeserialize()
[all …]
H A 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,
/aosp12/hardware/interfaces/gatekeeper/1.0/software/tests/
H A Dgatekeeper_test.cpp62 ASSERT_EQ(::gatekeeper::gatekeeper_error_t::ERROR_NONE, response.error); in TEST()
73 ASSERT_EQ(::gatekeeper::gatekeeper_error_t::ERROR_INVALID, response.error); in TEST()
81 ASSERT_EQ(::gatekeeper::gatekeeper_error_t::ERROR_NONE, enroll_response.error); in TEST()
88 ASSERT_EQ(::gatekeeper::gatekeeper_error_t::ERROR_NONE, response.error); in TEST()
106 ASSERT_EQ(::gatekeeper::gatekeeper_error_t::ERROR_NONE, enroll_response.error); in TEST()
113 ASSERT_EQ(::gatekeeper::gatekeeper_error_t::ERROR_NONE, response.error); in TEST()
124 ASSERT_EQ(::gatekeeper::gatekeeper_error_t::ERROR_NONE, enroll_response.error); in TEST()
130 ASSERT_EQ(::gatekeeper::gatekeeper_error_t::ERROR_NONE, response.error); in TEST()
150 ASSERT_EQ(::gatekeeper::gatekeeper_error_t::ERROR_NONE, response.error); in TEST()
164 ASSERT_EQ(::gatekeeper::gatekeeper_error_t::ERROR_NONE, response.error); in TEST()
[all …]
/aosp12/system/gatekeeper/
H A 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()
H A Dgatekeeper.cpp240 gatekeeper_error_t GateKeeper::MintAuthToken(SizedBuffer *auth_token, in MintAuthToken()
/aosp12/system/core/trusty/gatekeeper/
H A 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()
H A Dtrusty_gatekeeper.cpp181 gatekeeper_error_t TrustyGateKeeperDevice::Send(uint32_t command, const GateKeeperMessage& request, in Send()