Home
last modified time | relevance | path

Searched refs:candidate_urls_ (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()
561 std::vector<std::vector<std::string>> candidate_urls_; variable
Dpayload_state.cc144 if (payload_index_ >= candidate_urls_.size() || in SetResponse()
145 url_index_ >= candidate_urls_[payload_index_].size()) { in SetResponse()
267 if (candidate_urls_.size() == 0) { in UpdateFailed()
479 size_t max_url_size = candidate_urls_[payload_index_].size(); in IncrementUrlIndex()
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()
864 candidate_urls_[i].size()); in CalculateResponseSignature()
866 for (size_t j = 0; j < candidate_urls_[i].size(); j++) in CalculateResponseSignature()
868 " Candidate Url%zu = %s\n", j, candidate_urls_[i][j].c_str()); in CalculateResponseSignature()
[all …]