Searched refs:update_state (Results 1 – 12 of 12) sorted by relevance
/system/update_engine/update_manager/ |
D | policy_test_utils.cc | 83 UpdateState update_state = UpdateState(); in GetDefaultUpdateState() local 88 update_state.interactive = false; in GetDefaultUpdateState() 89 update_state.is_delta_payload = false; in GetDefaultUpdateState() 90 update_state.first_seen = first_seen_time; in GetDefaultUpdateState() 91 update_state.num_checks = 1; in GetDefaultUpdateState() 92 update_state.num_failures = 0; in GetDefaultUpdateState() 93 update_state.failures_last_updated = Time(); // Needs to be zero. in GetDefaultUpdateState() 95 update_state.download_urls = vector<string>{"http://fake/url/"}; in GetDefaultUpdateState() 96 update_state.download_errors_max = 10; in GetDefaultUpdateState() 98 update_state.last_download_url_idx = -1; in GetDefaultUpdateState() [all …]
|
D | chromeos_policy_unittest.cc | 478 UpdateState update_state = GetDefaultUpdateState(TimeDelta::FromMinutes(10)); in TEST_F() local 481 EvalStatus::kFailed, &Policy::UpdateCanStart, &result, update_state); in TEST_F() 491 UpdateState update_state = GetDefaultUpdateState(TimeDelta::FromMinutes(10)); in TEST_F() local 494 EvalStatus::kSucceeded, &Policy::UpdateCanStart, &result, update_state); in TEST_F() 509 UpdateState update_state = GetDefaultUpdateState(TimeDelta::FromMinutes(10)); in TEST_F() local 512 EvalStatus::kSucceeded, &Policy::UpdateCanStart, &result, update_state); in TEST_F() 529 UpdateState update_state = GetDefaultUpdateState(TimeDelta::FromMinutes(10)); in TEST_F() local 532 EvalStatus::kSucceeded, &Policy::UpdateCanStart, &result, update_state); in TEST_F() 550 UpdateState update_state = GetDefaultUpdateState(TimeDelta::FromSeconds(10)); in TEST_F() local 551 update_state.download_errors_max = 1; in TEST_F() [all …]
|
D | update_manager_unittest.cc | 196 UpdateState update_state = UpdateState(); in TEST_F() local 197 update_state.interactive = true; in TEST_F() 198 update_state.is_delta_payload = false; in TEST_F() 199 update_state.first_seen = FixedTime(); in TEST_F() 200 update_state.num_checks = 1; in TEST_F() 201 update_state.num_failures = 0; in TEST_F() 202 update_state.failures_last_updated = Time(); in TEST_F() 203 update_state.download_urls = vector<string>{"http://fake/url/"}; in TEST_F() 204 update_state.download_errors_max = 10; in TEST_F() 205 update_state.p2p_downloading_disabled = false; in TEST_F() [all …]
|
D | chromeos_policy.cc | 312 const UpdateState update_state) const { in UpdateCanStart() 326 result->backoff_expiry = update_state.backoff_expiry; in UpdateCanStart() 327 result->scatter_wait_period = update_state.scatter_wait_period; in UpdateCanStart() 328 result->scatter_check_threshold = update_state.scatter_check_threshold; in UpdateCanStart() 343 ec, state, error, &backoff_url_result, update_state); in UpdateCanStart() 372 if (!update_state.interactive) { in UpdateCanStart() 388 UpdateScattering(ec, state, error, &scatter_result, update_state); in UpdateCanStart() 410 if (update_state.p2p_sharing_disabled) { in UpdateCanStart() 418 if (update_state.p2p_downloading_disabled) { in UpdateCanStart() 420 } else if (update_state.interactive) { in UpdateCanStart() [all …]
|
D | chromeos_policy.h | 73 UpdateState update_state) const override; 155 const UpdateState& update_state) const; 173 const UpdateState& update_state) const;
|
D | android_things_policy.h | 54 UpdateState update_state) const override;
|
D | default_policy.h | 84 UpdateState update_state) const override;
|
D | default_policy.cc | 75 const UpdateState update_state) const { in UpdateCanStart()
|
D | policy_utils.h | 92 UpdateState update_state) const override { in UpdateCanStart() argument
|
D | android_things_policy.cc | 152 UpdateState update_state) const { in UpdateCanStart()
|
D | policy.h | 273 UpdateState update_state) const = 0;
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot.cpp | 255 auto update_state = ReadUpdateState(lock.get()); in FinishedSnapshotWrites() local 256 if (update_state == UpdateState::Unverified) { in FinishedSnapshotWrites() 261 if (update_state != UpdateState::Initiated) { in FinishedSnapshotWrites()
|