Lines Matching refs:client_

67     client_ = update_engine::UpdateEngineClient::CreateInstance();
69 if (!client_) {
104 unique_ptr<update_engine::UpdateEngineClient> client_;
154 if (!client_->GetStatus(&last_checked_time, &progress, &current_op,
175 if (!client_->GetStatus(&last_checked_time, &progress, &current_op,
191 : exit_on_error_(exit_on_error), client_(client) {}
203 update_engine::UpdateEngineClient* client_;
214 if (client_ && client_->GetLastAttemptError(&last_attempt_error))
301 if (client_->ResetStatus()) {
319 if (!client_->SetUpdateOverCellularPermission(allowed)) {
330 if (!client_->GetUpdateOverCellularPermission(&allowed)) {
344 if (!client_->SetCohortHint(FLAGS_cohort_hint)) {
352 if (!client_->GetCohortHint(&cohort_hint)) {
372 if (!client_->SetP2PUpdatePermission(enabled)) {
383 if (!client_->GetRollbackPartition(&rollback_partition)) {
406 if (!client_->GetP2PUpdatePermission(&enabled)) {
417 if (!client_->SetTargetChannel(FLAGS_channel, FLAGS_powerwash)) {
430 if (!client_->GetChannel(&current_channel)) {
435 if (!client_->GetTargetChannel(&target_channel)) {
459 if (!client_->Rollback(FLAGS_powerwash)) {
474 if (!client_->AttemptUpdate(app_version, FLAGS_omaha_url,
503 auto handler = new UpdateWaitHandler(true, client_.get());
505 client_->RegisterStatusUpdateHandler(handler);
513 client_->RegisterStatusUpdateHandler(handler);
519 client_->RebootIfNeeded();
526 if (!client_->GetPrevVersion(&prev_version)) {
546 client_->RegisterStatusUpdateHandler(handler);
552 if (!client_->GetLastAttemptError(&last_attempt_error)) {
566 if (!client_->GetEolStatus(&eol_status)) {