Home
last modified time | relevance | path

Searched refs:response_data (Results 1 – 8 of 8) sorted by relevance

/system/connectivity/shill/
Dconnectivity_trial.cc145 void ConnectivityTrial::RequestReadCallback(const ByteString& response_data) { in RequestReadCallback() argument
149 if (response_data.GetLength() < response_expected.length()) { in RequestReadCallback()
153 compare_length = response_data.GetLength(); in RequestReadCallback()
160 string(reinterpret_cast<const char*>(response_data.GetConstData()), in RequestReadCallback()
202 if (request_->response_data().GetLength()) { in TimeoutTrialTask()
Dconnectivity_trial_unittest.cc164 ByteString& response_data() { return response_data_; } in response_data() function in shill::ConnectivityTrialTest
354 ByteString response_data("X", 1); in TEST_F() local
361 connectivity_trial()->RequestReadCallback(response_data); in TEST_F()
389 EXPECT_CALL(*http_request(), response_data()) in TEST_F()
390 .WillOnce(ReturnRef(response_data())); in TEST_F()
410 EXPECT_CALL(*http_request(), response_data()) in TEST_F()
411 .WillOnce(ReturnRef(response_data())); in TEST_F()
Dconnectivity_trial.h155 void RequestReadCallback(const ByteString& response_data);
159 const ByteString& response_data);
Dhttp_request_unittest.cc109 MOCK_METHOD1(ReadEventCallTarget, void(const ByteString& response_data));
111 const ByteString& response_data));
264 const ByteString& response_data) { in InvokeResultVerify() argument
266 EXPECT_TRUE(expected_response_.Equals(response_data)); in InvokeResultVerify()
274 ByteString response_data(response, false); in ExpectReadEventCallback() local
275 EXPECT_CALL(target_, ReadEventCallTarget(ByteStringMatches(response_data))); in ExpectReadEventCallback()
Dmock_http_request.h38 MOCK_CONST_METHOD0(response_data, const ByteString& ());
Dhttp_request.cc246 const ByteString response_data(response_data_); in SendStatus() local
252 result_callback.Run(result, response_data); in SendStatus()
Dhttp_request.h96 virtual const ByteString& response_data() const { return response_data_; } in response_data() function
Dhttp_proxy_unittest.cc279 void ExpectInClientResponse(const string& response_data) { in ExpectInClientResponse() argument
282 EXPECT_NE(string::npos, server_data.find(response_data)); in ExpectInClientResponse()