HomeSort by relevance Sort by last modified time
    Searched full:response_data (Results 1 - 25 of 29) sorted by null

1 2

  /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/
StatCommandHandlerTest.java 30 private static final String RESPONSE_DATA = "status info 123.456";
40 session.sendReply(ReplyCodes.STAT_SYSTEM_OK, formattedReplyTextFor(ReplyCodes.STAT_SYSTEM_OK, RESPONSE_DATA));
44 commandHandler.setStatus(RESPONSE_DATA);
58 session.sendReply(ReplyCodes.STAT_FILE_OK, formattedReplyTextFor(ReplyCodes.STAT_FILE_OK, RESPONSE_DATA));
63 commandHandler.setStatus(RESPONSE_DATA);
80 commandHandler.setStatus(RESPONSE_DATA);
HelpCommandHandlerTest.java 39 final String RESPONSE_DATA = "help for ABC...";
40 commandHandler.setHelpMessage(RESPONSE_DATA);
42 session.sendReply(ReplyCodes.HELP_OK, formattedReplyTextFor(ReplyCodes.HELP_OK, RESPONSE_DATA));
43 session.sendReply(ReplyCodes.HELP_OK, formattedReplyTextFor(ReplyCodes.HELP_OK, RESPONSE_DATA));
PwdCommandHandlerTest.java 39 final String RESPONSE_DATA = "current dir 1";
40 commandHandler.setDirectory(RESPONSE_DATA);
42 session.sendReply(ReplyCodes.PWD_OK, formattedReplyTextFor(ReplyCodes.PWD_OK, "\"" + RESPONSE_DATA + "\""));
  /external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/
StatCommandHandlerTest.java 32 private static final String RESPONSE_DATA = "status info 123.456";
42 session.sendReply(ReplyCodes.STAT_SYSTEM_OK, formattedReplyTextFor(ReplyCodes.STAT_SYSTEM_OK, RESPONSE_DATA));
46 commandHandler.setStatus(RESPONSE_DATA);
60 session.sendReply(ReplyCodes.STAT_FILE_OK, formattedReplyTextFor(ReplyCodes.STAT_FILE_OK, RESPONSE_DATA));
65 commandHandler.setStatus(RESPONSE_DATA);
82 commandHandler.setStatus(RESPONSE_DATA);
HelpCommandHandlerTest.java 39 final String RESPONSE_DATA = "help for ABC...";
40 commandHandler.setHelpMessage(RESPONSE_DATA);
42 session.sendReply(ReplyCodes.HELP_OK, formattedReplyTextFor(ReplyCodes.HELP_OK, RESPONSE_DATA));
43 session.sendReply(ReplyCodes.HELP_OK, formattedReplyTextFor(ReplyCodes.HELP_OK, RESPONSE_DATA));
PwdCommandHandlerTest.java 39 final String RESPONSE_DATA = "current dir 1";
40 commandHandler.setDirectory(RESPONSE_DATA);
42 session.sendReply(ReplyCodes.PWD_OK, formattedReplyTextFor(ReplyCodes.PWD_OK, "\"" + RESPONSE_DATA + "\""));
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/
layer2.py 82 response_data = self.layer1.describe_vault(name)
83 return Vault(self.layer1, response_data)
95 response_data = self.layer1.list_vaults(marker=marker, limit=1000)
96 vaults.extend([Vault(self.layer1, rd) for rd in response_data['VaultList']])
97 marker = response_data.get('Marker')
job.py 50 def __init__(self, vault, response_data=None):
52 if response_data:
54 setattr(self, attr_name, response_data[response_name])
vault.py 53 def __init__(self, layer1, response_data=None):
55 if response_data:
57 value = response_data[response_name]
406 response_data = self.layer1.describe_job(self.name, job_id)
407 return Job(self, response_data)
428 response_data = self.layer1.list_jobs(self.name, completed,
430 return [Job(self, jd) for jd in response_data['JobList']]
  /system/connectivity/shill/
connectivity_trial.cc 145 void ConnectivityTrial::RequestReadCallback(const ByteString& response_data) {
149 if (response_data.GetLength() < response_expected.length()) {
153 compare_length = response_data.GetLength();
160 string(reinterpret_cast<const char*>(response_data.GetConstData()),
173 HTTPRequest::Result result, const ByteString& /*response_data*/) {
202 if (request_->response_data().GetLength()) {
mock_http_request.h 38 MOCK_CONST_METHOD0(response_data, const ByteString& ());
http_request_unittest.cc 109 MOCK_METHOD1(ReadEventCallTarget, void(const ByteString& response_data));
111 const ByteString& response_data));
264 const ByteString& response_data) {
266 EXPECT_TRUE(expected_response_.Equals(response_data));
274 ByteString response_data(response, false);
275 EXPECT_CALL(target_, ReadEventCallTarget(ByteStringMatches(response_data)));
connectivity_trial_unittest.cc 164 ByteString& response_data() { return response_data_; } function in class:shill::ConnectivityTrialTest
354 ByteString response_data("X", 1);
361 connectivity_trial()->RequestReadCallback(response_data);
389 EXPECT_CALL(*http_request(), response_data())
390 .WillOnce(ReturnRef(response_data()));
410 EXPECT_CALL(*http_request(), response_data())
411 .WillOnce(ReturnRef(response_data()));
connectivity_trial.h 155 void RequestReadCallback(const ByteString& response_data);
159 const ByteString& response_data);
http_request.h 96 virtual const ByteString& response_data() const { return response_data_; } function in class:shill::HTTPRequest
http_request.cc 246 const ByteString response_data(response_data_);
252 result_callback.Run(result, response_data);
http_proxy_unittest.cc 279 void ExpectInClientResponse(const string& response_data) {
282 EXPECT_NE(string::npos, server_data.find(response_data));
  /external/libbrillo/brillo/http/
http_connection_curl_unittest.cc 226 std::string response_data{"<html><body>OK</body></html>"};
236 WriteAllBlocking(MatchStringBuffer(response_data),
237 response_data.size(), _))
293 {response_header::kContentLength, std::to_string(response_data.size())},
298 performer_.response_body = response_data;
313 EXPECT_EQ(std::to_string(response_data.size()),
  /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
httpproxy_test.py 98 headers=[], response_data=["bat1"])
125 headers=[("Connection", "keep-alive")], response_data=["bat1"])
166 headers=[("Connection", "keep-alive")], response_data=["bat1"])
trafficshaper_test.py 181 response_data = s.recv(4096)
182 num_remaining_bytes -= len(response_data)
184 read_time, padding = response_data.split('\n')
httparchive.py 245 chunk_lengths = [len(x) for x in response.response_data]
436 return self[request].response_data[0]
442 return self[request].response_data[0]
726 def __init__(self, version, status, reason, headers, response_data,
736 response_data: list of content chunks.
753 self.response_data = response_data
759 expected_num_delays = len(self.response_data)
775 self.response_data))
876 self.response_data, self.is_gzip()
    [all...]
httpproxy.py 133 content_length = sum(len(c) for c in response.response_data)
146 delays = [0] * len(response.response_data)
156 for chunk, delay in zip(response.response_data, delays):
httpclient.py 85 image_data = response.response_data[0]
  /external/autotest/client/site_tests/video_YouTubeMseEme/files/
video_YouTubeMseEme.js 248 var response_data = xhr.getResponseData();
253 sb.append(response_data);
257 sb.append(response_data);
340 var response_data = xhr.getResponseData();
341 sb.append(response_data);
345 sb.append(response_data);
  /external/chromium-trace/catapult/perf_insights/perf_insights_build/
perf_insights_dev_server_config.py 153 response_data = response.read()
154 print response_data
155 results = json.loads(response_data)

Completed in 728 milliseconds

1 2