/system/update_engine/update_manager/ |
D | real_updater_provider.cc | 53 SystemState* system_state) in UpdaterVariableBase() argument 54 : Variable<T>(name, mode), system_state_(system_state) {} in UpdaterVariableBase() 58 inline SystemState* system_state() const { return system_state_; } in system_state() function in chromeos_update_manager::UpdaterVariableBase 67 GetStatusHelper(SystemState* system_state, string* errmsg) { in GetStatusHelper() argument 69 system_state->update_attempter()->GetStatus(&update_engine_status_); in GetStatusHelper() 99 LastCheckedTimeVariable(const string& name, SystemState* system_state) in LastCheckedTimeVariable() argument 100 : UpdaterVariableBase<Time>(name, kVariableModePoll, system_state) {} in LastCheckedTimeVariable() 104 GetStatusHelper raw(system_state(), errmsg); in GetValue() 118 ProgressVariable(const string& name, SystemState* system_state) in ProgressVariable() argument 119 : UpdaterVariableBase<double>(name, kVariableModePoll, system_state) {} in ProgressVariable() [all …]
|
D | state_factory.cc | 50 chromeos_update_engine::SystemState* system_state) { in DefaultStateFactory() argument 51 chromeos_update_engine::ClockInterface* const clock = system_state->clock(); in DefaultStateFactory() 53 new RealConfigProvider(system_state->hardware())); in DefaultStateFactory() 73 system_state->hardware(), system_state->boot_control(), kiosk_app_proxy)); in DefaultStateFactory() 77 new RealUpdaterProvider(system_state)); in DefaultStateFactory()
|
D | state_factory.h | 39 chromeos_update_engine::SystemState* system_state);
|
/system/update_engine/ |
D | image_properties_android.cc | 171 ImageProperties LoadImageProperties(SystemState* system_state) { in LoadImageProperties() argument 207 std::to_string(system_state->boot_control()->GetCurrentSlot()); in LoadImageProperties() 209 if (!system_state->prefs()->Exists(current_channel_key) || in LoadImageProperties() 210 !system_state->prefs()->GetString(current_channel_key, ¤t_channel)) in LoadImageProperties() 221 MutableImageProperties LoadMutableImageProperties(SystemState* system_state) { in LoadMutableImageProperties() argument 224 if (!system_state->prefs()->GetBoolean(kPrefsImgPropPowerwashAllowed, in LoadMutableImageProperties() 231 bool StoreMutableImageProperties(SystemState* system_state, in StoreMutableImageProperties() argument 236 if (!system_state->prefs()->SetBoolean(kPrefsImgPropPowerwashAllowed, in StoreMutableImageProperties()
|
D | image_properties.h | 84 ImageProperties LoadImageProperties(SystemState* system_state); 88 MutableImageProperties LoadMutableImageProperties(SystemState* system_state); 92 bool StoreMutableImageProperties(SystemState* system_state,
|
D | image_properties_chromeos.cc | 89 ImageProperties LoadImageProperties(SystemState* system_state) { in LoadImageProperties() argument 100 HardwareInterface* const hardware = system_state->hardware(); in LoadImageProperties() 127 MutableImageProperties LoadMutableImageProperties(SystemState* system_state) { in LoadMutableImageProperties() argument 140 bool StoreMutableImageProperties(SystemState* system_state, in StoreMutableImageProperties() argument
|
D | omaha_request_action.h | 104 OmahaRequestAction(SystemState* system_state, 159 static int GetInstallDate(SystemState* system_state); 170 static bool HasInstallDate(SystemState* system_state); 175 static bool PersistInstallDate(SystemState* system_state,
|
D | connection_manager.cc | 45 SystemState* system_state) { in CreateConnectionManager() argument 47 new ConnectionManager(new ShillProxy(), system_state)); in CreateConnectionManager() 52 SystemState* system_state) in ConnectionManager() argument 53 : shill_proxy_(shill_proxy), system_state_(system_state) {} in ConnectionManager()
|
D | metrics_reporter_omaha.cc | 159 SystemState* system_state, in ReportUpdateCheckMetrics() argument 190 system_state, in ReportUpdateCheckMetrics() 206 system_state, &uptime_since_last_storage, &uptime_since_last)) { in ReportUpdateCheckMetrics() 218 if (system_state && system_state->request_params()) { in ReportUpdateCheckMetrics() 220 system_state->request_params()->target_version_prefix(); in ReportUpdateCheckMetrics() 227 if (system_state->request_params()->rollback_allowed()) { in ReportUpdateCheckMetrics() 251 SystemState* system_state, in ReportUpdateAttemptMetrics() argument 313 system_state, in ReportUpdateAttemptMetrics() 329 system_state, &uptime_since_last_storage, &uptime_since_last)) { in ReportUpdateAttemptMetrics()
|
D | metrics_utils.h | 59 bool WallclockDurationHelper(SystemState* system_state, 72 bool MonotonicDurationHelper(SystemState* system_state,
|
D | mock_omaha_request_params.h | 30 explicit MockOmahaRequestParams(SystemState* system_state) in MockOmahaRequestParams() argument 31 : OmahaRequestParams(system_state) { in MockOmahaRequestParams()
|
D | dbus_service.cc | 55 DBusUpdateEngineService::DBusUpdateEngineService(SystemState* system_state) in DBusUpdateEngineService() argument 56 : common_(new UpdateEngineService{system_state}) {} in DBusUpdateEngineService() 195 UpdateEngineAdaptor::UpdateEngineAdaptor(SystemState* system_state) in UpdateEngineAdaptor() argument 198 dbus_service_(system_state), in UpdateEngineAdaptor()
|
D | mock_metrics_reporter.h | 40 void(SystemState* system_state, 46 void(SystemState* system_state,
|
D | metrics_reporter_android.h | 42 SystemState* system_state, in ReportUpdateCheckMetrics() argument 47 void ReportUpdateAttemptMetrics(SystemState* system_state,
|
D | metrics_reporter_stub.h | 42 SystemState* system_state, in ReportUpdateCheckMetrics() argument 47 void ReportUpdateAttemptMetrics(SystemState* system_state, in ReportUpdateAttemptMetrics() argument
|
D | metrics_reporter_interface.h | 95 SystemState* system_state, 123 virtual void ReportUpdateAttemptMetrics(SystemState* system_state,
|
D | metrics_utils.cc | 294 bool WallclockDurationHelper(SystemState* system_state, in WallclockDurationHelper() argument 299 Time now = system_state->clock()->GetWallclockTime(); in WallclockDurationHelper() 301 if (system_state->prefs()->GetInt64(state_variable_key, &stored_value)) { in WallclockDurationHelper() 312 if (!system_state->prefs()->SetInt64(state_variable_key, in WallclockDurationHelper() 320 bool MonotonicDurationHelper(SystemState* system_state, in MonotonicDurationHelper() argument 325 Time now = system_state->clock()->GetMonotonicTime(); in MonotonicDurationHelper()
|
D | connection_manager_android.cc | 25 SystemState* system_state) { in CreateConnectionManager() argument
|
D | metrics_reporter_omaha.h | 119 SystemState* system_state, 124 void ReportUpdateAttemptMetrics(SystemState* system_state,
|
D | connection_manager_interface.h | 63 SystemState* system_state);
|
D | connection_manager.h | 39 SystemState* system_state);
|
D | dbus_service.h | 41 explicit DBusUpdateEngineService(SystemState* system_state); 168 explicit UpdateEngineAdaptor(SystemState* system_state);
|
D | omaha_request_action.cc | 275 SystemState* system_state, in OmahaRequestAction() argument 280 : system_state_(system_state), in OmahaRequestAction() 281 params_(system_state->request_params()), in OmahaRequestAction() 346 int OmahaRequestAction::GetInstallDate(SystemState* system_state) { in GetInstallDate() argument 347 PrefsInterface* prefs = system_state->prefs(); in GetInstallDate() 383 if (!system_state->hardware()->IsOOBEEnabled() || in GetInstallDate() 384 !system_state->hardware()->IsOOBEComplete(&time_of_oobe)) { in GetInstallDate() 400 system_state, num_days, kProvisionedFromOOBEMarker)) in GetInstallDate() 1372 bool OmahaRequestAction::HasInstallDate(SystemState* system_state) { in HasInstallDate() argument 1373 PrefsInterface* prefs = system_state->prefs(); in HasInstallDate() [all …]
|
D | omaha_response_handler_action.h | 45 explicit OmahaResponseHandlerAction(SystemState* system_state);
|
D | mock_payload_state.h | 31 bool Initialize(SystemState* system_state) { return true; } in Initialize() argument
|