Home
last modified time | relevance | path

Searched refs:sent_size_ (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/common/
Dmock_http_fetcher.cc46 if (sent_size_ < data_.size()) in BeginTransfer()
51 if (fail_transfer_ || sent_size_ == data_.size()) { in SendData()
72 min(kMockHttpFetcherChunkSize, data_.size() - sent_size_); in SendData()
73 sent_size_ += chunk_size; in SendData()
75 delegate_->ReceivedBytes(this, &data_[sent_size_ - chunk_size], chunk_size); in SendData()
84 CHECK_LE(sent_size_, data_.size()); in TimeoutCallback()
Dmock_http_fetcher.h49 sent_size_(0), in MockHttpFetcher()
67 sent_size_ = offset; in SetOffset()
80 size_t GetBytesDownloaded() override { return sent_size_; } in GetBytesDownloaded()
133 size_t sent_size_; variable