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