Lines Matching refs:device
337 DeviceRefPtr device = device_info_->GetDevice(interface_index_);
338 if (device) {
339 device->RequestPortalDetection();
377 DeviceRefPtr device = device_info_->GetDevice(interface_index_);
378 DCHECK(device.get());
379 if (!device.get()) {
380 LOG(ERROR) << "Device is NULL!";
383 device->SetLooseRouting(true);
390 DeviceRefPtr device = device_info_->GetDevice(interface_index_);
391 DCHECK(device.get());
392 if (!device.get()) {
393 LOG(ERROR) << "Device is NULL!";
396 device->SetLooseRouting(false);
606 DeviceRefPtr device = device_info_->GetDevice(interface_index);
607 if (!device) {
608 LOG(ERROR) << "Unable to lookup device for index " << interface_index;
611 ConnectionRefPtr connection = device->connection();
613 LOG(ERROR) << "Device " << interface_index << " has no connection.";
622 device->OnConnectionUpdated();