/system/update_engine/ |
H A D | mock_payload_state.h | 31 bool Initialize(SystemState* system_state) { argument
|
H A D | binder_service_brillo.h | 39 explicit BinderUpdateEngineBrilloService(SystemState* system_state) argument 40 : common_(new UpdateEngineService(system_state)) {}
|
H A D | mock_omaha_request_params.h | 30 explicit MockOmahaRequestParams(SystemState* system_state) argument 31 : OmahaRequestParams(system_state) {
|
H A D | omaha_response_handler_action.cc | 39 SystemState* system_state) 40 : OmahaResponseHandlerAction(system_state, 44 SystemState* system_state, const string& deadline_file) 45 : system_state_(system_state), 38 OmahaResponseHandlerAction( SystemState* system_state) argument 43 OmahaResponseHandlerAction( SystemState* system_state, const string& deadline_file) argument
|
H A D | image_properties_android.cc | 28 #include "update_engine/system_state.h" 59 ImageProperties LoadImageProperties(SystemState* system_state) { argument 77 std::to_string(system_state->boot_control()->GetCurrentSlot()); 79 if (!system_state->prefs()->Exists(current_channel_key) || 80 !system_state->prefs()->GetString(current_channel_key, ¤t_channel)) 90 MutableImageProperties LoadMutableImageProperties(SystemState* system_state) { argument 92 PrefsInterface* const prefs = system_state->prefs(); 102 bool StoreMutableImageProperties(SystemState* system_state, argument 104 PrefsInterface* const prefs = system_state->prefs();
|
H A D | metrics_utils.cc | 25 #include "update_engine/system_state.h" 262 bool WallclockDurationHelper(SystemState* system_state, argument 267 Time now = system_state->clock()->GetWallclockTime(); 269 if (system_state->prefs()->GetInt64(state_variable_key, &stored_value)) { 280 if (!system_state->prefs()->SetInt64(state_variable_key, 288 bool MonotonicDurationHelper(SystemState* system_state, argument 293 Time now = system_state->clock()->GetMonotonicTime();
|
H A D | connection_manager.cc | 30 #include "update_engine/system_state.h" 71 SystemState* system_state) 72 : shill_proxy_(shill_proxy), system_state_(system_state) {} 70 ConnectionManager(ShillProxyInterface* shill_proxy, SystemState* system_state) argument
|
H A D | image_properties_chromeos.cc | 29 #include "update_engine/system_state.h" 88 ImageProperties LoadImageProperties(SystemState* system_state) { argument 99 HardwareInterface* const hardware = system_state->hardware(); 122 MutableImageProperties LoadMutableImageProperties(SystemState* system_state) { argument 135 bool StoreMutableImageProperties(SystemState* system_state, argument
|
H A D | common_service.cc | 67 UpdateEngineService::UpdateEngineService(SystemState* system_state) argument 68 : system_state_(system_state) {
|
H A D | dbus_service.cc | 28 DBusUpdateEngineService::DBusUpdateEngineService(SystemState* system_state) argument 29 : common_(new UpdateEngineService{system_state}) { 140 UpdateEngineAdaptor::UpdateEngineAdaptor(SystemState* system_state, argument 144 dbus_service_(system_state),
|
H A D | metrics.cc | 29 #include "update_engine/system_state.h" 117 void ReportDailyMetrics(SystemState *system_state, argument 122 system_state->metrics_lib()->SendToUMA( 130 void ReportUpdateCheckMetrics(SystemState *system_state, argument 143 system_state->metrics_lib()->SendEnumToUMA(metric, value, max_value); 150 system_state->metrics_lib()->SendEnumToUMA(metric, value, max_value); 156 system_state->metrics_lib()->SendSparseToUMA(metric, value); 161 system_state, 167 system_state->metrics_lib()->SendToUMA( 177 if (metrics_utils::MonotonicDurationHelper(system_state, 192 ReportAbnormallyTerminatedUpdateAttemptMetrics( SystemState *system_state) argument 206 ReportUpdateAttemptMetrics( SystemState *system_state, int attempt_number, PayloadType payload_type, base::TimeDelta duration, base::TimeDelta duration_uptime, int64_t payload_size, int64_t payload_bytes_downloaded, int64_t payload_download_speed_bps, DownloadSource download_source, AttemptResult attempt_result, ErrorCode internal_error_code, DownloadErrorCode payload_download_error_code, ConnectionType connection_type) argument 361 ReportSuccessfulUpdateMetrics( SystemState *system_state, int attempt_count, int updates_abandoned_count, PayloadType payload_type, int64_t payload_size, int64_t num_bytes_downloaded[kNumDownloadSources], int download_overhead_percentage, base::TimeDelta total_duration, int reboot_count, int url_switch_count) argument 489 ReportRollbackMetrics(SystemState *system_state, RollbackResult result) argument 503 ReportCertificateCheckMetrics(SystemState* system_state, ServerToCheck server_to_check, CertificateCheckResult result) argument [all...] |
H A D | update_attempter_unittest.cc | 82 UpdateAttempterUnderTest(SystemState* system_state, argument 85 : UpdateAttempter(system_state, nullptr, libcros_proxy, debugd_proxy) {}
|
H A D | omaha_request_params.h | 46 explicit OmahaRequestParams(SystemState* system_state) argument 47 : system_state_(system_state), 57 OmahaRequestParams(SystemState* system_state, argument 73 : system_state_(system_state),
|
H A D | update_attempter.cc | 65 #include "update_engine/system_state.h" 125 SystemState* system_state, 130 system_state_(system_state), 124 UpdateAttempter( SystemState* system_state, CertificateChecker* cert_checker, LibCrosProxy* libcros_proxy, org::chromium::debugdProxyInterface* debugd_proxy) argument
|
H A D | omaha_request_action.cc | 208 SystemState* system_state) { 211 system_state->prefs()); 246 app_cohort_args += GetCohortArgXml(system_state->prefs(), 248 app_cohort_args += GetCohortArgXml(system_state->prefs(), 250 app_cohort_args += GetCohortArgXml(system_state->prefs(), 292 SystemState* system_state) { 296 install_date_in_days, system_state); 499 SystemState* system_state, 503 : system_state_(system_state), 509 params_ = system_state 201 GetAppXml(const OmahaEvent* event, OmahaRequestParams* params, bool ping_only, bool include_ping, int ping_active_days, int ping_roll_call_days, int install_date_in_days, SystemState* system_state) argument 285 GetRequestXml(const OmahaEvent* event, OmahaRequestParams* params, bool ping_only, bool include_ping, int ping_active_days, int ping_roll_call_days, int install_date_in_days, SystemState* system_state) argument 498 OmahaRequestAction( SystemState* system_state, OmahaEvent* event, std::unique_ptr<HttpFetcher> http_fetcher, bool ping_only) argument 561 GetInstallDate(SystemState* system_state) argument 1339 HasInstallDate(SystemState *system_state) argument 1348 PersistInstallDate( SystemState *system_state, int install_date_days, InstallDateProvisioningSource source) argument [all...] |
H A D | payload_state.cc | 37 #include "update_engine/system_state.h" 71 bool PayloadState::Initialize(SystemState* system_state) { argument 72 system_state_ = system_state;
|
/system/update_engine/update_manager/ |
H A D | state_factory.cc | 41 chromeos_update_engine::SystemState* system_state) { 42 chromeos_update_engine::ClockInterface* const clock = system_state->clock(); 44 new RealConfigProvider(system_state->hardware())); 51 new RealSystemProvider(system_state->hardware(), 52 system_state->boot_control())); 55 new RealUpdaterProvider(system_state)); 37 DefaultStateFactory( policy::PolicyProvider* policy_provider, chromeos_update_engine::ShillProxy* shill_proxy, org::chromium::SessionManagerInterfaceProxyInterface* session_manager_proxy, chromeos_update_engine::SystemState* system_state) argument
|
H A D | real_updater_provider.cc | 48 SystemState* system_state) 49 : Variable<T>(name, mode), system_state_(system_state) {} 53 inline SystemState* system_state() const { return system_state_; } function in class:chromeos_update_manager::UpdaterVariableBase 62 GetStatusHelper(SystemState* system_state, string* errmsg) { argument 63 is_success_ = system_state->update_attempter()->GetStatus( 89 LastCheckedTimeVariable(const string& name, SystemState* system_state) argument 90 : UpdaterVariableBase<Time>(name, kVariableModePoll, system_state) {} 94 GetStatusHelper raw(system_state(), errmsg); 108 ProgressVariable(const string& name, SystemState* system_state) argument 109 : UpdaterVariableBase<double>(name, kVariableModePoll, system_state) {} 47 UpdaterVariableBase(const string& name, VariableMode mode, SystemState* system_state) argument 134 StageVariable(const string& name, SystemState* system_state) argument 183 NewVersionVariable(const string& name, SystemState* system_state) argument 201 PayloadSizeVariable(const string& name, SystemState* system_state) argument 231 UpdateCompletedTimeVariable(const string& name, SystemState* system_state) argument 261 CurrChannelVariable(const string& name, SystemState* system_state) argument 282 NewChannelVariable(const string& name, SystemState* system_state) argument 348 ConsecutiveFailedUpdateChecksVariable(const string& name, SystemState* system_state) argument 367 ServerDictatedPollIntervalVariable(const string& name, SystemState* system_state) argument 386 ForcedUpdateRequestedVariable(const string& name, SystemState* system_state) argument 419 RealUpdaterProvider(SystemState* system_state) argument [all...] |
/system/update_engine/payload_consumer/ |
H A D | download_action.cc | 44 SystemState* system_state, 49 system_state_(system_state), 41 DownloadAction(PrefsInterface* prefs, BootControlInterface* boot_control, HardwareInterface* hardware, SystemState* system_state, HttpFetcher* http_fetcher) argument
|