Lines Matching refs:client_

81     client_ = update_engine::UpdateEngineClient::CreateInstance();  in OnInit()
83 if (!client_) { in OnInit()
118 unique_ptr<update_engine::UpdateEngineClient> client_; member in __anon012106440111::UpdateEngineClient
154 if (client_->GetStatus(&status)) { in ShowStatus()
178 if (!client_->GetStatus(&status)) { in GetNeedReboot()
193 : exit_on_error_(exit_on_error), client_(client) {} in UpdateWaitHandler()
201 update_engine::UpdateEngineClient* client_; member in __anon012106440111::UpdateWaitHandler
208 if (client_ && client_->GetLastAttemptError(&last_attempt_error)) in HandleStatusUpdate()
308 if (client_->ResetStatus()) { in ProcessFlags()
326 if (!client_->SetUpdateOverCellularPermission(allowed)) { in ProcessFlags()
337 if (!client_->GetUpdateOverCellularPermission(&allowed)) { in ProcessFlags()
351 if (!client_->SetCohortHint(FLAGS_cohort_hint)) { in ProcessFlags()
359 if (!client_->GetCohortHint(&cohort_hint)) { in ProcessFlags()
379 if (!client_->SetP2PUpdatePermission(enabled)) { in ProcessFlags()
390 if (!client_->GetRollbackPartition(&rollback_partition)) { in ProcessFlags()
413 if (!client_->GetP2PUpdatePermission(&enabled)) { in ProcessFlags()
424 if (!client_->SetTargetChannel(FLAGS_channel, FLAGS_powerwash)) { in ProcessFlags()
437 if (!client_->GetChannel(&current_channel)) { in ProcessFlags()
442 if (!client_->GetTargetChannel(&target_channel)) { in ProcessFlags()
467 if (!client_->Rollback(FLAGS_powerwash)) { in ProcessFlags()
482 if (!client_->AttemptUpdate( in ProcessFlags()
511 auto handler = new UpdateWaitHandler(true, client_.get()); in ProcessFlags()
513 client_->RegisterStatusUpdateHandler(handler); in ProcessFlags()
521 client_->RegisterStatusUpdateHandler(handler); in ProcessFlags()
527 client_->RebootIfNeeded(); in ProcessFlags()
534 if (!client_->GetPrevVersion(&prev_version)) { in ProcessFlags()
554 client_->RegisterStatusUpdateHandler(handler); in ProcessFlags()
560 if (!client_->GetLastAttemptError(&last_attempt_error)) { in ProcessFlags()
576 if (!client_->GetStatus(&status)) { in ProcessFlags()