Lines Matching refs:cloud_id
259 !GetSettings().cloud_id.empty() && !HaveRegistrationCredentials();
283 CHECK(!GetSettings().cloud_id.empty()) << "Must have a valid device ID";
285 "devices/" + GetSettings().cloud_id + "/" + subpath, params);
320 !GetSettings().cloud_id.empty() &&
481 if (!GetSettings().cloud_id.empty())
482 resource->SetString("id", GetSettings().cloud_id);
583 std::string cloud_id;
589 !device_draft_response->GetString("id", &cloud_id)) {
606 weak_factory_.GetWeakPtr(), cloud_id, robot_account,
611 const std::string& cloud_id,
634 change.set_cloud_id(cloud_id);
1062 {{"deviceId", GetSettings().cloud_id}, {"reason", reason}}),
1315 void DeviceRegistrationInfo::OnDeviceDeleted(const std::string& cloud_id) {
1316 if (cloud_id != GetSettings().cloud_id) {
1318 << cloud_id << "'";
1335 // Keep cloud_id to switch to detect kInvalidCredentials after restart.