Home
last modified time | relevance | path

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

/system/update_engine/cros/
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()
382 return (url_index_ != 0 && payload_index_ < candidate_urls_.size()) in GetUrlIndex()
383 ? std::min(candidate_urls_[payload_index_].size() - 1, in GetUrlIndex()
483 size_t payload_index_ = 0; variable
Dpayload_state.cc137 payload_index_ = 0; in SetResponse()
143 if (payload_index_ >= candidate_urls_.size() || in SetResponse()
144 url_index_ >= candidate_urls_[payload_index_].size()) { in SetResponse()
466 DCHECK(payload_index_ < response_.packages.size()); in IncrementFullPayloadAttemptNumber()
468 if (response_.packages[payload_index_].is_delta) { in IncrementFullPayloadAttemptNumber()
479 DCHECK(payload_index_ < candidate_urls_.size()); in IncrementUrlIndex()
481 size_t max_url_size = candidate_urls_[payload_index_].size(); in IncrementUrlIndex()
516 if (payload_index_ >= response_.packages.size()) { in ExcludeCurrentPayload()
520 const auto& package = response_.packages[payload_index_]; in ExcludeCurrentPayload()
578 } else if (payload_index_ < candidate_urls_.size() && in UpdateCurrentDownloadSource()
[all …]
Dpayload_state_unittest.cc1752 int payload_index = payload_state.payload_index_; in TEST_F()
1755 EXPECT_EQ(payload_index, payload_state.payload_index_); in TEST_F()