Home
last modified time | relevance | path

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

/system/update_engine/
Dpayload_state.h84 return (payload_index_ < candidate_urls_.size() && in GetCurrentUrl()
85 url_index_ < candidate_urls_[payload_index_].size()) in GetCurrentUrl()
86 ? candidate_urls_[payload_index_][url_index_] in GetCurrentUrl()
380 return (url_index_ != 0 && payload_index_ < candidate_urls_.size()) in GetUrlIndex()
381 ? std::min(candidate_urls_[payload_index_].size() - 1, in GetUrlIndex()
484 size_t payload_index_ = 0; variable
Dpayload_state.cc138 payload_index_ = 0; in SetResponse()
144 if (payload_index_ >= candidate_urls_.size() || in SetResponse()
145 url_index_ >= candidate_urls_[payload_index_].size()) { in SetResponse()
467 if (response_.packages[payload_index_].is_delta) { in IncrementFullPayloadAttemptNumber()
479 size_t max_url_size = candidate_urls_[payload_index_].size(); in IncrementUrlIndex()
514 const auto& package = response_.packages[payload_index_]; in ExcludeCurrentPayload()
572 } else if (payload_index_ < candidate_urls_.size() && in UpdateCurrentDownloadSource()
573 candidate_urls_[payload_index_].size() != 0) { in UpdateCurrentDownloadSource()
574 const string& current_url = candidate_urls_[payload_index_][GetUrlIndex()]; in UpdateCurrentDownloadSource()
921 payload_index_ = payload_index; in SetPayloadIndex()
[all …]