Lines Matching refs:cloud_

373     : cloud_(cloud),  in PrivetHandler()
378 CHECK(cloud_); in PrivetHandler()
382 cloud_observer_.Add(cloud_); in PrivetHandler()
531 std::string name = cloud_->GetName(); in HandleInfo()
532 std::string model_id = cloud_->GetModelId(); in HandleInfo()
535 output.SetString(kInfoIdKey, cloud_->GetDeviceId()); in HandleInfo()
538 std::string description{cloud_->GetDescription()}; in HandleInfo()
542 std::string location{cloud_->GetLocation()}; in HandleInfo()
547 output.Set(kInfoModelManifestKey, CreateManifestSection(*cloud_).release()); in HandleInfo()
550 ToValue(std::vector<std::string>{GetDeviceUiKind(cloud_->GetModelId())}) in HandleInfo()
555 CreateInfoAuthSection(*security_, GetAnonymousMaxScope(*cloud_, wifi_)) in HandleInfo()
563 output.Set(kGcdKey, CreateGcdSection(*cloud_).release()); in HandleInfo()
681 desired_scope = GetAnonymousMaxScope(*cloud_, wifi_); in HandleAuth()
748 std::string name{cloud_->GetName()}; in HandleSetupStart()
751 std::string description{cloud_->GetDescription()}; in HandleSetupStart()
754 std::string location{cloud_->GetLocation()}; in HandleSetupStart()
798 cloud_->UpdateDeviceInfo(name, description, location); in HandleSetupStart()
804 if (!ticket.empty() && !cloud_->Setup(ticket, user, &error)) in HandleSetupStart()
820 const SetupState& state = cloud_->GetSetupState(); in ReplyWithSetupStatus()
826 gcd->SetString(kInfoIdKey, cloud_->GetCloudId()); in ReplyWithSetupStatus()
847 output.Set(kStateKey, cloud_->GetLegacyState().DeepCopy()); in HandleState()
857 output.Set(kTraitsKey, cloud_->GetTraits().DeepCopy()); in HandleTraits()
882 component = cloud_->FindComponent(path, &error); in HandleComponents()
890 components = CloneComponentTree(cloud_->GetComponents(), filter); in HandleComponents()
903 output.Set(kCommandsKey, cloud_->GetLegacyCommandDef().DeepCopy()); in HandleCommandDefs()
914 cloud_->AddCommand(input, user_info, in HandleCommandsExecute()
928 cloud_->GetCommand(id, user_info, in HandleCommandsStatus()
935 cloud_->ListCommands(user_info, in HandleCommandsList()
949 cloud_->CancelCommand(id, user_info, in HandleCommandsCancel()