Home
last modified time | relevance | path

Searched refs:ERROR_INVALID (Results 1 – 5 of 5) sorted by relevance

/system/gatekeeper/
Dgatekeeper_messages.cpp57 case ERROR_INVALID: in readError()
58 return ERROR_INVALID; in readError()
71 if (target == nullptr) return ERROR_INVALID; in read_from_buffer()
72 if (!fitsBuffer(*buffer, end, sizeof(uint32_t))) return ERROR_INVALID; in read_from_buffer()
84 if (!fitsBuffer(*buffer, end, length)) return ERROR_INVALID; in read_from_buffer()
136 if (!fitsBuffer(payload, end, sizeof(serial_header_t))) return ERROR_INVALID; in Deserialize()
147 return ERROR_INVALID; in Deserialize()
187 if (!fitsBuffer(payload, end, sizeof(challenge))) return ERROR_INVALID; in nonErrorDeserialize()
231 if (!fitsBuffer(payload, end, sizeof(request_reenroll))) return ERROR_INVALID; in nonErrorDeserialize()
Dgatekeeper.cpp30 response->error = ERROR_INVALID; in Enroll()
44 response->error = ERROR_INVALID; in Enroll()
77 response->error = ERROR_INVALID; in Enroll()
96 response->error = ERROR_INVALID; in Enroll()
107 response->error = ERROR_INVALID; in Verify()
114 response->error = ERROR_INVALID; in Verify()
161 response->error = ERROR_INVALID; in Verify()
243 if (auth_token == nullptr) return ERROR_INVALID; in MintAuthToken()
/system/gatekeeper/tests/
Dgatekeeper_messages_test.cpp202 msg.error = gatekeeper::gatekeeper_error_t::ERROR_INVALID; in TEST()
208 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_INVALID, in TEST()
214 msg.error = gatekeeper::gatekeeper_error_t::ERROR_INVALID; in TEST()
220 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_INVALID, in TEST()
226 msg.error = gatekeeper::gatekeeper_error_t::ERROR_INVALID; in TEST()
232 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_INVALID, in TEST()
238 msg.error = gatekeeper::gatekeeper_error_t::ERROR_INVALID; in TEST()
244 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_INVALID, in TEST()
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper.cpp31 using ::gatekeeper::ERROR_INVALID;
185 return ERROR_INVALID; in Send()
195 return ERROR_INVALID; in Send()
/system/gatekeeper/include/gatekeeper/
Dgatekeeper_messages.h35 ERROR_INVALID = 1, enumerator