Home
last modified time | relevance | path

Searched refs:request_data (Results 1 – 9 of 9) sorted by relevance

/external/autotest/client/common_lib/cros/tendo/
Dprivet_helper.py66 def _http_request(self, url, request_data=None, retry_count=0, argument
91 if request_data is not None:
94 args.append(request_data)
129 def send_privet_request(self, path_fragment, request_data=None, argument
142 if isinstance(request_data, dict):
143 request_data = json.dumps(request_data)
146 data = self._http_request(url, request_data=request_data,
183 pairing = self.send_privet_request(URL_PAIRING_START, request_data=data)
188 self.send_privet_request(URL_PAIRING_CONFIRM, request_data=data)
194 auth = self.send_privet_request(URL_AUTH, request_data=data)
[all …]
/external/libbrillo/brillo/http/
Dhttp_transport_curl.cc222 std::unique_ptr<AsyncRequestData> request_data{new AsyncRequestData}; in StartAsyncTransfer() local
226 request_data->success_callback = success_callback; in StartAsyncTransfer()
227 request_data->error_callback = error_callback; in StartAsyncTransfer()
228 request_data->connection = in StartAsyncTransfer()
230 request_data->request_id = request_id; in StartAsyncTransfer()
231 async_requests_.emplace(curl_connection, std::move(request_data)); in StartAsyncTransfer()
438 AsyncRequestData* request_data = p->second.get(); in OnTransferComplete() local
439 LOG(INFO) << "HTTP request # " << request_data->request_id in OnTransferComplete()
446 base::Bind(request_data->error_callback, in OnTransferComplete()
455 const auto& stream = request_data->connection->response_data_stream_; in OnTransferComplete()
[all …]
Dhttp_connection_curl_unittest.cc178 std::string request_data{"Foo Bar Baz"}; in TEST_F() local
179 StreamPtr stream = MemoryStream::OpenRef(request_data, nullptr); in TEST_F()
193 EasySetOptOffT(handle_, CURLOPT_POSTFIELDSIZE_LARGE, request_data.size())) in TEST_F()
225 std::string request_data{"Foo Bar Baz"}; in TEST_F() local
227 StreamPtr stream = MemoryStream::OpenRef(request_data, nullptr); in TEST_F()
231 {request_header::kContentLength, std::to_string(request_data.size())}, in TEST_F()
256 EasySetOptOffT(handle_, CURLOPT_POSTFIELDSIZE_LARGE, request_data.size())) in TEST_F()
305 EXPECT_EQ(request_data, performer_.request_body); in TEST_F()
/external/autotest/frontend/tko/
Dviews.py18 request_data = rpc_handler_obj.raw_request_data(request)
19 decoded_request = rpc_handler_obj.decode_request(request_data)
/external/autotest/client/site_tests/buffet_BasicDBusAPI/
Dbuffet_BasicDBusAPI.py104 request_data=data)
115 request_data=data)
/external/autotest/tko/
Dretrieve_logs.cgi48 request_data = form['request'].value
49 request = serviceHandler.ServiceHandler.translateRequest(request_data)
/external/autotest/frontend/afe/
Drpc_handler.py102 request_data = request.GET['request']
107 result = self.execute_request(request_data)
/external/freetype/src/cache/
Dftcmanag.h107 FT_Pointer request_data; member
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
Dtrafficshaper_test.py163 request_data = '\x00' * num_bytes
165 s.sendall(request_data)