Home
last modified time | relevance | path

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

/external/libbrillo/brillo/http/
Dhttp_transport_curl_test.cc41 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_SSL_VERIFYPEER, 1)) in SetUp()
43 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_SSL_VERIFYHOST, 2)) in SetUp()
70 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_HTTPGET, 1)) in TEST_F()
97 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_HTTPGET, 1)) in TEST_F()
118 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_NOBODY, 1)) in TEST_F()
132 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_UPLOAD, 1)) in TEST_F()
146 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_POST, 1)) in TEST_F()
162 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_POST, 1)) in TEST_F()
182 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_HTTPGET, 1)) in TEST_F()
207 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_SSL_VERIFYPEER, 1)) in SetUp()
[all …]
Dhttp_transport_curl.cc152 curl_interface_->EasySetOptInt(curl_handle, CURLOPT_SSL_VERIFYPEER, 1); in CreateConnection()
156 curl_interface_->EasySetOptInt(curl_handle, CURLOPT_SSL_VERIFYHOST, 2); in CreateConnection()
173 code = curl_interface_->EasySetOptInt( in CreateConnection()
190 code = curl_interface_->EasySetOptInt(curl_handle, CURLOPT_HTTPGET, 1); in CreateConnection()
192 code = curl_interface_->EasySetOptInt(curl_handle, CURLOPT_NOBODY, 1); in CreateConnection()
194 code = curl_interface_->EasySetOptInt(curl_handle, CURLOPT_UPLOAD, 1); in CreateConnection()
197 code = curl_interface_->EasySetOptInt(curl_handle, CURLOPT_POST, 1); in CreateConnection()
Dcurl_api.h31 virtual CURLcode EasySetOptInt(CURL* curl, CURLoption option, int value) = 0;
143 CURLcode EasySetOptInt(CURL* curl, CURLoption option, int value) override;
Dmock_curl_api.h25 MOCK_METHOD(CURLcode, EasySetOptInt, (CURL*, CURLoption, int), (override));
Dhttp_connection_curl_test.cc188 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_VERBOSE, 1)) in TEST_F()
251 EXPECT_CALL(*curl_api_, EasySetOptInt(handle_, CURLOPT_VERBOSE, 1)) in TEST_F()
Dcurl_api.cc43 CURLcode CurlApi::EasySetOptInt(CURL* curl, CURLoption option, int value) { in EasySetOptInt() function in brillo::http::CurlApi
Dhttp_connection_curl.cc96 curl_interface_->EasySetOptInt(curl_handle_, CURLOPT_VERBOSE, 1); in PrepareRequest()