Lines Matching refs:GetSettings
259 !GetSettings().cloud_id.empty() && !HaveRegistrationCredentials();
277 return BuildURL(GetSettings().service_url, subpath, params);
283 CHECK(!GetSettings().cloud_id.empty()) << "Must have a valid device ID";
284 return BuildURL(GetSettings().service_url,
285 "devices/" + GetSettings().cloud_id + "/" + subpath, params);
291 return BuildURL(GetSettings().oauth_url, subpath, params);
319 return !GetSettings().refresh_token.empty() &&
320 !GetSettings().cloud_id.empty() &&
321 !GetSettings().robot_account.empty();
381 {"refresh_token", GetSettings().refresh_token},
382 {"client_id", GetSettings().client_id},
383 {"client_secret", GetSettings().client_secret},
467 new XmppChannel{GetSettings().robot_account, access_token_,
468 GetSettings().xmpp_endpoint, task_runner_, network_});
481 if (!GetSettings().cloud_id.empty())
482 resource->SetString("id", GetSettings().cloud_id);
483 resource->SetString("name", GetSettings().name);
484 if (!GetSettings().description.empty())
485 resource->SetString("description", GetSettings().description);
486 if (!GetSettings().location.empty())
487 resource->SetString("location", GetSettings().location);
488 resource->SetString("modelManifestId", GetSettings().model_id);
532 req_json.SetString("oauthClientId", GetSettings().client_id);
536 {{"key", GetSettings().api_key}});
562 {{"key", GetSettings().api_key}});
601 {"client_id", GetSettings().client_id},
602 {"client_secret", GetSettings().client_secret},
930 if (GetSettings().root_client_token_owner == RootClientTokenOwner::kCloud) {
942 std::string id = GetSettings().device_id;
1062 {{"deviceId", GetSettings().cloud_id}, {"reason", reason}}),
1316 if (cloud_id != GetSettings().cloud_id) {