Home
last modified time | relevance | path

Searched refs:request_data (Results 1 – 10 of 10) 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/autotest/server/cros/cfm/utils/
Dbond_http_api.py51 request_data = {
65 data=json.dumps(request_data))
82 request_data = {
95 data=json.dumps(request_data))
116 request_data = {
143 data=json.dumps(request_data))
/external/libbrillo/brillo/http/
Dhttp_transport_curl.cc228 std::unique_ptr<AsyncRequestData> request_data{new AsyncRequestData}; in StartAsyncTransfer() local
232 request_data->success_callback = success_callback; in StartAsyncTransfer()
233 request_data->error_callback = error_callback; in StartAsyncTransfer()
234 request_data->connection = in StartAsyncTransfer()
236 request_data->request_id = request_id; in StartAsyncTransfer()
237 async_requests_.emplace(curl_connection, std::move(request_data)); in StartAsyncTransfer()
449 AsyncRequestData* request_data = p->second.get(); in OnTransferComplete() local
450 VLOG(1) << "HTTP request # " << request_data->request_id in OnTransferComplete()
457 base::Bind(request_data->error_callback, in OnTransferComplete()
468 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.py17 request_data = rpc_handler_obj.raw_request_data(request)
18 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.py246 request_data = request.GET['request']
251 result = self.execute_request(request_data)
/external/freetype/src/cache/
Dftcmanag.h107 FT_Pointer request_data; member
Dftcmanag.c245 manager->request_data, in ftc_face_node_init()
389 manager->request_data = req_data; in FTC_Manager_New()