Lines Matching refs:errmsg

62   GetStatusHelper(SystemState* system_state, string* errmsg) {  in GetStatusHelper()  argument
66 if (!is_success_ && errmsg) in GetStatusHelper()
67 *errmsg = "Failed to get a status update from the update engine"; in GetStatusHelper()
93 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() argument
94 GetStatusHelper raw(system_state(), errmsg); in GetValue()
112 const double* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() argument
113 GetStatusHelper raw(system_state(), errmsg); in GetValue()
118 if (errmsg) { in GetValue()
119 *errmsg = StringPrintf("Invalid progress value received: %f", in GetValue()
145 const Stage* GetValue(TimeDelta /* timeout */, string* errmsg) override;
166 string* errmsg) { in GetValue() argument
167 GetStatusHelper raw(system_state(), errmsg); in GetValue()
175 if (errmsg) in GetValue()
176 *errmsg = string("Unknown update status: ") + raw.update_status(); in GetValue()
187 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() argument
188 GetStatusHelper raw(system_state(), errmsg); in GetValue()
205 const int64_t* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() argument
206 GetStatusHelper raw(system_state(), errmsg); in GetValue()
211 if (errmsg) in GetValue()
212 *errmsg = string("Invalid payload size: %" PRId64, raw.payload_size()); in GetValue()
235 const Time* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() argument
239 if (errmsg) in GetValue()
240 *errmsg = "Update completed time could not be read"; in GetValue()
247 if (errmsg) in GetValue()
248 *errmsg = "Update completed time more recent than current time"; in GetValue()
265 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() argument
269 if (errmsg) in GetValue()
270 *errmsg = "No current channel"; in GetValue()
286 const string* GetValue(TimeDelta /* timeout */, string* errmsg) override { in GetValue() argument
290 if (errmsg) in GetValue()
291 *errmsg = "No new channel"; in GetValue()