/external/libbrillo/brillo/http/ |
D | http_request_unittest.cc | 69 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F() 75 EXPECT_EQ(request_type::kPost, request.GetRequestMethod()); in TEST_F() 83 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F() 89 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F() 95 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F() 101 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F() 107 Request request{"http://www.foo.bar", request_type::kPost, transport_}; in TEST_F() 124 request_type::kPost, in TEST_F()
|
D | http_utils_unittest.cc | 45 kEchoUrl, request_type::kPost, base::Bind(EchoDataHandler)); in TEST() 50 http::SendRequestAndBlock(request_type::kPost, in TEST() 67 kEchoUrl, request_type::kPost, base::Bind(EchoDataHandler)); in TEST() 82 http::SendRequest(request_type::kPost, in TEST() 102 http::SendRequestAndBlock(request_type::kPost, in TEST() 112 EXPECT_EQ(request_type::kPost, response->ExtractDataAsString()); in TEST() 194 request_type::kPost, json_echo_url, "abcd", 4, in TEST() 205 EXPECT_EQ(request_type::kPost, value); in TEST() 271 EXPECT_EQ(request_type::kPost, request.GetMethod()); in TEST() 285 transport->AddHandler(kFakeUrl, request_type::kPost, base::Bind(Handler)); in TEST() [all …]
|
D | http_utils.cc | 190 return SendRequestAndBlock(request_type::kPost, in PostBinaryAndBlock() 207 return SendRequest(request_type::kPost, in PostBinary() 225 return SendRequest(request_type::kPost, in PostBinary() 258 Request request(url, request_type::kPost, transport); in PostFormDataAndBlock() 288 Request request(url, request_type::kPost, transport); in PostFormData()
|
D | http_request.h | 29 BRILLO_EXPORT extern const char kPost[];
|
D | http_request.cc | 23 const char request_type::kPost[] = "POST"; member in brillo::http::request_type
|
D | http_connection_curl_unittest.cc | 158 handle_, request_type::kPost, curl_api_, transport_); in SetUp()
|
D | http_transport_curl_unittest.cc | 118 "http://www.foo.bar/post", request_type::kPost, {}, "", "", nullptr); in TEST_F()
|
D | http_transport_curl.cc | 183 if (code == CURLE_OK && method != request_type::kPost) { in CreateConnection()
|
/external/libweave/src/ |
D | device_registration_info_unittest.cc | 252 SendRequest(HttpClient::Method::kPost, dev_reg_->GetOAuthURL("token"), in TEST_F() 273 SendRequest(HttpClient::Method::kPost, HasSubstr("upsertLocalAuthInfo"), in TEST_F() 295 SendRequest(HttpClient::Method::kPost, dev_reg_->GetOAuthURL("token"), in TEST_F() 324 SendRequest(HttpClient::Method::kPost, dev_reg_->GetOAuthURL("token"), in TEST_F() 491 SendRequest(HttpClient::Method::kPost, in TEST_F() 512 SendRequest(HttpClient::Method::kPost, dev_reg_->GetOAuthURL("token"), in TEST_F() 535 SendRequest(HttpClient::Method::kPost, HasSubstr("upsertLocalAuthInfo"), in TEST_F()
|
D | http_constants.cc | 29 {HttpClient::Method::kPost, "POST"},
|
D | weave_unittest.cc | 409 ExpectRequest(HttpClient::Method::kPost, in TEST_F() 414 ExpectRequest(HttpClient::Method::kPost, in TEST_F() 418 ExpectRequest(HttpClient::Method::kPost, HasSubstr("upsertLocalAuthInfo"), in TEST_F()
|
D | device_registration_info.cc | 378 RequestSender sender{HttpClient::Method::kPost, GetOAuthURL("token"), in RefreshAccessToken() 563 RequestSender{HttpClient::Method::kPost, url, http_client_}.Send( in RegisterDeviceOnTicketSent() 598 RequestSender sender2{HttpClient::Method::kPost, GetOAuthURL("token"), in RegisterDeviceOnTicketFinalized() 955 DoCloudRequest(HttpClient::Method::kPost, url, root.get(), in SendAuthInfo() 1187 DoCloudRequest(HttpClient::Method::kPost, GetDeviceURL("patchState"), &body, in PublishStateUpdates()
|
/external/libweave/include/weave/provider/ |
D | http_client.h | 71 kPost, enumerator
|
/external/libweave/examples/provider/ |
D | curl_http_client.cc | 72 case CurlHttpClient::Method::kPost: in SendRequestBlocking() 90 if (!data.empty() || method == CurlHttpClient::Method::kPost) { in SendRequestBlocking()
|