Home
last modified time | relevance | path

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

12

/system/update_engine/update_manager/
Dreal_updater_provider.cc48 SystemState* system_state) in UpdaterVariableBase() argument
49 : Variable<T>(name, mode), system_state_(system_state) {} in UpdaterVariableBase()
53 inline SystemState* system_state() const { return system_state_; } in system_state() function in chromeos_update_manager::UpdaterVariableBase
62 GetStatusHelper(SystemState* system_state, string* errmsg) { in GetStatusHelper() argument
63 is_success_ = system_state->update_attempter()->GetStatus( in GetStatusHelper()
89 LastCheckedTimeVariable(const string& name, SystemState* system_state) in LastCheckedTimeVariable() argument
90 : UpdaterVariableBase<Time>(name, kVariableModePoll, system_state) {} in LastCheckedTimeVariable()
94 GetStatusHelper raw(system_state(), errmsg); in GetValue()
108 ProgressVariable(const string& name, SystemState* system_state) in ProgressVariable() argument
109 : UpdaterVariableBase<double>(name, kVariableModePoll, system_state) {} in ProgressVariable()
[all …]
Dstate_factory.cc41 chromeos_update_engine::SystemState* system_state) { in DefaultStateFactory() argument
42 chromeos_update_engine::ClockInterface* const clock = system_state->clock(); in DefaultStateFactory()
44 new RealConfigProvider(system_state->hardware())); in DefaultStateFactory()
51 new RealSystemProvider(system_state->hardware(), in DefaultStateFactory()
52 system_state->boot_control())); in DefaultStateFactory()
55 new RealUpdaterProvider(system_state)); in DefaultStateFactory()
Dstate_factory.h37 chromeos_update_engine::SystemState* system_state);
/system/update_engine/
Dmetrics.cc117 void ReportDailyMetrics(SystemState *system_state, in ReportDailyMetrics() argument
122 system_state->metrics_lib()->SendToUMA( in ReportDailyMetrics()
130 void ReportUpdateCheckMetrics(SystemState *system_state, in ReportUpdateCheckMetrics() argument
143 system_state->metrics_lib()->SendEnumToUMA(metric, value, max_value); in ReportUpdateCheckMetrics()
150 system_state->metrics_lib()->SendEnumToUMA(metric, value, max_value); in ReportUpdateCheckMetrics()
156 system_state->metrics_lib()->SendSparseToUMA(metric, value); in ReportUpdateCheckMetrics()
161 system_state, in ReportUpdateCheckMetrics()
167 system_state->metrics_lib()->SendToUMA( in ReportUpdateCheckMetrics()
177 if (metrics_utils::MonotonicDurationHelper(system_state, in ReportUpdateCheckMetrics()
183 system_state->metrics_lib()->SendToUMA( in ReportUpdateCheckMetrics()
[all …]
Dimage_properties_android.cc59 ImageProperties LoadImageProperties(SystemState* system_state) { in LoadImageProperties() argument
77 std::to_string(system_state->boot_control()->GetCurrentSlot()); in LoadImageProperties()
79 if (!system_state->prefs()->Exists(current_channel_key) || in LoadImageProperties()
80 !system_state->prefs()->GetString(current_channel_key, &current_channel)) in LoadImageProperties()
90 MutableImageProperties LoadMutableImageProperties(SystemState* system_state) { in LoadMutableImageProperties() argument
92 PrefsInterface* const prefs = system_state->prefs(); in LoadMutableImageProperties()
102 bool StoreMutableImageProperties(SystemState* system_state, in StoreMutableImageProperties() argument
104 PrefsInterface* const prefs = system_state->prefs(); in StoreMutableImageProperties()
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,
Dimage_properties.h65 ImageProperties LoadImageProperties(SystemState* system_state);
69 MutableImageProperties LoadMutableImageProperties(SystemState* system_state);
73 bool StoreMutableImageProperties(SystemState* system_state,
Dimage_properties_chromeos.cc88 ImageProperties LoadImageProperties(SystemState* system_state) { in LoadImageProperties() argument
99 HardwareInterface* const hardware = system_state->hardware(); in LoadImageProperties()
122 MutableImageProperties LoadMutableImageProperties(SystemState* system_state) { in LoadMutableImageProperties() argument
135 bool StoreMutableImageProperties(SystemState* system_state, in StoreMutableImageProperties() argument
Dmetrics_utils.h51 bool WallclockDurationHelper(SystemState* system_state,
64 bool MonotonicDurationHelper(SystemState* system_state,
Dmetrics_utils.cc262 bool WallclockDurationHelper(SystemState* system_state, in WallclockDurationHelper() argument
267 Time now = system_state->clock()->GetWallclockTime(); in WallclockDurationHelper()
269 if (system_state->prefs()->GetInt64(state_variable_key, &stored_value)) { in WallclockDurationHelper()
280 if (!system_state->prefs()->SetInt64(state_variable_key, in WallclockDurationHelper()
288 bool MonotonicDurationHelper(SystemState* system_state, in MonotonicDurationHelper() argument
293 Time now = system_state->clock()->GetMonotonicTime(); in MonotonicDurationHelper()
Domaha_response_handler_action.cc39 SystemState* system_state) in OmahaResponseHandlerAction() argument
40 : OmahaResponseHandlerAction(system_state, in OmahaResponseHandlerAction()
44 SystemState* system_state, const string& deadline_file) in OmahaResponseHandlerAction() argument
45 : system_state_(system_state), in OmahaResponseHandlerAction()
Ddbus_service.cc28 DBusUpdateEngineService::DBusUpdateEngineService(SystemState* system_state) in DBusUpdateEngineService() argument
29 : common_(new UpdateEngineService{system_state}) { in DBusUpdateEngineService()
140 UpdateEngineAdaptor::UpdateEngineAdaptor(SystemState* system_state, in UpdateEngineAdaptor() argument
144 dbus_service_(system_state), in UpdateEngineAdaptor()
Domaha_request_action.cc208 SystemState* system_state) { in GetAppXml() argument
211 system_state->prefs()); in GetAppXml()
246 app_cohort_args += GetCohortArgXml(system_state->prefs(), in GetAppXml()
248 app_cohort_args += GetCohortArgXml(system_state->prefs(), in GetAppXml()
250 app_cohort_args += GetCohortArgXml(system_state->prefs(), in GetAppXml()
292 SystemState* system_state) { in GetRequestXml() argument
296 install_date_in_days, system_state); in GetRequestXml()
499 SystemState* system_state, in OmahaRequestAction() argument
503 : system_state_(system_state), in OmahaRequestAction()
509 params_ = system_state->request_params(); in OmahaRequestAction()
[all …]
Domaha_request_action.h147 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,
Domaha_response_handler_action.h45 explicit OmahaResponseHandlerAction(SystemState* system_state);
86 OmahaResponseHandlerAction(SystemState* system_state,
Dmock_omaha_request_params.h30 explicit MockOmahaRequestParams(SystemState* system_state) in MockOmahaRequestParams() argument
31 : OmahaRequestParams(system_state) { in MockOmahaRequestParams()
Domaha_request_params.h46 explicit OmahaRequestParams(SystemState* system_state) in OmahaRequestParams() argument
47 : system_state_(system_state), in OmahaRequestParams()
57 OmahaRequestParams(SystemState* system_state, in OmahaRequestParams() argument
73 : system_state_(system_state), in OmahaRequestParams()
Dbinder_service_brillo.h39 explicit BinderUpdateEngineBrilloService(SystemState* system_state) in BinderUpdateEngineBrilloService() argument
40 : common_(new UpdateEngineService(system_state)) {} in BinderUpdateEngineBrilloService()
Ddbus_service.h38 explicit DBusUpdateEngineService(SystemState* system_state);
146 UpdateEngineAdaptor(SystemState* system_state,
Dconnection_manager.h44 SystemState* system_state);
Dconnection_manager.cc71 SystemState* system_state) in ConnectionManager() argument
72 : shill_proxy_(shill_proxy), system_state_(system_state) {} in ConnectionManager()
Dcommon_service.cc67 UpdateEngineService::UpdateEngineService(SystemState* system_state) in UpdateEngineService() argument
68 : system_state_(system_state) { in UpdateEngineService()
Dcommon_service.h44 explicit UpdateEngineService(SystemState* system_state);
Dmock_payload_state.h31 bool Initialize(SystemState* system_state) { in Initialize() argument
/system/update_engine/payload_consumer/
Ddownload_action.cc44 SystemState* system_state, in DownloadAction() argument
49 system_state_(system_state), in DownloadAction()

12