Home
last modified time | relevance | path

Searched refs:HttpResponseCode (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/common/
Dhttp_common.cc27 const char* GetHttpResponseDescription(HttpResponseCode code) { in GetHttpResponseDescription()
29 HttpResponseCode code; in GetHttpResponseDescription()
66 HttpResponseCode StringToHttpResponseCode(const char* s) { in StringToHttpResponseCode()
67 return static_cast<HttpResponseCode>(strtoul(s, nullptr, 10)); in StringToHttpResponseCode()
Dhttp_common.h26 enum HttpResponseCode { enum
55 const char* GetHttpResponseDescription(HttpResponseCode code);
58 HttpResponseCode StringToHttpResponseCode(const char* s);
Dhttp_fetcher_unittest.cc989 const HttpResponseCode kRedirectCodes[] = {kHttpResponseMovedPermanently,
1128 HttpResponseCode expected_response_code) { in MultiTest()
/system/update_engine/
Dtest_http_server.cc78 HttpResponseCode return_code{kHttpResponseOk};
186 HttpResponseCode return_code) { in WriteHeaders()
396 HttpResponseCode code = StringToHttpResponseCode(url.c_str()); in HandleRedirect()