Home
last modified time | relevance | path

Searched refs:system_state (Results 1 – 25 of 34) 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.cc51 chromeos_update_engine::SystemState* system_state) { in DefaultStateFactory() argument
52 chromeos_update_engine::ClockInterface* const clock = system_state->clock(); in DefaultStateFactory()
54 new RealConfigProvider(system_state->hardware())); in DefaultStateFactory()
75 system_state->hardware(), system_state->boot_control(), libcros_proxy)); in DefaultStateFactory()
78 new RealUpdaterProvider(system_state)); in DefaultStateFactory()
Dstate_factory.h39 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.cc75 ImageProperties LoadImageProperties(SystemState* system_state) { in LoadImageProperties() argument
116 std::to_string(system_state->boot_control()->GetCurrentSlot()); in LoadImageProperties()
118 if (!system_state->prefs()->Exists(current_channel_key) || in LoadImageProperties()
119 !system_state->prefs()->GetString(current_channel_key, &current_channel)) in LoadImageProperties()
129 MutableImageProperties LoadMutableImageProperties(SystemState* system_state) { in LoadMutableImageProperties() argument
131 PrefsInterface* const prefs = system_state->prefs(); in LoadMutableImageProperties()
141 bool StoreMutableImageProperties(SystemState* system_state, in StoreMutableImageProperties() argument
143 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.h77 ImageProperties LoadImageProperties(SystemState* system_state);
81 MutableImageProperties LoadMutableImageProperties(SystemState* system_state);
85 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()
124 MutableImageProperties LoadMutableImageProperties(SystemState* system_state) { in LoadMutableImageProperties() argument
137 bool StoreMutableImageProperties(SystemState* system_state, in StoreMutableImageProperties() argument
Dmetrics_utils.h51 bool WallclockDurationHelper(SystemState* system_state,
64 bool MonotonicDurationHelper(SystemState* system_state,
Dconnection_manager.cc43 SystemState* system_state) { in CreateConnectionManager() argument
45 new ConnectionManager(new ShillProxy(), system_state)); in CreateConnectionManager()
50 SystemState* system_state) in ConnectionManager() argument
51 : shill_proxy_(shill_proxy), system_state_(system_state) {} in ConnectionManager()
Dmetrics_utils.cc268 bool WallclockDurationHelper(SystemState* system_state, in WallclockDurationHelper() argument
273 Time now = system_state->clock()->GetWallclockTime(); in WallclockDurationHelper()
275 if (system_state->prefs()->GetInt64(state_variable_key, &stored_value)) { in WallclockDurationHelper()
286 if (!system_state->prefs()->SetInt64(state_variable_key, in WallclockDurationHelper()
294 bool MonotonicDurationHelper(SystemState* system_state, in MonotonicDurationHelper() argument
299 Time now = system_state->clock()->GetMonotonicTime(); in MonotonicDurationHelper()
Domaha_response_handler_action.cc40 SystemState* system_state) in OmahaResponseHandlerAction() argument
41 : OmahaResponseHandlerAction(system_state, in OmahaResponseHandlerAction()
45 SystemState* system_state, const string& deadline_file) in OmahaResponseHandlerAction() argument
46 : system_state_(system_state), in OmahaResponseHandlerAction()
Domaha_request_action.h148 OmahaRequestAction(SystemState* system_state,
196 static int GetInstallDate(SystemState* system_state);
207 static bool HasInstallDate(SystemState *system_state);
212 static bool PersistInstallDate(SystemState *system_state,
Ddbus_service.cc29 DBusUpdateEngineService::DBusUpdateEngineService(SystemState* system_state) in DBusUpdateEngineService() argument
30 : common_(new UpdateEngineService{system_state}) { in DBusUpdateEngineService()
156 UpdateEngineAdaptor::UpdateEngineAdaptor(SystemState* system_state) in UpdateEngineAdaptor() argument
159 dbus_service_(system_state), in UpdateEngineAdaptor()
Domaha_request_action.cc222 SystemState* system_state) { in GetAppXml() argument
225 system_state->prefs()); in GetAppXml()
260 app_cohort_args += GetCohortArgXml(system_state->prefs(), in GetAppXml()
262 app_cohort_args += GetCohortArgXml(system_state->prefs(), in GetAppXml()
264 app_cohort_args += GetCohortArgXml(system_state->prefs(), in GetAppXml()
320 SystemState* system_state) { in GetRequestXml() argument
332 system_state); in GetRequestXml()
344 system_state); in GetRequestXml()
570 SystemState* system_state, in OmahaRequestAction() argument
574 : system_state_(system_state), in OmahaRequestAction()
[all …]
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()
Dconnection_manager_android.cc23 SystemState* system_state) { in CreateConnectionManager() argument
Dconnection_manager_interface.h59 SystemState* system_state);
Ddbus_service.h39 explicit DBusUpdateEngineService(SystemState* system_state);
157 UpdateEngineAdaptor(SystemState* system_state);
Dbinder_service_brillo.h40 explicit BinderUpdateEngineBrilloService(SystemState* system_state) in BinderUpdateEngineBrilloService() argument
41 : common_(new UpdateEngineService(system_state)) {} in BinderUpdateEngineBrilloService()
Dconnection_manager.h38 SystemState* system_state);
Dmock_payload_state.h31 bool Initialize(SystemState* system_state) { in Initialize() argument
Dcommon_service.h44 explicit UpdateEngineService(SystemState* system_state);

12