OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MockHttpFetcher
(Results
1 - 6
of
6
) sorted by null
/system/update_engine/common/
mock_http_fetcher.cc
34
MockHttpFetcher
::~
MockHttpFetcher
() {
39
void
MockHttpFetcher
::BeginTransfer(const std::string& url) {
53
bool
MockHttpFetcher
::SendData(bool skip_delivery) {
91
base::Bind(&
MockHttpFetcher
::TimeoutCallback, base::Unretained(this)),
97
void
MockHttpFetcher
::TimeoutCallback() {
103
base::Bind(&
MockHttpFetcher
::TimeoutCallback, base::Unretained(this)),
112
void
MockHttpFetcher
::TerminateTransfer() {
121
void
MockHttpFetcher
::SetHeader(const std::string& header_name,
126
std::string
MockHttpFetcher
::GetHeader(const std::string& header_name) const
[
all
...]
mock_http_fetcher.h
30
// All data must be passed into the ctor. When started,
MockHttpFetcher
will
36
//
MockHttpFetcher
will send a chunk of data down in each call to BeginTransfer
41
class
MockHttpFetcher
: public HttpFetcher {
45
MockHttpFetcher
(const uint8_t* data,
58
MockHttpFetcher
(const char* data, size_t size, ProxyResolver* proxy_resolver)
59
:
MockHttpFetcher
(reinterpret_cast<const uint8_t*>(data), size,
63
~
MockHttpFetcher
() override;
152
DISALLOW_COPY_AND_ASSIGN(
MockHttpFetcher
);
http_fetcher_unittest.cc
241
return new
MockHttpFetcher
(
248
return new
MockHttpFetcher
("x", 1, proxy_resolver);
[
all
...]
/system/update_engine/payload_consumer/
download_action_unittest.cc
123
MockHttpFetcher
* http_fetcher) {
160
MockHttpFetcher
* http_fetcher = new
MockHttpFetcher
(data.data(),
249
// the
MockHttpFetcher
for all downloaded data.
275
MockHttpFetcher
* http_fetcher = new
MockHttpFetcher
(
372
new
MockHttpFetcher
(data.data(), data.size(), nullptr),
474
new
MockHttpFetcher
("x", 1, nullptr),
556
http_fetcher_ = new
MockHttpFetcher
(data_.c_str(),
589
MockHttpFetcher
* http_fetcher_
[
all
...]
/system/update_engine/
omaha_request_action_unittest.cc
372
MockHttpFetcher
* fetcher = new
MockHttpFetcher
(http_response.data(),
427
MockHttpFetcher
* fetcher = new
MockHttpFetcher
(http_response.data(),
736
MockHttpFetcher
* fetcher =
737
new
MockHttpFetcher
(http_response.data(), http_response.size(), nullptr);
[
all
...]
update_attempter_unittest.cc
200
unique_ptr<
MockHttpFetcher
> fetcher(new
MockHttpFetcher
("", 0, nullptr));
306
unique_ptr<
MockHttpFetcher
> fetcher(new
MockHttpFetcher
("", 0, nullptr));
[
all
...]
Completed in 82 milliseconds