OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HttpFetcher
(Results
1 - 18
of
18
) sorted by null
/system/update_engine/common/
http_fetcher.cc
28
HttpFetcher
::~
HttpFetcher
() {
32
void
HttpFetcher
::SetPostData(const void* data, size_t size,
41
void
HttpFetcher
::SetPostData(const void* data, size_t size) {
46
void
HttpFetcher
::ResolveProxiesForUrl(const string& url,
55
base::Bind(&
HttpFetcher
::NoProxyResolverCallback,
60
url, base::Bind(&
HttpFetcher
::ProxiesResolved, base::Unretained(this)));
63
void
HttpFetcher
::NoProxyResolverCallback() {
68
void
HttpFetcher
::ProxiesResolved(const deque<string>& proxies) {
79
bool
HttpFetcher
::CancelProxyResolution()
[
all
...]
multi_range_http_fetcher.h
28
// This class is a simple wrapper around an
HttpFetcher
. The client
45
class MultiRangeHttpFetcher : public
HttpFetcher
, public HttpFetcherDelegate {
48
explicit MultiRangeHttpFetcher(
HttpFetcher
* base_fetcher)
49
:
HttpFetcher
(base_fetcher->proxy_resolver()),
69
//
HttpFetcher
overrides.
99
// TODO(deymo): Determine if this method should be virtual in
HttpFetcher
so
149
void ReceivedBytes(
HttpFetcher
* fetcher,
154
void TransferEnded(
HttpFetcher
* fetcher, bool successful);
156
void TransferComplete(
HttpFetcher
* fetcher, bool successful) override;
157
void TransferTerminated(
HttpFetcher
* fetcher) override
[
all
...]
http_fetcher.h
42
class
HttpFetcher
{
47
explicit
HttpFetcher
(ProxyResolver* proxy_resolver)
54
virtual ~
HttpFetcher
();
60
// Optional: Post data to the server. The
HttpFetcher
should make a copy
105
// an
HttpFetcher
is paused.
108
// Used to unpause an
HttpFetcher
and let the bytes stream in again.
181
DISALLOW_COPY_AND_ASSIGN(
HttpFetcher
);
190
virtual void ReceivedBytes(
HttpFetcher
* fetcher,
201
virtual void TransferComplete(
HttpFetcher
* fetcher, bool successful) = 0;
202
virtual void TransferTerminated(
HttpFetcher
* fetcher) {
[
all
...]
http_fetcher_unittest.cc
199
virtual
HttpFetcher
* NewLargeFetcher(ProxyResolver* proxy_resolver) = 0;
200
HttpFetcher
* NewLargeFetcher(size_t num_proxies) {
204
HttpFetcher
* NewLargeFetcher() {
208
virtual
HttpFetcher
* NewSmallFetcher(ProxyResolver* proxy_resolver) = 0;
209
HttpFetcher
* NewSmallFetcher() {
239
HttpFetcher
* NewLargeFetcher(ProxyResolver* proxy_resolver) override {
247
HttpFetcher
* NewSmallFetcher(ProxyResolver* proxy_resolver) override {
264
HttpFetcher
* NewLargeFetcher(ProxyResolver* proxy_resolver) override {
276
HttpFetcher
* NewSmallFetcher(ProxyResolver* proxy_resolver) override {
309
HttpFetcher
* NewLargeFetcher(ProxyResolver* proxy_resolver) override
[
all
...]
file_fetcher.h
31
// This is a concrete implementation of
HttpFetcher
that reads files
36
class FileFetcher : public
HttpFetcher
{
41
FileFetcher() :
HttpFetcher
(nullptr) {}
46
//
HttpFetcher
overrides.
multi_range_http_fetcher.cc
89
void MultiRangeHttpFetcher::ReceivedBytes(
HttpFetcher
* fetcher,
118
void MultiRangeHttpFetcher::TransferEnded(
HttpFetcher
* fetcher,
165
void MultiRangeHttpFetcher::TransferComplete(
HttpFetcher
* fetcher,
171
void MultiRangeHttpFetcher::TransferTerminated(
HttpFetcher
* fetcher) {
mock_http_fetcher.h
29
// This is a mock implementation of
HttpFetcher
which is useful for testing.
41
class MockHttpFetcher : public
HttpFetcher
{
48
:
HttpFetcher
(proxy_resolver),
/system/update_engine/payload_consumer/
download_action.h
73
// Takes ownership of the passed in
HttpFetcher
. Useful for testing.
81
HttpFetcher
* http_fetcher,
100
void ReceivedBytes(
HttpFetcher
* fetcher,
103
void TransferComplete(
HttpFetcher
* fetcher, bool successful) override;
104
void TransferTerminated(
HttpFetcher
* fetcher) override;
113
HttpFetcher
* http_fetcher() { return http_fetcher_.get(); }
download_action.cc
46
HttpFetcher
* http_fetcher,
321
void DownloadAction::ReceivedBytes(
HttpFetcher
* fetcher,
361
void DownloadAction::TransferComplete(
HttpFetcher
* fetcher, bool successful) {
411
void DownloadAction::TransferTerminated(
HttpFetcher
* fetcher) {
/system/update_engine/
omaha_request_action.h
138
// Takes ownership of the passed in
HttpFetcher
. Useful for testing.
150
std::unique_ptr<
HttpFetcher
> http_fetcher,
166
void ReceivedBytes(
HttpFetcher
*fetcher,
169
void TransferComplete(
HttpFetcher
*fetcher, bool successful) override;
310
// pointer to the
HttpFetcher
that does the http work
311
std::unique_ptr<
HttpFetcher
> http_fetcher_;
libcurl_http_fetcher.h
35
// This is a concrete implementation of
HttpFetcher
that uses libcurl to do the
40
class LibcurlHttpFetcher : public
HttpFetcher
{
update_attempter_android.cc
251
HttpFetcher
* fetcher = download_action_->http_fetcher();
620
HttpFetcher
* download_fetcher = nullptr;
libcurl_http_fetcher.cc
46
// This is a concrete implementation of
HttpFetcher
that uses libcurl to do the
100
:
HttpFetcher
(proxy_resolver), hardware_(hardware) {
omaha_request_action.cc
619
std::unique_ptr<
HttpFetcher
> http_fetcher,
787
void OmahaRequestAction::ReceivedBytes(
HttpFetcher
*fetcher,
[
all
...]
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
HttpFetcher.java
41
public class
HttpFetcher
{
47
private static final String TAG =
HttpFetcher
.class.getSimpleName();
74
LogUtil.i("
HttpFetcher
.sendRequestAsByteArray", "response code: " + responseCode);
100
LogUtil.i("
HttpFetcher
.sendRequestAsByteArray", "received " + response.length + " bytes");
102
LogUtil.i("
HttpFetcher
.sendRequestAsByteArray", "fetch took " + (end - start) + " ms");
134
LogUtil.i("
HttpFetcher
.sendRequestAsInputStream", "response code: " + responseCode);
218
LogUtil.i("
HttpFetcher
.getRequestAsString", "response body: " + response);
236
"
HttpFetcher
.reWriteUrl",
243
LogUtil.i("
HttpFetcher
.reWriteUrl", "fetching " + obfuscateUrl(newUrl));
246
"
HttpFetcher
.reWriteUrl"
[
all
...]
ReverseGeocodeTask.java
64
String jsonResponse =
HttpFetcher
.getRequestAsString(ui.getContext(), url);
/external/autotest/client/common_lib/
packages.py
137
class
HttpFetcher
(RepositoryFetcher):
332
return
HttpFetcher
(self, url)
[
all
...]
/packages/apps/Dialer/
Android.mk
25
$(BASE_DIR)/incallui/calllocation/impl/
HttpFetcher
.java \
Completed in 193 milliseconds