Searched refs:system_state (Results 1 - 25 of 32) sorted by relevance

12

/system/update_engine/
H A Dimage_properties.h65 ImageProperties LoadImageProperties(SystemState* system_state);
69 MutableImageProperties LoadMutableImageProperties(SystemState* system_state);
73 bool StoreMutableImageProperties(SystemState* system_state,
H A Dmetrics.cc29 #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 Dimage_properties_android.cc28 #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, &current_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 Dmetrics_utils.h51 bool WallclockDurationHelper(SystemState* system_state,
64 bool MonotonicDurationHelper(SystemState* system_state,
H A Dmetrics.h190 void ReportRollbackMetrics(SystemState *system_state,
197 void ReportDailyMetrics(SystemState *system_state,
223 void ReportUpdateCheckMetrics(SystemState *system_state,
257 SystemState *system_state,
274 void ReportAbnormallyTerminatedUpdateAttemptMetrics(SystemState *system_state);
297 SystemState *system_state,
313 void ReportCertificateCheckMetrics(SystemState* system_state,
H A Dimage_properties_chromeos.cc29 #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 Dmock_omaha_request_params.h30 explicit MockOmahaRequestParams(SystemState* system_state) argument
31 : OmahaRequestParams(system_state) {
H A Domaha_response_handler_action.h27 #include "update_engine/system_state.h"
45 explicit OmahaResponseHandlerAction(SystemState* system_state);
86 OmahaResponseHandlerAction(SystemState* system_state,
H A Dconnection_manager.h44 SystemState* system_state);
H A Ddbus_service.cc28 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 Domaha_request_action.h36 #include "update_engine/system_state.h"
147 OmahaRequestAction(SystemState* system_state,
195 static int GetInstallDate(SystemState* system_state);
206 static bool HasInstallDate(SystemState *system_state);
211 static bool PersistInstallDate(SystemState *system_state,
H A Domaha_response_handler_action.cc39 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 Dmetrics_utils.cc25 #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 Dbinder_service_brillo.h39 explicit BinderUpdateEngineBrilloService(SystemState* system_state) argument
40 : common_(new UpdateEngineService(system_state)) {}
H A Ddbus_service.h38 explicit DBusUpdateEngineService(SystemState* system_state);
146 UpdateEngineAdaptor(SystemState* system_state,
H A Domaha_request_action.cc208 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 Domaha_request_params.h46 explicit OmahaRequestParams(SystemState* system_state) argument
47 : system_state_(system_state),
57 OmahaRequestParams(SystemState* system_state, argument
73 : system_state_(system_state),
H A Dcommon_service.h27 #include "update_engine/system_state.h"
44 explicit UpdateEngineService(SystemState* system_state);
H A Dmock_payload_state.h31 bool Initialize(SystemState* system_state) { argument
H A Dcommon_service.cc67 UpdateEngineService::UpdateEngineService(SystemState* system_state) argument
68 : system_state_(system_state) {
/system/update_engine/update_manager/
H A Dstate_factory.cc41 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 Dreal_updater_provider.cc48 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...]
H A Dstate_factory.h23 #include "update_engine/system_state.h"
37 chromeos_update_engine::SystemState* system_state);
H A Dreal_updater_provider.h23 #include "update_engine/system_state.h"
38 chromeos_update_engine::SystemState* system_state);
/system/update_engine/payload_consumer/
H A Ddownload_action.h34 #include "update_engine/system_state.h"
76 // DownloadAction(prefs, boot_contol, hardware, system_state,
81 SystemState* system_state,

Completed in 146 milliseconds

12