device 429 android_webview/renderer/print_web_view_helper.cc skia::VectorPlatformDeviceSkia* device = device 431 android_webview/renderer/print_web_view_helper.cc device->setDrawingArea(SkPDFDevice::kMargin_DrawingArea); device 472 android_webview/renderer/print_web_view_helper.cc device->setDrawingArea(SkPDFDevice::kContent_DrawingArea); device 170 android_webview/renderer/print_web_view_helper_linux.cc SkBaseDevice* device = metafile->StartPageForVectorCanvas(page_size, device 173 android_webview/renderer/print_web_view_helper_linux.cc if (!device) device 179 android_webview/renderer/print_web_view_helper_linux.cc skia::AdoptRef(new skia::VectorCanvas(device)); device 35 ash/system/bluetooth/tray_bluetooth.cc const BluetoothDeviceInfo& device) { device 38 ash/system/bluetooth/tray_bluetooth.cc if ((*it).address == device.address) { device 39 ash/system/bluetooth/tray_bluetooth.cc *it = device; device 44 ash/system/bluetooth/tray_bluetooth.cc list->push_back(device); device 21 ash/system/chromeos/audio/audio_detailed_view.cc base::string16 GetAudioDeviceName(const chromeos::AudioDevice& device) { device 22 ash/system/chromeos/audio/audio_detailed_view.cc switch(device.type) { device 33 ash/system/chromeos/audio/audio_detailed_view.cc base::UTF8ToUTF16(device.display_name)); device 37 ash/system/chromeos/audio/audio_detailed_view.cc base::UTF8ToUTF16(device.display_name)); device 41 ash/system/chromeos/audio/audio_detailed_view.cc base::UTF8ToUTF16(device.display_name)); device 43 ash/system/chromeos/audio/audio_detailed_view.cc return base::UTF8ToUTF16(device.display_name); device 169 ash/system/chromeos/audio/audio_detailed_view.cc chromeos::AudioDevice& device = iter->second; device 170 ash/system/chromeos/audio/audio_detailed_view.cc CrasAudioHandler::Get()->SwitchToDevice(device); device 29 ash/system/chromeos/audio/tray_audio_delegate_chromeos.cc chromeos::AudioDevice device; device 30 ash/system/chromeos/audio/tray_audio_delegate_chromeos.cc if (!CrasAudioHandler::Get()->GetActiveOutputDevice(&device)) device 33 ash/system/chromeos/audio/tray_audio_delegate_chromeos.cc if (device.type == chromeos::AUDIO_TYPE_HEADPHONE) device 35 ash/system/chromeos/audio/tray_audio_delegate_chromeos.cc else if (device.type == chromeos::AUDIO_TYPE_USB) device 37 ash/system/chromeos/audio/tray_audio_delegate_chromeos.cc else if (device.type == chromeos::AUDIO_TYPE_BLUETOOTH) device 39 ash/system/chromeos/audio/tray_audio_delegate_chromeos.cc else if (device.type == chromeos::AUDIO_TYPE_HDMI) device 25 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc using device::BluetoothAdapter; device 26 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc using device::BluetoothAdapterFactory; device 27 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc using device::BluetoothDevice; device 109 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc BluetoothDevice* device = adapter_->GetDevice(address_); device 110 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc if (device) device 111 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc device->CancelPairing(); device 125 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc BluetoothDevice* device = adapter_->GetDevice(address_); device 126 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc if (device) { device 129 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc device->ConfirmPairing(); device 132 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc device->RejectPairing(); device 176 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc BluetoothDevice* device) { device 179 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc if (device->IsPaired()) device 180 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc paired_devices_.insert(device->GetAddress()); device 184 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc BluetoothDevice* device) { device 187 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc if (paired_devices_.find(device->GetAddress()) != paired_devices_.end()) device 192 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc if (device->IsPaired()) { device 193 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc paired_devices_.insert(device->GetAddress()); device 194 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc NotifyPairedDevice(device); device 199 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc BluetoothDevice* device) { device 200 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc paired_devices_.erase(device->GetAddress()); device 204 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc void BluetoothNotificationController::RequestPinCode(BluetoothDevice* device) { device 208 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc device->CancelPairing(); device 211 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc void BluetoothNotificationController::RequestPasskey(BluetoothDevice* device) { device 215 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc device->CancelPairing(); device 219 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc BluetoothDevice* device, device 223 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc device->GetName(), base::UTF8ToUTF16(pincode)); device 225 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc NotifyPairing(device, message, false); device 228 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc void BluetoothNotificationController::DisplayPasskey(BluetoothDevice* device, device 232 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc device->GetName(), base::UTF8ToUTF16( device 235 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc NotifyPairing(device, message, false); device 238 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc void BluetoothNotificationController::KeysEntered(BluetoothDevice* device, device 243 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc void BluetoothNotificationController::ConfirmPasskey(BluetoothDevice* device, device 247 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc device->GetName(), base::UTF8ToUTF16( device 250 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc NotifyPairing(device, message, true); device 254 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc BluetoothDevice* device) { device 257 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc device->GetName()); device 259 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc NotifyPairing(device, message, true); device 280 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc const BluetoothDevice* device = *iter; device 281 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc if (device->IsPaired()) device 282 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc paired_devices_.insert(device->GetAddress()); device 311 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc BluetoothDevice* device, device 338 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc device->GetAddress()))); device 343 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc BluetoothDevice* device) { device 359 ash/system/chromeos/bluetooth/bluetooth_notification_controller.cc IDS_ASH_STATUS_TRAY_BLUETOOTH_PAIRED, device->GetName()), device 26 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h : public device::BluetoothAdapter::Observer, device 27 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h public device::BluetoothDevice::PairingDelegate { device 33 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h virtual void AdapterDiscoverableChanged(device::BluetoothAdapter* adapter, device 35 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h virtual void DeviceAdded(device::BluetoothAdapter* adapter, device 36 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h device::BluetoothDevice* device) OVERRIDE; device 37 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h virtual void DeviceChanged(device::BluetoothAdapter* adapter, device 38 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h device::BluetoothDevice* device) OVERRIDE; device 39 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h virtual void DeviceRemoved(device::BluetoothAdapter* adapter, device 40 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h device::BluetoothDevice* device) OVERRIDE; device 43 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h virtual void RequestPinCode(device::BluetoothDevice* device) OVERRIDE; device 44 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h virtual void RequestPasskey(device::BluetoothDevice* device) OVERRIDE; device 45 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h virtual void DisplayPinCode(device::BluetoothDevice* device, device 47 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h virtual void DisplayPasskey(device::BluetoothDevice* device, device 49 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h virtual void KeysEntered(device::BluetoothDevice* device, device 51 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h virtual void ConfirmPasskey(device::BluetoothDevice* device, device 53 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h virtual void AuthorizePairing(device::BluetoothDevice* device) OVERRIDE; device 58 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h void OnGetAdapter(scoped_refptr<device::BluetoothAdapter> adapter); device 69 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h void NotifyPairing(device::BluetoothDevice* device, device 74 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h void NotifyPairedDevice(device::BluetoothDevice* device); device 78 ash/system/chromeos/bluetooth/bluetooth_notification_controller.h scoped_refptr<device::BluetoothAdapter> adapter_; device 645 ash/system/chromeos/network/network_icon.cc const DeviceState* device = device 647 ash/system/chromeos/network/network_icon.cc LOG_IF(WARNING, !device) << "Could not find device state for " device 649 ash/system/chromeos/network/network_icon.cc if (!device || !device->provider_requires_roaming()) { device 718 ash/system/chromeos/network/network_state_list_detailed_view.cc const chromeos::DeviceState* device = device 720 ash/system/chromeos/network/network_state_list_detailed_view.cc show_other_mobile = (device && device->support_network_scan()); device 102 ash/system/win/audio/tray_audio_delegate_win.cc ScopedComPtr<IMMDevice> device = device 104 ash/system/win/audio/tray_audio_delegate_win.cc if (!device || device 105 ash/system/win/audio/tray_audio_delegate_win.cc FAILED(device->Activate(__uuidof(IAudioSessionManager), CLSCTX_ALL, NULL, device 39 base/android/build_info.h const char* device() const { device 549 cc/output/gl_renderer.cc SkGpuDevice device(offscreen_contexts->GrContext(), backing_store.get()); device 550 cc/output/gl_renderer.cc SkCanvas canvas(&device); device 571 cc/output/gl_renderer.cc return device.accessBitmap(false); device 675 cc/output/gl_renderer.cc SkGpuDevice device(offscreen_contexts->GrContext(), backing_store.get()); device 676 cc/output/gl_renderer.cc SkCanvas canvas(&device); device 693 cc/output/gl_renderer.cc return device.accessBitmap(false); device 143 cc/test/pixel_test.cc SoftwareOutputDevice* device = output_surface_->software_device(); device 144 cc/test/pixel_test.cc if (device) { device 145 cc/test/pixel_test.cc static_cast<PixelTestSoftwareOutputDevice*>(device) device 164 cc/test/pixel_test.cc scoped_ptr<SoftwareOutputDevice> device(new PixelTestSoftwareOutputDevice()); device 165 cc/test/pixel_test.cc output_surface_.reset(new PixelTestOutputSurface(device.Pass())); device 36 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc std::string GetDeviceIdString(const chromeos::AudioDevice& device) { device 37 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc return device.device_name + " : " + device 38 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc base::Uint64ToString(device.id & static_cast<uint64>(0xffffffff)) + device 39 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc " : " + (device.is_input ? "1" : "0"); device 47 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc const AudioDevice* device) { device 48 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc if (!device) device 51 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc return GetVolumeGainPrefValue(*device); device 55 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc const AudioDevice* device) { device 56 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc DCHECK(device); device 57 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc return GetVolumeGainPrefValue(*device); device 61 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc const AudioDevice& device, double value) { device 62 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc device_volume_settings_->SetDouble(GetDeviceIdString(device), value); device 67 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc bool AudioDevicesPrefHandlerImpl::GetMuteValue(const AudioDevice& device) { device 70 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc std::string device_id_str = GetDeviceIdString(device); device 80 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc void AudioDevicesPrefHandlerImpl::SetMuteValue(const AudioDevice& device, device 82 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc device_mute_settings_->SetInteger(GetDeviceIdString(device), device 107 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc const AudioDevice& device) { device 110 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc std::string device_id_str = GetDeviceIdString(device); device 116 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc double value = device.is_input ? device 117 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc 0.0 : GetDeviceDefaultOutputVolume(device); device 124 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc const AudioDevice& device) { device 125 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.cc if (device.type == AUDIO_TYPE_HDMI) device 25 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h virtual double GetOutputVolumeValue(const AudioDevice* device) OVERRIDE; device 26 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h virtual double GetInputGainValue(const AudioDevice* device) OVERRIDE; device 27 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h virtual void SetVolumeGainValue(const AudioDevice& device, device 30 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h virtual bool GetMuteValue(const AudioDevice& device) OVERRIDE; device 31 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h virtual void SetMuteValue(const AudioDevice& device, bool mute_on) OVERRIDE; device 57 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h double GetVolumeGainPrefValue(const AudioDevice& device); device 58 chrome/browser/chromeos/audio/audio_devices_pref_handler_impl.h double GetDeviceDefaultOutputVolume(const AudioDevice& device); device 34 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc const device::BluetoothDevice* device) device 36 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc device_data_.SetString("address", device->GetAddress()); device 37 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc device_data_.SetString("name", device->GetName()); device 38 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc device_data_.SetBoolean("paired", device->IsPaired()); device 39 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.cc device_data_.SetBoolean("connected", device->IsConnected()); device 15 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.h namespace device { device 25 chrome/browser/chromeos/bluetooth/bluetooth_pairing_dialog.h const device::BluetoothDevice* device); device 214 chrome/browser/chromeos/mobile/mobile_activator.cc const DeviceState* device = NetworkHandler::Get()->network_state_handler()-> device 216 chrome/browser/chromeos/mobile/mobile_activator.cc if (!device) { device 253 chrome/browser/chromeos/mobile/mobile_activator.cc const DeviceState* device = NetworkHandler::Get()->network_state_handler()-> device 255 chrome/browser/chromeos/mobile/mobile_activator.cc if (!device) { device 261 chrome/browser/chromeos/mobile/mobile_activator.cc meid_ = device->meid(); device 262 chrome/browser/chromeos/mobile/mobile_activator.cc iccid_ = device->iccid(); device 441 chrome/browser/chromeos/policy/device_status_collector.cc chromeos::NetworkStateHandler::DeviceStateList::const_iterator device; device 442 chrome/browser/chromeos/policy/device_status_collector.cc for (device = device_list.begin(); device != device_list.end(); ++device) { device 446 chrome/browser/chromeos/policy/device_status_collector.cc if ((*device)->type() == kDeviceTypeMap[type_idx].type_string) device 457 chrome/browser/chromeos/policy/device_status_collector.cc if (!(*device)->mac_address().empty()) device 458 chrome/browser/chromeos/policy/device_status_collector.cc interface->set_mac_address((*device)->mac_address()); device 459 chrome/browser/chromeos/policy/device_status_collector.cc if (!(*device)->meid().empty()) device 460 chrome/browser/chromeos/policy/device_status_collector.cc interface->set_meid((*device)->meid()); device 461 chrome/browser/chromeos/policy/device_status_collector.cc if (!(*device)->imei().empty()) device 462 chrome/browser/chromeos/policy/device_status_collector.cc interface->set_imei((*device)->imei()); device 102 chrome/browser/chromeos/power/peripheral_battery_observer.cc device::BluetoothAdapterFactory::GetAdapter( device 169 chrome/browser/chromeos/power/peripheral_battery_observer.cc void PeripheralBatteryObserver::DeviceChanged(device::BluetoothAdapter* adapter, device 170 chrome/browser/chromeos/power/peripheral_battery_observer.cc device::BluetoothDevice* device) { device 171 chrome/browser/chromeos/power/peripheral_battery_observer.cc if (!device->IsPaired()) device 172 chrome/browser/chromeos/power/peripheral_battery_observer.cc RemoveBattery(device->GetAddress()); device 175 chrome/browser/chromeos/power/peripheral_battery_observer.cc void PeripheralBatteryObserver::DeviceRemoved(device::BluetoothAdapter* adapter, device 176 chrome/browser/chromeos/power/peripheral_battery_observer.cc device::BluetoothDevice* device) { device 177 chrome/browser/chromeos/power/peripheral_battery_observer.cc RemoveBattery(device->GetAddress()); device 181 chrome/browser/chromeos/power/peripheral_battery_observer.cc scoped_refptr<device::BluetoothAdapter> adapter) { device 26 chrome/browser/chromeos/power/peripheral_battery_observer.h public device::BluetoothAdapter::Observer { device 42 chrome/browser/chromeos/power/peripheral_battery_observer.h virtual void DeviceChanged(device::BluetoothAdapter* adapter, device 43 chrome/browser/chromeos/power/peripheral_battery_observer.h device::BluetoothDevice* device) OVERRIDE; device 44 chrome/browser/chromeos/power/peripheral_battery_observer.h virtual void DeviceRemoved(device::BluetoothAdapter* adapter, device 45 chrome/browser/chromeos/power/peripheral_battery_observer.h device::BluetoothDevice* device) OVERRIDE; device 71 chrome/browser/chromeos/power/peripheral_battery_observer.h scoped_refptr<device::BluetoothAdapter> adapter); device 87 chrome/browser/chromeos/power/peripheral_battery_observer.h scoped_refptr<device::BluetoothAdapter> bluetooth_adapter_; device 88 chrome/browser/chromeos/status/data_promo_notification.cc const DeviceState* device = NetworkHandler::Get()->network_state_handler()-> device 90 chrome/browser/chromeos/status/data_promo_notification.cc std::string carrier_id = device ? device->home_provider_id() : ""; device 93 chrome/browser/chromeos/status/data_promo_notification.cc device ? device->path(): "No device"); device 187 chrome/browser/devtools/adb/android_usb_device.cc scoped_refptr<UsbDevice> device, device 192 chrome/browser/devtools/adb/android_usb_device.cc scoped_refptr<UsbConfigDescriptor> config = device->ListInterfaces(); device 193 chrome/browser/devtools/adb/android_usb_device.cc scoped_refptr<UsbDeviceHandle> usb_handle = device->Open(); device 195 chrome/browser/devtools/adb/android_usb_device.cc scoped_refptr<AndroidUsbDevice> device = device 198 chrome/browser/devtools/adb/android_usb_device.cc if (device.get()) device 199 chrome/browser/devtools/adb/android_usb_device.cc g_devices.Get().push_back(device); device 249 chrome/browser/devtools/adb/android_usb_device.cc AndroidUsbDevice* device = it->get(); device 250 chrome/browser/devtools/adb/android_usb_device.cc if (usb_device == device->usb_device()->device()) { device 75 chrome/browser/devtools/adb/android_usb_device.h scoped_refptr<UsbDeviceHandle> device, device 27 chrome/browser/devtools/adb/android_usb_socket.cc AndroidUsbSocket::AndroidUsbSocket(scoped_refptr<AndroidUsbDevice> device, device 31 chrome/browser/devtools/adb/android_usb_socket.cc : device_(device), device 26 chrome/browser/devtools/adb/android_usb_socket.h AndroidUsbSocket(scoped_refptr<AndroidUsbDevice> device, device 356 chrome/browser/devtools/adb_client_socket_browsertest.cc ASSERT_TRUE(online_device_->device()->is_connected()); device 357 chrome/browser/devtools/adb_client_socket_browsertest.cc ASSERT_FALSE(offline_device_->device()->is_connected()); device 27 chrome/browser/devtools/adb_web_socket.cc scoped_refptr<AndroidDevice> device, device 32 chrome/browser/devtools/adb_web_socket.cc : device_(device), device 22 chrome/browser/devtools/adb_web_socket.h AdbWebSocket(scoped_refptr<AndroidDevice> device, device 77 chrome/browser/devtools/android_device.cc explicit UsbDeviceImpl(AndroidUsbDevice* device); device 100 chrome/browser/devtools/android_device.cc UsbDeviceImpl::UsbDeviceImpl(AndroidUsbDevice* device) device 101 chrome/browser/devtools/android_device.cc : AndroidDevice(device->serial(), device->is_connected()), device 102 chrome/browser/devtools/android_device.cc device_(device) { device 357 chrome/browser/devtools/devtools_adb_bridge.cc scoped_refptr<AndroidDevice> device = current_device(); device 359 chrome/browser/devtools/devtools_adb_bridge.cc if (device->is_connected()) { device 360 chrome/browser/devtools/devtools_adb_bridge.cc device->RunCommand(kDeviceModelCommand, device 363 chrome/browser/devtools/devtools_adb_bridge.cc device->set_model(kUnknownModel); device 364 chrome/browser/devtools/devtools_adb_bridge.cc remote_devices_->push_back(new DevToolsAdbBridge::RemoteDevice(device)); device 375 chrome/browser/devtools/devtools_adb_bridge.cc scoped_refptr<AndroidDevice> device = current_device(); device 376 chrome/browser/devtools/devtools_adb_bridge.cc device->set_model(response); device 377 chrome/browser/devtools/devtools_adb_bridge.cc remote_devices_->push_back(new DevToolsAdbBridge::RemoteDevice(device)); device 378 chrome/browser/devtools/devtools_adb_bridge.cc device->RunCommand(kDumpsysCommand, device 537 chrome/browser/devtools/devtools_adb_bridge.cc adb_thread_, remote_device->device(), socket); device 640 chrome/browser/devtools/devtools_adb_bridge.cc scoped_refptr<AndroidDevice> device, device 659 chrome/browser/devtools/devtools_adb_bridge.cc scoped_refptr<AndroidDevice> device, device 666 chrome/browser/devtools/devtools_adb_bridge.cc device, socket_name, debug_url, adb_thread_->message_loop(), this); device 746 chrome/browser/devtools/devtools_adb_bridge.cc id, browser->device(), browser->socket(), debug_url, device 754 chrome/browser/devtools/devtools_adb_bridge.cc scoped_refptr<AndroidDevice> device, device 764 chrome/browser/devtools/devtools_adb_bridge.cc device, socket_name, debug_url, adb_message_loop, this); device 886 chrome/browser/devtools/devtools_adb_bridge.cc browser_->device()->serial().c_str(), device 936 chrome/browser/devtools/devtools_adb_bridge.cc scoped_refptr<AndroidDevice> device, device 939 chrome/browser/devtools/devtools_adb_bridge.cc device_(device), device 1065 chrome/browser/devtools/devtools_adb_bridge.cc scoped_refptr<AndroidDevice> device) device 1066 chrome/browser/devtools/devtools_adb_bridge.cc : device_(device) { device 89 chrome/browser/devtools/devtools_adb_bridge.h scoped_refptr<AndroidDevice> device, device 94 chrome/browser/devtools/devtools_adb_bridge.h scoped_refptr<AndroidDevice> device() { return device_; } device 142 chrome/browser/devtools/devtools_adb_bridge.h explicit RemoteDevice(scoped_refptr<AndroidDevice> device); device 149 chrome/browser/devtools/devtools_adb_bridge.h scoped_refptr<AndroidDevice> device() { return device_; } device 397 chrome/browser/devtools/devtools_targets_ui.cc DevToolsAdbBridge::RemoteDevice* device = dit->get(); device 399 chrome/browser/devtools/devtools_targets_ui.cc device_data->SetString(kAdbModelField, device->GetModel()); device 400 chrome/browser/devtools/devtools_targets_ui.cc device_data->SetString(kAdbSerialField, device->GetSerial()); device 401 chrome/browser/devtools/devtools_targets_ui.cc device_data->SetBoolean(kAdbConnectedField, device->IsConnected()); device 404 chrome/browser/devtools/devtools_targets_ui.cc device->GetSerial().c_str()); device 409 chrome/browser/devtools/devtools_targets_ui.cc DevToolsAdbBridge::RemoteBrowsers& browsers = device->browsers(); device 423 chrome/browser/devtools/devtools_targets_ui.cc device->GetSerial().c_str(), // Ensure uniqueness across devices. device 463 chrome/browser/devtools/devtools_targets_ui.cc gfx::Size screen_size = device->screen_size(); device 474 chrome/browser/devtools/devtools_targets_ui.cc port_forwarding_status.find(device->GetSerial()); device 258 chrome/browser/devtools/port_forwarding_controller.cc scoped_refptr<AndroidDevice> device, device 314 chrome/browser/devtools/port_forwarding_controller.cc scoped_refptr<AndroidDevice> device, device 319 chrome/browser/devtools/port_forwarding_controller.cc device_(device), device 326 chrome/browser/devtools/port_forwarding_controller.cc device, socket, kDevToolsRemoteBrowserTarget, device 569 chrome/browser/devtools/port_forwarding_controller.cc scoped_refptr<DevToolsAdbBridge::RemoteDevice> device = *it; device 570 chrome/browser/devtools/port_forwarding_controller.cc if (!device->IsConnected()) device 572 chrome/browser/devtools/port_forwarding_controller.cc Registry::iterator rit = registry_.find(device->GetSerial()); device 574 chrome/browser/devtools/port_forwarding_controller.cc std::string socket = FindBestSocketForTethering(device->browsers()); device 577 chrome/browser/devtools/port_forwarding_controller.cc ®istry_, device->device(), socket, adb_thread_, pref_service_); device 580 chrome/browser/devtools/port_forwarding_controller.cc status[device->GetSerial()] = (*rit).second->GetPortStatusMap(); device 64 chrome/browser/extensions/api/audio/audio_service_chromeos.cc bool FindDevice(uint64 id, chromeos::AudioDevice* device); device 131 chrome/browser/extensions/api/audio/audio_service_chromeos.cc chromeos::AudioDevice device; device 132 chrome/browser/extensions/api/audio/audio_service_chromeos.cc bool found = FindDevice(GetIdFromStr(device_list[i]), &device); device 134 chrome/browser/extensions/api/audio/audio_service_chromeos.cc if (device.is_input && !input_device_set) { device 135 chrome/browser/extensions/api/audio/audio_service_chromeos.cc cras_audio_handler_->SwitchToDevice(device); device 137 chrome/browser/extensions/api/audio/audio_service_chromeos.cc } else if (!device.is_input && !output_device_set) { device 138 chrome/browser/extensions/api/audio/audio_service_chromeos.cc cras_audio_handler_->SwitchToDevice(device); device 153 chrome/browser/extensions/api/audio/audio_service_chromeos.cc chromeos::AudioDevice device; device 154 chrome/browser/extensions/api/audio/audio_service_chromeos.cc bool found = FindDevice(GetIdFromStr(device_id), &device); device 158 chrome/browser/extensions/api/audio/audio_service_chromeos.cc cras_audio_handler_->SetMuteForDevice(device.id, muted); device 160 chrome/browser/extensions/api/audio/audio_service_chromeos.cc if (!device.is_input && volume != -1) { device 161 chrome/browser/extensions/api/audio/audio_service_chromeos.cc cras_audio_handler_->SetVolumeGainPercentForDevice(device.id, volume); device 163 chrome/browser/extensions/api/audio/audio_service_chromeos.cc } else if (device.is_input && gain != -1) { device 164 chrome/browser/extensions/api/audio/audio_service_chromeos.cc cras_audio_handler_->SetVolumeGainPercentForDevice(device.id, gain); device 210 chrome/browser/extensions/api/audio/audio_service_chromeos.cc bool AudioServiceImpl::FindDevice(uint64 id, chromeos::AudioDevice* device) { device 216 chrome/browser/extensions/api/audio/audio_service_chromeos.cc *device = devices[i]; device 28 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc using device::BluetoothAdapter; device 29 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc using device::BluetoothDevice; device 30 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc using device::BluetoothProfile; device 31 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc using device::BluetoothServiceRecord; device 32 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc using device::BluetoothSocket; device 136 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc device::BluetoothUUID uuid(params->profile.uuid); device 220 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc device::BluetoothUUID uuid(params->profile.uuid); device 256 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc const BluetoothDevice* device = *iter; device 257 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc DCHECK(device); device 260 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc bluetooth::BluetoothDeviceToApiDevice(*device, &extension_device); device 278 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc BluetoothDevice* device = adapter->GetDevice(device_address); device 279 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc if (device) { device 281 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc bluetooth::BluetoothDeviceToApiDevice(*device, &extension_device); device 306 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc device::BluetoothUUID uuid(options.profile.uuid); device 314 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc BluetoothDevice* device = adapter->GetDevice(options.device.address); device 315 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc if (!device) { device 329 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc device->ConnectToProfile( device 459 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc BluetoothDevice* device = adapter->GetDevice(address); device 460 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc if (!device) { device 470 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc device::BluetoothOutOfBandPairingData data_out; device 475 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc tmp_data->GetSize() == device::kBluetoothOutOfBandPairingDataSize); device 478 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc device::kBluetoothOutOfBandPairingDataSize); device 482 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc tmp_data->GetSize() == device::kBluetoothOutOfBandPairingDataSize); device 485 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc device::kBluetoothOutOfBandPairingDataSize); device 487 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc device->SetOutOfBandPairingData( device 494 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc device->ClearOutOfBandPairingData( device 505 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc const device::BluetoothOutOfBandPairingData& data) { device 508 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc device::kBluetoothOutOfBandPairingDataSize); device 511 chrome/browser/extensions/api/bluetooth/bluetooth_api.cc device::kBluetoothOutOfBandPairingDataSize); device 25 chrome/browser/extensions/api/bluetooth/bluetooth_api.h namespace device { device 86 chrome/browser/extensions/api/bluetooth/bluetooth_api.h const device::BluetoothProfile::Options& options, device 87 chrome/browser/extensions/api/bluetooth/bluetooth_api.h const device::BluetoothProfile::ProfileCallback& callback); device 90 chrome/browser/extensions/api/bluetooth/bluetooth_api.h void OnProfileRegistered(device::BluetoothProfile* bluetooth_profile); device 92 chrome/browser/extensions/api/bluetooth/bluetooth_api.h device::BluetoothUUID uuid_; device 114 chrome/browser/extensions/api/bluetooth/bluetooth_api.h virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; device 125 chrome/browser/extensions/api/bluetooth/bluetooth_api.h virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; device 136 chrome/browser/extensions/api/bluetooth/bluetooth_api.h virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; device 147 chrome/browser/extensions/api/bluetooth/bluetooth_api.h virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; device 180 chrome/browser/extensions/api/bluetooth/bluetooth_api.h scoped_refptr<device::BluetoothSocket> socket_; device 199 chrome/browser/extensions/api/bluetooth/bluetooth_api.h scoped_refptr<device::BluetoothSocket> socket_; device 215 chrome/browser/extensions/api/bluetooth/bluetooth_api.h virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; device 228 chrome/browser/extensions/api/bluetooth/bluetooth_api.h const device::BluetoothOutOfBandPairingData& data); device 232 chrome/browser/extensions/api/bluetooth/bluetooth_api.h virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; device 244 chrome/browser/extensions/api/bluetooth/bluetooth_api.h virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; device 259 chrome/browser/extensions/api/bluetooth/bluetooth_api.h virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; device 22 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc void PopulatePairingEvent(const device::BluetoothDevice* device, device 25 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc api::bluetooth::BluetoothDeviceToApiDevice(*device, &out->device); device 39 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device::BluetoothDevice* device) { device 42 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device, bt_private::PAIRING_EVENT_TYPE_REQUESTPINCODE, &event); device 47 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device::BluetoothDevice* device) { device 50 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device, bt_private::PAIRING_EVENT_TYPE_REQUESTPASSKEY, &event); device 55 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device::BluetoothDevice* device, device 59 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device, bt_private::PAIRING_EVENT_TYPE_DISPLAYPINCODE, &event); device 65 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device::BluetoothDevice* device, device 69 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device, bt_private::PAIRING_EVENT_TYPE_DISPLAYPASSKEY, &event); device 74 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc void BluetoothApiPairingDelegate::KeysEntered(device::BluetoothDevice* device, device 78 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device, bt_private::PAIRING_EVENT_TYPE_KEYSENTERED, &event); device 84 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device::BluetoothDevice* device, device 88 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device, bt_private::PAIRING_EVENT_TYPE_CONFIRMPASSKEY, &event); device 94 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device::BluetoothDevice* device) { device 97 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.cc device, bt_private::PAIRING_EVENT_TYPE_REQUESTAUTHORIZATION, &event); device 22 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.h : public device::BluetoothDevice::PairingDelegate { device 29 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.h virtual void RequestPinCode(device::BluetoothDevice* device) OVERRIDE; device 30 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.h virtual void RequestPasskey(device::BluetoothDevice* device) OVERRIDE; device 31 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.h virtual void DisplayPinCode(device::BluetoothDevice* device, device 33 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.h virtual void DisplayPasskey(device::BluetoothDevice* device, device 35 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.h virtual void KeysEntered(device::BluetoothDevice* device, device 37 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.h virtual void ConfirmPasskey(device::BluetoothDevice* device, device 39 chrome/browser/extensions/api/bluetooth/bluetooth_api_pairing_delegate.h virtual void AuthorizePairing(device::BluetoothDevice* device) OVERRIDE; device 15 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc using device::BluetoothDevice; device 94 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc void BluetoothDeviceToApiDevice(const device::BluetoothDevice& device, device 96 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc out->address = device.GetAddress(); device 97 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc out->name.reset(new std::string(base::UTF16ToUTF8(device.GetName()))); device 98 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc out->device_class.reset(new int(device.GetBluetoothClass())); device 102 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc if (ConvertVendorIDSourceToApi(device.GetVendorIDSource(), device 105 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc out->vendor_id.reset(new int(device.GetVendorID())); device 106 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc out->product_id.reset(new int(device.GetProductID())); device 107 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc out->device_id.reset(new int(device.GetDeviceID())); device 110 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc ConvertDeviceTypeToApi(device.GetDeviceType(), &(out->type)); device 112 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc out->paired.reset(new bool(device.IsPaired())); device 113 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc out->connected.reset(new bool(device.IsConnected())); device 116 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc const device::BluetoothDevice::UUIDList& uuids = device.GetUUIDs(); device 117 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc for (device::BluetoothDevice::UUIDList::const_iterator iter = uuids.begin(); device 123 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.cc void PopulateAdapterState(const device::BluetoothAdapter& adapter, device 19 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.h const device::BluetoothDevice& device, device 23 chrome/browser/extensions/api/bluetooth/bluetooth_api_utils.h void PopulateAdapterState(const device::BluetoothAdapter& adapter, device 27 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc using device::BluetoothAdapter; device 28 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc using device::BluetoothDevice; device 29 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc using device::BluetoothDiscoverySession; device 30 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc using device::BluetoothOutOfBandPairingData; device 31 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc using device::BluetoothProfile; device 32 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc using device::BluetoothUUID; device 33 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc using device::MockBluetoothAdapter; device 34 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc using device::MockBluetoothDevice; device 35 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc using device::MockBluetoothDiscoverySession; device 36 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc using device::MockBluetoothProfile; device 129 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc const device::BluetoothProfile::Options& options, device 130 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc const device::BluetoothProfile::ProfileCallback& callback) OVERRIDE { device 146 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc device::kBluetoothOutOfBandPairingDataSize); device 148 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc device::kBluetoothOutOfBandPairingDataSize); device 562 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc scoped_refptr<device::MockBluetoothSocket> socket = device 563 chrome/browser/extensions/api/bluetooth/bluetooth_apitest.cc new device::MockBluetoothSocket(); device 43 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc scoped_refptr<device::BluetoothSocket> socket; device 49 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothProfile* profile; device 76 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothAdapterFactory::IsBluetoothAdapterAvailable(); device 80 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc const device::BluetoothAdapterFactory::AdapterCallback& callback) { device 82 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc callback.Run(scoped_refptr<device::BluetoothAdapter>(adapter_)); device 86 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothAdapterFactory::GetAdapter(callback); device 91 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc scoped_refptr<device::BluetoothSocket> socket) { device 113 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc const device::BluetoothUUID& uuid, device 115 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothProfile* bluetooth_profile) { device 121 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc void BluetoothEventRouter::RemoveProfile(const device::BluetoothUUID& uuid) { device 124 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothProfile* bluetooth_profile = iter->second.profile; device 130 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc bool BluetoothEventRouter::HasProfile(const device::BluetoothUUID& uuid) const { device 135 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothAdapter* adapter, device 159 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothAdapter* adapter, device 174 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothDiscoverySession* session = iter->second; device 178 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothProfile* BluetoothEventRouter::GetProfile( device 179 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc const device::BluetoothUUID& uuid) const { device 187 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc scoped_refptr<device::BluetoothSocket> BluetoothEventRouter::GetSocket(int id) { device 196 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc const device::BluetoothUUID& uuid, device 197 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc const device::BluetoothDevice* device, device 198 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc scoped_refptr<device::BluetoothSocket> socket) { device 204 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc bluetooth::BluetoothDeviceToApiDevice(*device, &result_socket.device); device 226 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc scoped_refptr<device::BluetoothAdapter> adapter) { device 260 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc delegate, device::BluetoothAdapter::PAIRING_DELEGATE_PRIORITY_HIGH); device 282 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothAdapter* adapter, device 292 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothAdapter* adapter, device 302 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothAdapter* adapter, device 315 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothDiscoverySession* session = iter->second; device 329 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc void BluetoothEventRouter::DeviceAdded(device::BluetoothAdapter* adapter, device 330 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothDevice* device) { device 336 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc DispatchDeviceEvent(bluetooth::OnDeviceAdded::kEventName, device); device 339 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc void BluetoothEventRouter::DeviceChanged(device::BluetoothAdapter* adapter, device 340 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothDevice* device) { device 346 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc DispatchDeviceEvent(bluetooth::OnDeviceChanged::kEventName, device); device 349 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc void BluetoothEventRouter::DeviceRemoved(device::BluetoothAdapter* adapter, device 350 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothDevice* device) { device 356 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc DispatchDeviceEvent(bluetooth::OnDeviceRemoved::kEventName, device); device 389 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc device::BluetoothDevice* device) { device 391 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc bluetooth::BluetoothDeviceToApiDevice(*device, &extension_device); device 463 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc scoped_ptr<device::BluetoothDiscoverySession> discovery_session) { device 27 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h namespace device { device 39 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h class BluetoothEventRouter : public device::BluetoothAdapter::Observer, device 50 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h const device::BluetoothAdapterFactory::AdapterCallback& callback); device 57 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h scoped_refptr<device::BluetoothSocket> socket); device 67 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h void AddProfile(const device::BluetoothUUID& uuid, device 69 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h device::BluetoothProfile* bluetooth_profile); device 73 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h void RemoveProfile(const device::BluetoothUUID& uuid); device 77 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h bool HasProfile(const device::BluetoothUUID& uuid) const; device 83 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h void StartDiscoverySession(device::BluetoothAdapter* adapter, device 93 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h void StopDiscoverySession(device::BluetoothAdapter* adapter, device 100 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h device::BluetoothProfile* GetProfile(const device::BluetoothUUID& uuid) const; device 103 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h scoped_refptr<device::BluetoothSocket> GetSocket(int id); device 108 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h const device::BluetoothUUID& uuid, device 109 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h const device::BluetoothDevice* device, device 110 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h scoped_refptr<device::BluetoothSocket> socket); device 130 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h void SetAdapterForTest(device::BluetoothAdapter* adapter) { device 135 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h virtual void AdapterPresentChanged(device::BluetoothAdapter* adapter, device 137 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h virtual void AdapterPoweredChanged(device::BluetoothAdapter* adapter, device 139 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h virtual void AdapterDiscoveringChanged(device::BluetoothAdapter* adapter, device 141 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h virtual void DeviceAdded(device::BluetoothAdapter* adapter, device 142 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h device::BluetoothDevice* device) OVERRIDE; device 143 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h virtual void DeviceChanged(device::BluetoothAdapter* adapter, device 144 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h device::BluetoothDevice* device) OVERRIDE; device 145 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h virtual void DeviceRemoved(device::BluetoothAdapter* adapter, device 146 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h device::BluetoothDevice* device) OVERRIDE; device 164 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h scoped_refptr<device::BluetoothAdapter> adapter); device 168 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h device::BluetoothDevice* device); device 174 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h scoped_ptr<device::BluetoothDiscoverySession> discovery_session); device 177 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h scoped_refptr<device::BluetoothAdapter> adapter_; device 191 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h typedef std::map<device::BluetoothUUID, ExtensionBluetoothProfileRecord> device 196 chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h typedef std::map<std::string, device::BluetoothDiscoverySession*> device 32 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc const device::BluetoothUUID kAudioProfileUuid("1234"); device 33 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc const device::BluetoothUUID kHealthProfileUuid("4321"); device 91 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc : mock_adapter_(new testing::StrictMock<device::MockBluetoothAdapter>()), device 108 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc testing::StrictMock<device::MockBluetoothAdapter>* mock_adapter_; device 109 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc testing::NiceMock<device::MockBluetoothProfile> mock_audio_profile_; device 110 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc testing::NiceMock<device::MockBluetoothProfile> mock_health_profile_; device 197 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc testing::NiceMock<device::MockBluetoothDevice> mock_device( device 199 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc scoped_refptr<testing::NiceMock<device::MockBluetoothSocket> > mock_socket( device 200 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc new testing::NiceMock<device::MockBluetoothSocket>()); device 236 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc testing::NiceMock<device::MockBluetoothDevice> mock_device( device 238 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc scoped_refptr<testing::NiceMock<device::MockBluetoothSocket> > mock_socket( device 239 chrome/browser/extensions/api/bluetooth/bluetooth_event_router_unittest.cc new testing::NiceMock<device::MockBluetoothSocket>()); device 27 chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.cc void GetAdapter(const device::BluetoothAdapterFactory::AdapterCallback callback, device 56 chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.cc scoped_refptr<device::BluetoothAdapter> adapter) { device 12 chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h namespace device { device 36 chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h void RunOnAdapterReady(scoped_refptr<device::BluetoothAdapter> adapter); device 40 chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) = 0; device 77 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc const device::BluetoothDevice* device, device 92 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc if (pincode && !device->ExpectingPinCode()) device 94 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc if (passkey && !device->ExpectingPasskey()) device 97 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc !passkey && !device->ExpectingConfirmation()) device 112 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc scoped_refptr<device::BluetoothAdapter> adapter) { device 218 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc scoped_refptr<device::BluetoothAdapter> adapter) { device 232 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc const std::string& device_address = options.device.address; device 233 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc device::BluetoothDevice* device = adapter->GetDevice(device_address); device 234 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc if (!device) { device 240 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc if (!ValidatePairingResponseOptions(device, options)) { device 249 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc device->ConfirmPairing(); device 252 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc device->RejectPairing(); device 255 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc device->CancelPairing(); device 261 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc device->SetPinCode(*options.pincode.get()); device 263 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc device->SetPasskey(*options.passkey.get()); device 13 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.h namespace device { device 68 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.h virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; device 86 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.h virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; device 100 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.h virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; device 114 chrome/browser/extensions/api/bluetooth/bluetooth_private_api.h virtual bool DoWork(scoped_refptr<device::BluetoothAdapter> adapter) OVERRIDE; device 47 chrome/browser/extensions/api/dial/dial_device_data.cc void DialDeviceData::FillDialDevice(api::dial::DialDevice* device) const { device 50 chrome/browser/extensions/api/dial/dial_device_data.cc device->device_label = label_; device 51 chrome/browser/extensions/api/dial/dial_device_data.cc device->device_description_url = device_description_url_.spec(); device 53 chrome/browser/extensions/api/dial/dial_device_data.cc device->config_id.reset(new int(config_id_)); device 65 chrome/browser/extensions/api/dial/dial_device_data.h void FillDialDevice(api::dial::DialDevice* device) const; device 28 chrome/browser/extensions/api/dial/dial_device_data_unittest.cc DialDeviceData device; device 29 chrome/browser/extensions/api/dial/dial_device_data_unittest.cc device.set_device_id("device"); device 30 chrome/browser/extensions/api/dial/dial_device_data_unittest.cc device.set_label("label"); device 31 chrome/browser/extensions/api/dial/dial_device_data_unittest.cc device.set_device_description_url(GURL("http://127.0.0.1/dd.xml")); device 32 chrome/browser/extensions/api/dial/dial_device_data_unittest.cc device.set_config_id(1); device 34 chrome/browser/extensions/api/dial/dial_device_data_unittest.cc device.FillDialDevice(&api_device); device 35 chrome/browser/extensions/api/dial/dial_device_data_unittest.cc EXPECT_EQ(api_device.device_label, device.label()); device 37 chrome/browser/extensions/api/dial/dial_device_data_unittest.cc device.device_description_url().spec()); device 38 chrome/browser/extensions/api/dial/dial_device_data_unittest.cc EXPECT_EQ(*(api_device.config_id), device.config_id()); device 149 chrome/browser/extensions/api/dial/dial_registry.cc linked_ptr<DialDeviceData> device = i->second; device 150 chrome/browser/extensions/api/dial/dial_registry.cc if (IsDeviceExpired(*device)) { device 151 chrome/browser/extensions/api/dial/dial_registry.cc VLOG(2) << "Device " << device->label() << " expired, removing"; device 153 chrome/browser/extensions/api/dial/dial_registry.cc device_by_id_map_.erase(device->device_id()); device 164 chrome/browser/extensions/api/dial/dial_registry.cc bool DialRegistry::IsDeviceExpired(const DialDeviceData& device) const { device 168 chrome/browser/extensions/api/dial/dial_registry.cc Time default_expiration_time = device.response_time() + expiration_delta_; device 173 chrome/browser/extensions/api/dial/dial_registry.cc if (device.has_max_age()) { device 175 chrome/browser/extensions/api/dial/dial_registry.cc device.response_time() + TimeDelta::FromSeconds(device.max_age()); device 229 chrome/browser/extensions/api/dial/dial_registry.cc const DialDeviceData& device) { device 235 chrome/browser/extensions/api/dial/dial_registry.cc linked_ptr<DialDeviceData> device_data(new DialDeviceData(device)); device 93 chrome/browser/extensions/api/dial/dial_registry.h const DialDeviceData& device) OVERRIDE; device 128 chrome/browser/extensions/api/dial/dial_registry.h bool IsDeviceExpired(const DialDeviceData& device) const; device 323 chrome/browser/extensions/api/dial/dial_service.cc DialDeviceData* device) { device 356 chrome/browser/extensions/api/dial/dial_service.cc device->set_device_id(device_id); device 357 chrome/browser/extensions/api/dial/dial_service.cc device->set_device_description_url(device_url); device 358 chrome/browser/extensions/api/dial/dial_service.cc device->set_response_time(response_time); device 369 chrome/browser/extensions/api/dial/dial_service.cc device->set_config_id(config_id_int); device 70 chrome/browser/extensions/api/dial/dial_service.h const DialDeviceData& device) = 0; device 169 chrome/browser/extensions/api/dial/dial_service.h DialDeviceData* device); device 21 chrome/browser/extensions/api/hid/hid_api.cc using device::HidConnection; device 22 chrome/browser/extensions/api/hid/hid_api.cc using device::HidDeviceInfo; device 23 chrome/browser/extensions/api/hid/hid_api.cc using device::HidService; device 112 chrome/browser/extensions/api/hid/hid_api.cc device::HidDeviceInfo device_info; device 30 chrome/browser/extensions/api/hid/hid_connection_resource.cc scoped_refptr<device::HidConnection> connection) device 21 chrome/browser/extensions/api/hid/hid_connection_resource.h scoped_refptr<device::HidConnection> connection); device 24 chrome/browser/extensions/api/hid/hid_connection_resource.h scoped_refptr<device::HidConnection> connection() const { device 36 chrome/browser/extensions/api/hid/hid_connection_resource.h scoped_refptr<device::HidConnection> connection_; device 13 chrome/browser/extensions/api/hid/hid_device_manager.cc using device::HidService; device 43 chrome/browser/extensions/api/hid/hid_device_manager.cc device::HidDeviceId device_id = device_iter->second; device 44 chrome/browser/extensions/api/hid/hid_device_manager.cc device::HidDeviceInfo device_info; device 60 chrome/browser/extensions/api/hid/hid_device_manager.cc device::HidDeviceInfo* device_info) { device 78 chrome/browser/extensions/api/hid/hid_device_manager.cc std::vector<device::HidDeviceInfo> devices; device 84 chrome/browser/extensions/api/hid/hid_device_manager.cc for (std::vector<device::HidDeviceInfo>::const_iterator iter = device 88 chrome/browser/extensions/api/hid/hid_device_manager.cc const device::HidDeviceInfo& device_info = *iter; device 38 chrome/browser/extensions/api/hid/hid_device_manager.h bool GetDeviceInfo(int resource_id, device::HidDeviceInfo* device_info); device 51 chrome/browser/extensions/api/hid/hid_device_manager.h typedef std::map<int, device::HidDeviceId> ResourceIdToDeviceIdMap; device 52 chrome/browser/extensions/api/hid/hid_device_manager.h typedef std::map<device::HidDeviceId, int> DeviceIdToResourceIdMap; device 33 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos.cc linked_ptr<api::image_writer_private::RemovableStorageDevice> device( device 35 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos.cc device->storage_unit_id = disk.file_path(); device 36 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos.cc device->capacity = disk.total_size_in_bytes(); device 37 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos.cc device->vendor = disk.vendor_name(); device 38 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos.cc device->model = disk.product_name(); device 40 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos.cc if (device->model.empty() && device->vendor.empty()) { device 42 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos.cc device->model = kUnknownUSBDiskModel; device 44 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos.cc device->model = kUnknownSDDiskModel; device 48 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos.cc device_list->data.push_back(device); device 100 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc RemovableStorageDevice* device = FindDevice(devices_, device_path); device 102 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 104 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc EXPECT_EQ(device_path, device->storage_unit_id); device 105 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc EXPECT_EQ(vendor, device->vendor); device 106 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc EXPECT_EQ(model, device->model); device 107 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_chromeos_unittest.cc EXPECT_EQ(capacity, device->capacity); device 27 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc std::string device = file_path.BaseName().value(); device 30 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc .Append(device) device 105 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc linked_ptr<api::image_writer_private::RemovableStorageDevice> device( device 107 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc device->vendor = udev_device_get_sysattr_value(parent, "vendor"); device 108 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc device->model = udev_device_get_sysattr_value(parent, "model"); device 110 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc device->storage_unit_id = udev_device_get_devnode(dev); device 111 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc device->capacity = get_int_attr(udev_device_get_sysattr_value(dev, "size")) device 112 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc * get_device_blk_size(device->storage_unit_id); device 114 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_linux.cc device_list->data.push_back(device); device 129 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_win.cc linked_ptr<api::image_writer_private::RemovableStorageDevice> device( device 131 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_win.cc device->capacity = disk_capacity; device 134 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_win.cc device->storage_unit_id = base::UTF16ToUTF8(device_path_16); device 138 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_win.cc device->vendor.assign(output_buf.get() + device_descriptor->VendorIdOffset); device 144 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_win.cc device->model.assign(output_buf.get() + device_descriptor->ProductIdOffset); device 147 chrome/browser/extensions/api/image_writer_private/removable_storage_provider_win.cc device_list->data.push_back(device); device 88 chrome/browser/extensions/api/serial/serial_api.cc device::SerialDeviceInfoList devices; device 89 chrome/browser/extensions/api/serial/serial_api.cc scoped_ptr<device::SerialDeviceEnumerator> enumerator = device 90 chrome/browser/extensions/api/serial/serial_api.cc device::SerialDeviceEnumerator::Create(); device 94 chrome/browser/extensions/api/serial/serial_api.cc for (device::SerialDeviceInfoList::const_iterator iter = devices.begin(); device 97 chrome/browser/extensions/api/serial/serial_api.cc linked_ptr<device::SerialDeviceInfo> device = *iter; device 99 chrome/browser/extensions/api/serial/serial_api.cc info->path = device->path; device 100 chrome/browser/extensions/api/serial/serial_api.cc if (device->vendor_id) device 101 chrome/browser/extensions/api/serial/serial_api.cc info->vendor_id.reset(new int(static_cast<int>(*device->vendor_id))); device 102 chrome/browser/extensions/api/serial/serial_api.cc if (device->product_id) device 103 chrome/browser/extensions/api/serial/serial_api.cc info->product_id.reset(new int(static_cast<int>(*device->product_id))); device 104 chrome/browser/extensions/api/serial/serial_api.cc info->display_name.reset(device->display_name.release()); device 227 chrome/browser/extensions/api/sessions/sessions_apitest.cc base::DictionaryValue* device = NULL; device 230 chrome/browser/extensions/api/sessions/sessions_apitest.cc EXPECT_TRUE(devices->GetDictionary(i, &device)); device 231 chrome/browser/extensions/api/sessions/sessions_apitest.cc EXPECT_EQ(kSessionTags[i], utils::GetString(device, "info")); device 232 chrome/browser/extensions/api/sessions/sessions_apitest.cc EXPECT_TRUE(device->GetList("sessions", &sessions)); device 248 chrome/browser/extensions/api/sessions/sessions_apitest.cc base::DictionaryValue* device = NULL; device 251 chrome/browser/extensions/api/sessions/sessions_apitest.cc EXPECT_TRUE(devices->GetDictionary(i, &device)); device 252 chrome/browser/extensions/api/sessions/sessions_apitest.cc EXPECT_EQ(kSessionTags[i], utils::GetString(device, "info")); device 253 chrome/browser/extensions/api/sessions/sessions_apitest.cc EXPECT_TRUE(device->GetList("sessions", &sessions)); device 74 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc DeviceInfo* device = (*device_info)[i]; device 76 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc device->guid()); device 81 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc value->SetString(local_id, device->guid()); device 83 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc device->set_public_id(local_id); device 99 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc scoped_ptr<DeviceInfo> device(*it); device 101 chrome/browser/extensions/api/signed_in_devices/id_mapping_helper.cc return device.Pass(); device 96 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc scoped_ptr<DeviceInfo> device = GetDeviceInfoForClientId(guid, device 99 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc return device.Pass(); device 110 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc scoped_ptr<DeviceInfo> device = device 113 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc if (device.get()) { device 114 chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.cc result->Append(device->ToValue()); device 36 chrome/browser/extensions/api/system_display/display_info_provider_win.cc DISPLAY_DEVICE device; device 37 chrome/browser/extensions/api/system_display/display_info_provider_win.cc device.cb = sizeof(device); device 38 chrome/browser/extensions/api/system_display/display_info_provider_win.cc if (!EnumDisplayDevices(monitor_info.szDevice, 0, &device, 0)) device 44 chrome/browser/extensions/api/system_display/display_info_provider_win.cc unit->name = base::WideToUTF8(device.DeviceString); device 243 chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc const content::MediaStreamDevice& device, device 246 chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc if (device.type != content::MEDIA_TAB_VIDEO_CAPTURE && device 247 chrome/browser/extensions/api/tab_capture/tab_capture_registry.cc device.type != content::MEDIA_TAB_AUDIO_CAPTURE) { device 86 chrome/browser/extensions/api/tab_capture/tab_capture_registry.h const content::MediaStreamDevice& device, device 361 chrome/browser/extensions/api/usb/usb_api.cc base::Value* PopulateDevice(UsbDevice* device) { device 363 chrome/browser/extensions/api/usb/usb_api.cc result.device = device->unique_id(); device 364 chrome/browser/extensions/api/usb/usb_api.cc result.vendor_id = device->vendor_id(); device 365 chrome/browser/extensions/api/usb/usb_api.cc result.product_id = device->product_id(); device 429 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<UsbDevice> device; device 431 chrome/browser/extensions/api/usb/usb_api.cc device = service->GetDeviceById(input_device.device); device 433 chrome/browser/extensions/api/usb/usb_api.cc if (!device) { device 438 chrome/browser/extensions/api/usb/usb_api.cc if (device->vendor_id() != input_device.vendor_id || device 439 chrome/browser/extensions/api/usb/usb_api.cc device->product_id() != input_device.product_id) { device 446 chrome/browser/extensions/api/usb/usb_api.cc return device; device 459 chrome/browser/extensions/api/usb/usb_api.cc if (!resource->device() || !resource->device()->device()) { device 465 chrome/browser/extensions/api/usb/usb_api.cc if (resource->device()->device()->vendor_id() != device 467 chrome/browser/extensions/api/usb/usb_api.cc resource->device()->device()->product_id() != device 473 chrome/browser/extensions/api/usb/usb_api.cc return resource->device(); device 617 chrome/browser/extensions/api/usb/usb_api.cc void UsbGetDevicesFunction::SetDeviceForTest(UsbDevice* device) { device 618 chrome/browser/extensions/api/usb/usb_api.cc g_device_for_test = device; device 685 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<UsbDevice> device = device 686 chrome/browser/extensions/api/usb/usb_api.cc GetDeviceOrOrCompleteWithError(parameters_->device); device 687 chrome/browser/extensions/api/usb/usb_api.cc if (!device) return; device 689 chrome/browser/extensions/api/usb/usb_api.cc device->RequestUsbAcess(parameters_->interface_id, device 714 chrome/browser/extensions/api/usb/usb_api.cc scoped_refptr<UsbDevice> device = device 715 chrome/browser/extensions/api/usb/usb_api.cc GetDeviceOrOrCompleteWithError(parameters_->device); device 716 chrome/browser/extensions/api/usb/usb_api.cc if (!device) return; device 718 chrome/browser/extensions/api/usb/usb_api.cc handle_ = device->Open(); device 727 chrome/browser/extensions/api/usb/usb_api.cc handle_->device()->vendor_id(), device 728 chrome/browser/extensions/api/usb/usb_api.cc handle_->device()->product_id())); device 748 chrome/browser/extensions/api/usb/usb_api.cc device_handle->device()->ListInterfaces(); device 93 chrome/browser/extensions/api/usb/usb_api.h static void SetDeviceForTest(UsbDevice* device); device 60 chrome/browser/extensions/api/usb/usb_apitest.cc void set_device(UsbDevice* device) { device_ = device; } device 34 chrome/browser/extensions/api/usb/usb_device_resource.cc scoped_refptr<UsbDeviceHandle> device) device 35 chrome/browser/extensions/api/usb/usb_device_resource.cc : ApiResource(owner_extension_id), device_(device) {} device 33 chrome/browser/extensions/api/usb/usb_device_resource.h scoped_refptr<UsbDeviceHandle> device); device 36 chrome/browser/extensions/api/usb/usb_device_resource.h scoped_refptr<UsbDeviceHandle> device() { return device_; } device 322 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc for (AudioDeviceNames::const_iterator device = devices.begin(); device 323 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc device != devices.end(); device 324 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc ++device) { device 329 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc std::string raw_device_id = device->unique_id; device 123 chrome/browser/local_discovery/privet_notifications.cc DeviceContext* device = device_iter->second.get(); device 124 chrome/browser/local_discovery/privet_notifications.cc device->privet_http.swap(http_client); device 125 chrome/browser/local_discovery/privet_notifications.cc device->info_operation = device->privet_http->CreateInfoOperation( device 128 chrome/browser/local_discovery/privet_notifications.cc device)); device 129 chrome/browser/local_discovery/privet_notifications.cc device->info_operation->Start(); device 133 chrome/browser/local_discovery/privet_notifications.cc DeviceContext* device, device 143 chrome/browser/local_discovery/privet_notifications.cc DCHECK(!device->notification_may_be_active); device 144 chrome/browser/local_discovery/privet_notifications.cc device->notification_may_be_active = true; device 153 chrome/browser/local_discovery/privet_notifications.cc DeviceContext* device = device_iter->second.get(); device 155 chrome/browser/local_discovery/privet_notifications.cc device->info_operation.reset(); device 156 chrome/browser/local_discovery/privet_notifications.cc device->privet_http_resolution.reset(); device 157 chrome/browser/local_discovery/privet_notifications.cc device->notification_may_be_active = false; device 164 chrome/browser/local_discovery/privet_notifications.cc DeviceContext* device = i->second.get(); device 166 chrome/browser/local_discovery/privet_notifications.cc device->info_operation.reset(); device 167 chrome/browser/local_discovery/privet_notifications.cc device->privet_http_resolution.reset(); device 168 chrome/browser/local_discovery/privet_notifications.cc if (device->notification_may_be_active) { device 169 chrome/browser/local_discovery/privet_notifications.cc device->notification_may_be_active = false; device 78 chrome/browser/local_discovery/privet_notifications.h void OnPrivetInfoDone(DeviceContext* device, device 688 chrome/browser/media/media_capture_devices_dispatcher.cc const content::MediaStreamDevice* device = device 690 chrome/browser/media/media_capture_devices_dispatcher.cc if (!device) device 691 chrome/browser/media/media_capture_devices_dispatcher.cc device = GetFirstAvailableAudioDevice(); device 692 chrome/browser/media/media_capture_devices_dispatcher.cc if (device) device 693 chrome/browser/media/media_capture_devices_dispatcher.cc devices->push_back(*device); device 698 chrome/browser/media/media_capture_devices_dispatcher.cc const content::MediaStreamDevice* device = device 700 chrome/browser/media/media_capture_devices_dispatcher.cc if (!device) device 701 chrome/browser/media/media_capture_devices_dispatcher.cc device = GetFirstAvailableVideoDevice(); device 702 chrome/browser/media/media_capture_devices_dispatcher.cc if (device) device 703 chrome/browser/media/media_capture_devices_dispatcher.cc devices->push_back(*device); device 712 chrome/browser/media/media_capture_devices_dispatcher.cc const content::MediaStreamDevice* const device = device 714 chrome/browser/media/media_capture_devices_dispatcher.cc return device; device 731 chrome/browser/media/media_capture_devices_dispatcher.cc const content::MediaStreamDevice* const device = device 733 chrome/browser/media/media_capture_devices_dispatcher.cc return device; device 784 chrome/browser/media/media_capture_devices_dispatcher.cc const content::MediaStreamDevice& device, device 792 chrome/browser/media/media_capture_devices_dispatcher.cc page_request_id, security_origin, device, state)); device 857 chrome/browser/media/media_capture_devices_dispatcher.cc const content::MediaStreamDevice& device, device 862 chrome/browser/media/media_capture_devices_dispatcher.cc if (device.type == content::MEDIA_DESKTOP_VIDEO_CAPTURE) { device 904 chrome/browser/media/media_capture_devices_dispatcher.cc if (IsOriginForCasting(security_origin) && IsVideoMediaType(device.type)) { device 917 chrome/browser/media/media_capture_devices_dispatcher.cc device, device 55 chrome/browser/media/media_capture_devices_dispatcher.h const content::MediaStreamDevice& device, device 122 chrome/browser/media/media_capture_devices_dispatcher.h const content::MediaStreamDevice& device, device 209 chrome/browser/media/media_capture_devices_dispatcher.h const content::MediaStreamDevice& device, device 246 chrome/browser/media/media_stream_devices_controller.cc const content::MediaStreamDevice* device = NULL; device 254 chrome/browser/media/media_stream_devices_controller.cc device = MediaCaptureDevicesDispatcher::GetInstance()-> device 257 chrome/browser/media/media_stream_devices_controller.cc device = MediaCaptureDevicesDispatcher::GetInstance()-> device 264 chrome/browser/media/media_stream_devices_controller.cc device = MediaCaptureDevicesDispatcher::GetInstance()-> device 267 chrome/browser/media/media_stream_devices_controller.cc device = MediaCaptureDevicesDispatcher::GetInstance()-> device 271 chrome/browser/media/media_stream_devices_controller.cc if (device) device 272 chrome/browser/media/media_stream_devices_controller.cc devices.push_back(*device); device 32 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc device::MediaTransferProtocolManager* GetMediaTransferProtocolManager() { device 67 chrome/browser/media_galleries/linux/mtp_read_file_worker.cc device::MediaTransferProtocolManager* mtp_device_manager = device 70 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc IPortableDevice* device = device 73 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (!device) device 91 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc media_transfer_protocol::GetObjectIdFromName(device, parent_id, device 109 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc IPortableDevice* device = device 112 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (!device) device 121 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (!media_transfer_protocol::GetDirectoryEntries(device, object_id, device 140 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc base::win::ScopedComPtr<IPortableDevice> device = device 142 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc bool init_succeeded = device.get() != NULL; device 145 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc registered_device_path, device.get()); device 162 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc IPortableDevice* device = device 165 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (!device) device 172 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc return media_transfer_protocol::GetFileEntryInfo(device, object_id, device 225 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc IPortableDevice* device = device 228 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc if (!device) device 250 chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc device, device 56 chrome/browser/media_galleries/win/mtp_device_operations_util.cc IPortableDevice* device) { device 58 chrome/browser/media_galleries/win/mtp_device_operations_util.cc DCHECK(device); device 60 chrome/browser/media_galleries/win/mtp_device_operations_util.cc if (SUCCEEDED(device->Content(content.Receive()))) device 69 chrome/browser/media_galleries/win/mtp_device_operations_util.cc IPortableDevice* device, device 72 chrome/browser/media_galleries/win/mtp_device_operations_util.cc DCHECK(device); device 75 chrome/browser/media_galleries/win/mtp_device_operations_util.cc GetDeviceContent(device); device 165 chrome/browser/media_galleries/win/mtp_device_operations_util.cc bool GetObjectDetails(IPortableDevice* device, device 172 chrome/browser/media_galleries/win/mtp_device_operations_util.cc DCHECK(device); device 179 chrome/browser/media_galleries/win/mtp_device_operations_util.cc GetDeviceContent(device); device 228 chrome/browser/media_galleries/win/mtp_device_operations_util.cc bool GetMTPDeviceObjectEntry(IPortableDevice* device, device 232 chrome/browser/media_galleries/win/mtp_device_operations_util.cc DCHECK(device); device 239 chrome/browser/media_galleries/win/mtp_device_operations_util.cc if (!GetObjectDetails(device, object_id, &name, &is_directory, &size, device 251 chrome/browser/media_galleries/win/mtp_device_operations_util.cc bool GetMTPDeviceObjectEntries(IPortableDevice* device, device 256 chrome/browser/media_galleries/win/mtp_device_operations_util.cc DCHECK(device); device 260 chrome/browser/media_galleries/win/mtp_device_operations_util.cc GetDeviceObjectEnumerator(device, directory_object_id); device 276 chrome/browser/media_galleries/win/mtp_device_operations_util.cc if (GetMTPDeviceObjectEntry(device, device 302 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::win::ScopedComPtr<IPortableDevice> device; device 303 chrome/browser/media_galleries/win/mtp_device_operations_util.cc HRESULT hr = device.CreateInstance(__uuidof(PortableDevice), NULL, device 308 chrome/browser/media_galleries/win/mtp_device_operations_util.cc hr = device->Open(pnp_device_id.c_str(), client_info.get()); device 310 chrome/browser/media_galleries/win/mtp_device_operations_util.cc return device; device 317 chrome/browser/media_galleries/win/mtp_device_operations_util.cc IPortableDevice* device, device 320 chrome/browser/media_galleries/win/mtp_device_operations_util.cc DCHECK(device); device 324 chrome/browser/media_galleries/win/mtp_device_operations_util.cc if (!GetMTPDeviceObjectEntry(device, object_id, &entry)) device 336 chrome/browser/media_galleries/win/mtp_device_operations_util.cc bool GetDirectoryEntries(IPortableDevice* device, device 339 chrome/browser/media_galleries/win/mtp_device_operations_util.cc return GetMTPDeviceObjectEntries(device, directory_object_id, device 343 chrome/browser/media_galleries/win/mtp_device_operations_util.cc HRESULT GetFileStreamForObject(IPortableDevice* device, device 348 chrome/browser/media_galleries/win/mtp_device_operations_util.cc DCHECK(device); device 351 chrome/browser/media_galleries/win/mtp_device_operations_util.cc GetDeviceContent(device); device 393 chrome/browser/media_galleries/win/mtp_device_operations_util.cc base::string16 GetObjectIdFromName(IPortableDevice* device, device 397 chrome/browser/media_galleries/win/mtp_device_operations_util.cc if (!GetMTPDeviceObjectEntries(device, parent_id, object_name, device 36 chrome/browser/media_galleries/win/mtp_device_operations_util.h IPortableDevice* device, device 44 chrome/browser/media_galleries/win/mtp_device_operations_util.h bool GetDirectoryEntries(IPortableDevice* device, device 53 chrome/browser/media_galleries/win/mtp_device_operations_util.h HRESULT GetFileStreamForObject(IPortableDevice* device, device 76 chrome/browser/media_galleries/win/mtp_device_operations_util.h base::string16 GetObjectIdFromName(IPortableDevice* device, device 26 chrome/browser/media_galleries/win/portable_device_map_service.cc IPortableDevice* device) { device 29 chrome/browser/media_galleries/win/portable_device_map_service.cc DCHECK(device); device 31 chrome/browser/media_galleries/win/portable_device_map_service.cc device_map_[device_location] = PortableDeviceInfo(device); device 69 chrome/browser/media_galleries/win/portable_device_map_service.cc IPortableDevice* device) device 70 chrome/browser/media_galleries/win/portable_device_map_service.cc : portable_device(device), device 25 chrome/browser/media_galleries/win/portable_device_map_service.h IPortableDevice* device); device 54 chrome/browser/media_galleries/win/portable_device_map_service.h explicit PortableDeviceInfo(IPortableDevice* device); device 29 chrome/browser/metrics/metrics_log_chromeos.cc device::BluetoothDevice::DeviceType device_type) { device 31 chrome/browser/metrics/metrics_log_chromeos.cc case device::BluetoothDevice::DEVICE_UNKNOWN: device 33 chrome/browser/metrics/metrics_log_chromeos.cc case device::BluetoothDevice::DEVICE_COMPUTER: device 35 chrome/browser/metrics/metrics_log_chromeos.cc case device::BluetoothDevice::DEVICE_PHONE: device 37 chrome/browser/metrics/metrics_log_chromeos.cc case device::BluetoothDevice::DEVICE_MODEM: device 39 chrome/browser/metrics/metrics_log_chromeos.cc case device::BluetoothDevice::DEVICE_AUDIO: device 41 chrome/browser/metrics/metrics_log_chromeos.cc case device::BluetoothDevice::DEVICE_CAR_AUDIO: device 43 chrome/browser/metrics/metrics_log_chromeos.cc case device::BluetoothDevice::DEVICE_VIDEO: device 45 chrome/browser/metrics/metrics_log_chromeos.cc case device::BluetoothDevice::DEVICE_PERIPHERAL: device 47 chrome/browser/metrics/metrics_log_chromeos.cc case device::BluetoothDevice::DEVICE_JOYSTICK: device 49 chrome/browser/metrics/metrics_log_chromeos.cc case device::BluetoothDevice::DEVICE_GAMEPAD: device 51 chrome/browser/metrics/metrics_log_chromeos.cc case device::BluetoothDevice::DEVICE_KEYBOARD: device 53 chrome/browser/metrics/metrics_log_chromeos.cc case device::BluetoothDevice::DEVICE_MOUSE: device 55 chrome/browser/metrics/metrics_log_chromeos.cc case device::BluetoothDevice::DEVICE_TABLET: device 57 chrome/browser/metrics/metrics_log_chromeos.cc case device::BluetoothDevice::DEVICE_KEYBOARD_MOUSE_COMBO: device 135 chrome/browser/metrics/metrics_log_chromeos.cc device::BluetoothAdapterFactory::GetAdapter( device 146 chrome/browser/metrics/metrics_log_chromeos.cc device::BluetoothAdapter::DeviceList devices = adapter_->GetDevices(); device 147 chrome/browser/metrics/metrics_log_chromeos.cc for (device::BluetoothAdapter::DeviceList::iterator iter = device 149 chrome/browser/metrics/metrics_log_chromeos.cc device::BluetoothDevice* device = *iter; device 151 chrome/browser/metrics/metrics_log_chromeos.cc if (!device->IsPaired()) device 155 chrome/browser/metrics/metrics_log_chromeos.cc paired_device->set_bluetooth_class(device->GetBluetoothClass()); device 156 chrome/browser/metrics/metrics_log_chromeos.cc paired_device->set_type(AsBluetoothDeviceType(device->GetDeviceType())); device 160 chrome/browser/metrics/metrics_log_chromeos.cc std::string address = device->GetAddress(); device 173 chrome/browser/metrics/metrics_log_chromeos.cc switch (device->GetVendorIDSource()) { device 174 chrome/browser/metrics/metrics_log_chromeos.cc case device::BluetoothDevice::VENDOR_ID_BLUETOOTH: device 177 chrome/browser/metrics/metrics_log_chromeos.cc case device::BluetoothDevice::VENDOR_ID_USB: device 184 chrome/browser/metrics/metrics_log_chromeos.cc paired_device->set_vendor_id(device->GetVendorID()); device 185 chrome/browser/metrics/metrics_log_chromeos.cc paired_device->set_product_id(device->GetProductID()); device 186 chrome/browser/metrics/metrics_log_chromeos.cc paired_device->set_device_id(device->GetDeviceID()); device 209 chrome/browser/metrics/metrics_log_chromeos.cc scoped_refptr<device::BluetoothAdapter> adapter) { device 10 chrome/browser/metrics/metrics_log_chromeos.h namespace device { device 43 chrome/browser/metrics/metrics_log_chromeos.h void SetBluetoothAdapter(scoped_refptr<device::BluetoothAdapter> adapter); device 51 chrome/browser/metrics/metrics_log_chromeos.h scoped_refptr<device::BluetoothAdapter> adapter_; device 218 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc device::BluetoothDevice::ConnectErrorCode error_code) { device 291 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc device::BluetoothAdapterFactory::GetAdapter( device 312 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc scoped_refptr<device::BluetoothAdapter> adapter) { device 680 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc device::BluetoothAdapter::DeviceList devices = device 683 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc device::BluetoothDevice* device = devices[i]; device 685 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc info.address = device->GetAddress(); device 686 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc info.display_name = device->GetName(); device 687 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc info.connected = device->IsConnected(); device 688 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc info.connecting = device->IsConnecting(); device 689 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc info.paired = device->IsPaired(); device 720 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc device::BluetoothDevice* device = bluetooth_adapter_->GetDevice(address); device 721 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc if (!device || device->IsConnecting() || device 722 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc (device->IsConnected() && device->IsPaired())) { device 725 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc if (device->IsPaired() && !device->IsConnectable()) device 727 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc if (device->IsPaired() || !device->IsPairable()) { device 730 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc device->Connect(NULL, device 737 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc new BluetoothPairingDialog(GetNativeWindow(), device); device 1306 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc device::BluetoothAdapter* adapter, device 1312 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc device::BluetoothAdapter* adapter, device 1318 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc device::BluetoothAdapter* adapter, device 1323 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc void SystemTrayDelegateChromeOS::DeviceAdded(device::BluetoothAdapter* adapter, device 1324 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc device::BluetoothDevice* device) { device 1329 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc device::BluetoothAdapter* adapter, device 1330 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc device::BluetoothDevice* device) { device 1335 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc device::BluetoothAdapter* adapter, device 1336 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc device::BluetoothDevice* device) { device 1341 chrome/browser/ui/ash/system_tray_delegate_chromeos.cc scoped_ptr<device::BluetoothDiscoverySession> discovery_session) { device 46 chrome/browser/ui/ash/system_tray_delegate_chromeos.h public device::BluetoothAdapter::Observer, device 57 chrome/browser/ui/ash/system_tray_delegate_chromeos.h scoped_refptr<device::BluetoothAdapter> adapter); device 225 chrome/browser/ui/ash/system_tray_delegate_chromeos.h virtual void AdapterPresentChanged(device::BluetoothAdapter* adapter, device 227 chrome/browser/ui/ash/system_tray_delegate_chromeos.h virtual void AdapterPoweredChanged(device::BluetoothAdapter* adapter, device 229 chrome/browser/ui/ash/system_tray_delegate_chromeos.h virtual void AdapterDiscoveringChanged(device::BluetoothAdapter* adapter, device 231 chrome/browser/ui/ash/system_tray_delegate_chromeos.h virtual void DeviceAdded(device::BluetoothAdapter* adapter, device 232 chrome/browser/ui/ash/system_tray_delegate_chromeos.h device::BluetoothDevice* device) OVERRIDE; device 233 chrome/browser/ui/ash/system_tray_delegate_chromeos.h virtual void DeviceChanged(device::BluetoothAdapter* adapter, device 234 chrome/browser/ui/ash/system_tray_delegate_chromeos.h device::BluetoothDevice* device) OVERRIDE; device 235 chrome/browser/ui/ash/system_tray_delegate_chromeos.h virtual void DeviceRemoved(device::BluetoothAdapter* adapter, device 236 chrome/browser/ui/ash/system_tray_delegate_chromeos.h device::BluetoothDevice* device) OVERRIDE; device 239 chrome/browser/ui/ash/system_tray_delegate_chromeos.h scoped_ptr<device::BluetoothDiscoverySession> discovery_session); device 276 chrome/browser/ui/ash/system_tray_delegate_chromeos.h scoped_refptr<device::BluetoothAdapter> bluetooth_adapter_; device 277 chrome/browser/ui/ash/system_tray_delegate_chromeos.h scoped_ptr<device::BluetoothDiscoverySession> bluetooth_discovery_session_; device 556 chrome/browser/ui/content_settings/content_setting_bubble_model.cc const std::string& device); device 776 chrome/browser/ui/content_settings/content_setting_bubble_model.cc const std::string& device) { device 779 chrome/browser/ui/content_settings/content_setting_bubble_model.cc prefs->SetString(prefs::kDefaultAudioCaptureDevice, device); device 782 chrome/browser/ui/content_settings/content_setting_bubble_model.cc prefs->SetString(prefs::kDefaultVideoCaptureDevice, device); device 157 chrome/browser/ui/content_settings/content_setting_bubble_model.h void set_selected_device(const content::MediaStreamDevice& device) { device 158 chrome/browser/ui/content_settings/content_setting_bubble_model.h bubble_content_.media_menus[device.type].selected_device = device; device 122 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const chromeos::DeviceState* device = device 125 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc if (!device) device 128 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc value->SetString("MEID", device->meid()); device 129 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc value->SetString("IMEI", device->imei()); device 130 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc value->SetString("MDN", device->mdn()); device 22 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc using device::NfcAdapter; device 23 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc using device::NfcAdapterFactory; device 24 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc using device::NfcNdefMessage; device 25 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc using device::NfcNdefRecord; device 26 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc using device::NfcNdefTagTechnology; device 27 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc using device::NfcPeer; device 28 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc using device::NfcTag; device 29 chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc using device::NfcTagTechnology; device 165 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc std::string device; device 167 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc bool rv = args->GetString(0, &device); device 171 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc device, device 172 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc device_descriptions_[device].address, device 441 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc const std::string& service_name, const DeviceDescription& device) { device 444 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc printer_value.SetString("id", device.id); device 445 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc printer_value.SetString("display_name", device.name); device 446 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.cc printer_value.SetString("description", device.description); device 125 chrome/browser/ui/webui/local_discovery/local_discovery_ui_handler.h const DeviceDescription& device); device 149 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device::BluetoothAdapter* adapter, device 166 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device::BluetoothAdapter* adapter, device 181 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device::BluetoothAdapter* adapter, device 208 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device::BluetoothAdapterFactory::GetAdapter( device 225 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc scoped_refptr<device::BluetoothAdapter> adapter) { device 262 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc scoped_ptr<device::BluetoothDiscoverySession> discovery_session) { device 286 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device::BluetoothDevice* device = adapter_->GetDevice(address); device 287 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc if (!device) device 300 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc if (device->ExpectingPinCode()) { device 301 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc DeviceConnecting(device); device 307 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device->SetPinCode(auth_token); device 308 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc } else if (device->ExpectingPasskey()) { device 309 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc DeviceConnecting(device); device 319 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device->SetPasskey(passkey); device 327 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc if (device->IsPairable()) device 332 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device->Connect( device 338 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device->GetAddress())); device 343 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device->CancelPairing(); device 345 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc DeviceConnecting(device); device 348 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device->ConfirmPairing(); device 352 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device->RejectPairing(); device 356 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device->Disconnect( device 360 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device->GetAddress())); device 364 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device->Forget(base::Bind(&BluetoothOptionsHandler::ForgetError, device 366 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device->GetAddress())); device 383 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device::BluetoothDevice::ConnectErrorCode error_code) { device 392 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc case device::BluetoothDevice::ERROR_UNKNOWN: device 395 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc case device::BluetoothDevice::ERROR_INPROGRESS: device 398 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc case device::BluetoothDevice::ERROR_FAILED: device 401 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc case device::BluetoothDevice::ERROR_AUTH_FAILED: device 404 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc case device::BluetoothDevice::ERROR_AUTH_CANCELED: device 407 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc case device::BluetoothDevice::ERROR_AUTH_REJECTED: device 410 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc case device::BluetoothDevice::ERROR_AUTH_TIMEOUT: device 413 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc case device::BluetoothDevice::ERROR_UNSUPPORTED_DEVICE: device 452 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device::BluetoothAdapter::DeviceList devices = adapter_->GetDevices(); device 454 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc for (device::BluetoothAdapter::DeviceList::iterator iter = devices.begin(); device 460 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc const device::BluetoothDevice* device, device 463 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc js_properties.SetString("name", device->GetName()); device 464 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc js_properties.SetString("address", device->GetAddress()); device 465 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc js_properties.SetBoolean("paired", device->IsPaired()); device 466 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc js_properties.SetBoolean("connected", device->IsConnected()); device 467 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc js_properties.SetBoolean("connecting", device->IsConnecting()); device 468 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc js_properties.SetBoolean("connectable", device->IsConnectable()); device 473 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc if (device->GetAddress() == pairing_device_address_) { device 492 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc pairing_device_address_ = device->GetAddress(); device 505 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc void BluetoothOptionsHandler::RequestPinCode(device::BluetoothDevice* device) { device 508 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc SendDeviceNotification(device, ¶ms); device 511 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc void BluetoothOptionsHandler::RequestPasskey(device::BluetoothDevice* device) { device 514 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc SendDeviceNotification(device, ¶ms); device 517 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc void BluetoothOptionsHandler::DisplayPinCode(device::BluetoothDevice* device, device 522 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc SendDeviceNotification(device, ¶ms); device 525 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc void BluetoothOptionsHandler::DisplayPasskey(device::BluetoothDevice* device, device 530 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc SendDeviceNotification(device, ¶ms); device 533 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc void BluetoothOptionsHandler::KeysEntered(device::BluetoothDevice* device, device 537 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc SendDeviceNotification(device, ¶ms); device 540 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc void BluetoothOptionsHandler::ConfirmPasskey(device::BluetoothDevice* device, device 545 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc SendDeviceNotification(device, ¶ms); device 549 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device::BluetoothDevice* device) { device 553 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device->ConfirmPairing(); device 567 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc void BluetoothOptionsHandler::DeviceAdded(device::BluetoothAdapter* adapter, device 568 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device::BluetoothDevice* device) { device 570 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc DCHECK(device); device 571 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc SendDeviceNotification(device, NULL); device 574 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc void BluetoothOptionsHandler::DeviceChanged(device::BluetoothAdapter* adapter, device 575 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device::BluetoothDevice* device) { device 577 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc DCHECK(device); device 578 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc SendDeviceNotification(device, NULL); device 581 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc void BluetoothOptionsHandler::DeviceRemoved(device::BluetoothAdapter* adapter, device 582 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device::BluetoothDevice* device) { device 584 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc DCHECK(device); device 587 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc if (pairing_device_address_ == device->GetAddress()) { device 592 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc base::StringValue address(device->GetAddress()); device 599 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc device::BluetoothDevice* device) { device 600 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc DCHECK(device); device 603 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc SendDeviceNotification(device, ¶ms); device 29 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h public device::BluetoothAdapter::Observer, device 30 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h public device::BluetoothDevice::PairingDelegate { device 42 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h void InitializeAdapter(scoped_refptr<device::BluetoothAdapter> adapter); device 47 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h void SendDeviceNotification(const device::BluetoothDevice* device, device 58 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h virtual void RequestPinCode(device::BluetoothDevice* device) OVERRIDE; device 70 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h virtual void RequestPasskey(device::BluetoothDevice* device) OVERRIDE; device 82 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h virtual void DisplayPinCode(device::BluetoothDevice* device, device 97 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h device::BluetoothDevice* device, uint32 passkey) OVERRIDE; device 112 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h virtual void KeysEntered(device::BluetoothDevice* device, device 127 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h device::BluetoothDevice* device, uint32 passkey) OVERRIDE; device 130 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h virtual void AuthorizePairing(device::BluetoothDevice* device) OVERRIDE; device 139 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h virtual void AdapterPresentChanged(device::BluetoothAdapter* adapter, device 141 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h virtual void AdapterPoweredChanged(device::BluetoothAdapter* adapter, device 143 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h virtual void AdapterDiscoveringChanged(device::BluetoothAdapter* adapter, device 145 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h virtual void DeviceAdded(device::BluetoothAdapter* adapter, device 146 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h device::BluetoothDevice* device) OVERRIDE; device 147 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h virtual void DeviceChanged(device::BluetoothAdapter* adapter, device 148 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h device::BluetoothDevice* device) OVERRIDE; device 149 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h virtual void DeviceRemoved(device::BluetoothAdapter* adapter, device 150 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h device::BluetoothDevice* device) OVERRIDE; device 154 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h void DeviceConnecting(device::BluetoothDevice* device); device 163 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h scoped_ptr<device::BluetoothDiscoverySession> discovery_session); device 181 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h device::BluetoothDevice::ConnectErrorCode error_code); device 219 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h scoped_refptr<device::BluetoothAdapter> adapter_; device 229 chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.h scoped_ptr<device::BluetoothDiscoverySession> discovery_session_; device 695 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const DeviceState* device) { device 697 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc DCHECK(device); device 698 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc bool gsm = (device->technology_family() == shill::kTechnologyFamilyGsm); device 710 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (value == device->carrier()) device 1066 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const DeviceState* device = device 1068 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (!device) { device 1072 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (!device->sim_lock_type().empty()) { device 1083 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (device->IsSimAbsent()) { device 1208 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const DeviceState* device = device 1210 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (device && (device->carrier() == shill::kCarrierSprint)) { device 1230 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const DeviceState* device = NetworkHandler::Get()->network_state_handler()-> device 1232 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (!device) { device 1237 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc device->path(), device 1539 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const DeviceState* device = NetworkHandler::Get()->network_state_handler()-> device 1541 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (device) device 1542 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc dictionary.SetString(kTagHardwareAddress, device->GetFormattedMacAddress()); device 1793 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const DeviceState* device = NetworkHandler::Get()->network_state_handler()-> device 1795 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (device) { device 1799 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const base::DictionaryValue& device_properties = device->properties(); device 1835 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc new base::FundamentalValue(device->sim_lock_enabled()), device 1838 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc carrier_id = device->home_provider_id(); device 1871 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc device)); device 67 chrome/browser/ui/webui/options/media_devices_selection_handler.cc std::string type, device; device 68 chrome/browser/ui/webui/options/media_devices_selection_handler.cc if (!(args->GetString(0, &type) && args->GetString(1, &device))) { device 74 chrome/browser/ui/webui/options/media_devices_selection_handler.cc DCHECK(!device.empty()); device 79 chrome/browser/ui/webui/options/media_devices_selection_handler.cc prefs->SetString(prefs::kDefaultAudioCaptureDevice, device); device 81 chrome/browser/ui/webui/options/media_devices_selection_handler.cc prefs->SetString(prefs::kDefaultVideoCaptureDevice, device); device 180 chrome/browser/usb/usb_device_handle.cc UsbDevice* device, device 183 chrome/browser/usb/usb_device_handle.cc : device_(device), device 357 chrome/browser/usb/usb_device_handle.cc PlatformUsbDevice device = libusb_get_device(handle_); device 360 chrome/browser/usb/usb_device_handle.cc if (libusb_get_device_descriptor(device, &desc) != LIBUSB_SUCCESS) device 60 chrome/browser/usb/usb_device_handle.h scoped_refptr<UsbDevice> device() const; device 121 chrome/browser/usb/usb_device_handle.h UsbDevice* device, PlatformUsbDeviceHandle handle, device 59 chrome/browser/usb/usb_service.h static bool DeviceMatches(scoped_refptr<UsbDevice> device, device 34 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc device::BluetoothUUID bt_uuid(uuid); device 86 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc device::BluetoothUUID param_uuid(request.uuid); device 90 chrome/common/extensions/api/bluetooth/bluetooth_manifest_permission.cc device::BluetoothUUID uuid(*it); device 460 chrome/renderer/printing/print_web_view_helper.cc skia::VectorPlatformDeviceSkia* device = device 462 chrome/renderer/printing/print_web_view_helper.cc device->setDrawingArea(SkPDFDevice::kMargin_DrawingArea); device 504 chrome/renderer/printing/print_web_view_helper.cc device->setDrawingArea(SkPDFDevice::kContent_DrawingArea); device 168 chrome/renderer/printing/print_web_view_helper_linux.cc SkBaseDevice* device = metafile->StartPageForVectorCanvas(page_size, device 171 chrome/renderer/printing/print_web_view_helper_linux.cc if (!device) device 177 chrome/renderer/printing/print_web_view_helper_linux.cc skia::AdoptRef(new skia::VectorCanvas(device)); device 174 chrome/renderer/printing/print_web_view_helper_win.cc SkBaseDevice* device = metafile->StartPageForVectorCanvas( device 176 chrome/renderer/printing/print_web_view_helper_win.cc DCHECK(device); device 180 chrome/renderer/printing/print_web_view_helper_win.cc skia::AdoptRef(new skia::VectorCanvas(device)); device 16 chrome/test/chromedriver/chrome/chrome_android_impl.cc scoped_ptr<Device> device) device 20 chrome/test/chromedriver/chrome/chrome_android_impl.cc device_(device.Pass()) {} device 23 chrome/test/chromedriver/chrome/chrome_android_impl.h scoped_ptr<Device> device); device 161 chrome/test/chromedriver/chrome/device_manager.cc Status DeviceManager::AcquireDevice(scoped_ptr<Device>* device) { device 176 chrome/test/chromedriver/chrome/device_manager.cc device->reset(LockDevice(*iter)); device 185 chrome/test/chromedriver/chrome/device_manager.cc const std::string& device_serial, scoped_ptr<Device>* device) { device 200 chrome/test/chromedriver/chrome/device_manager.cc device->reset(LockDevice(device_serial)); device 60 chrome/test/chromedriver/chrome/device_manager.h Status AcquireDevice(scoped_ptr<Device>* device); device 65 chrome/test/chromedriver/chrome/device_manager.h scoped_ptr<Device>* device); device 347 chrome/test/chromedriver/chrome_launcher.cc scoped_ptr<Device> device; device 349 chrome/test/chromedriver/chrome_launcher.cc status = device_manager->AcquireDevice(&device); device 352 chrome/test/chromedriver/chrome_launcher.cc capabilities.android_device_serial, &device); device 362 chrome/test/chromedriver/chrome_launcher.cc status = device->SetUp(capabilities.android_package, device 369 chrome/test/chromedriver/chrome_launcher.cc device->TearDown(); device 379 chrome/test/chromedriver/chrome_launcher.cc device->TearDown(); device 386 chrome/test/chromedriver/chrome_launcher.cc device.Pass())); device 61 chrome/utility/image_writer/image_writer_handler.cc const base::FilePath& device) { device 62 chrome/utility/image_writer/image_writer_handler.cc if (!IsValidDevice(device)) { device 72 chrome/utility/image_writer/image_writer_handler.cc image_writer_.Write(image, device); device 76 chrome/utility/image_writer/image_writer_handler.cc const base::FilePath& device) { device 77 chrome/utility/image_writer/image_writer_handler.cc if (!IsValidDevice(device)) { device 87 chrome/utility/image_writer/image_writer_handler.cc image_writer_.Verify(image, device); device 98 chrome/utility/image_writer/image_writer_handler.cc bool ImageWriterHandler::IsValidDevice(const base::FilePath& device) { device 101 chrome/utility/image_writer/image_writer_handler.cc CreateFile(device.value().c_str(), device 39 chrome/utility/image_writer/image_writer_handler.h void OnWriteStart(const base::FilePath& image, const base::FilePath& device); device 40 chrome/utility/image_writer/image_writer_handler.h void OnVerifyStart(const base::FilePath& image, const base::FilePath& device); device 44 chrome/utility/image_writer/image_writer_handler.h bool IsValidDevice(const base::FilePath& device); device 76 chromeos/accelerometer/accelerometer_reader.cc base::FilePath device; device 78 chromeos/accelerometer/accelerometer_reader.cc &device)) { device 89 chromeos/accelerometer/accelerometer_reader.cc device)); device 28 chromeos/audio/audio_devices_pref_handler.h virtual double GetOutputVolumeValue(const AudioDevice* device) = 0; device 29 chromeos/audio/audio_devices_pref_handler.h virtual double GetInputGainValue(const AudioDevice* device) = 0; device 31 chromeos/audio/audio_devices_pref_handler.h virtual void SetVolumeGainValue(const AudioDevice& device, double value) = 0; device 34 chromeos/audio/audio_devices_pref_handler.h virtual bool GetMuteValue(const AudioDevice& device) = 0; device 36 chromeos/audio/audio_devices_pref_handler.h virtual void SetMuteValue(const AudioDevice& device, bool mute_on) = 0; device 18 chromeos/audio/audio_devices_pref_handler_stub.cc const AudioDevice* device) { device 19 chromeos/audio/audio_devices_pref_handler_stub.cc if (!device) device 21 chromeos/audio/audio_devices_pref_handler_stub.cc return audio_device_volume_gain_map_[device->id]; device 25 chromeos/audio/audio_devices_pref_handler_stub.cc const AudioDevice* device) { device 26 chromeos/audio/audio_devices_pref_handler_stub.cc if (!device) device 28 chromeos/audio/audio_devices_pref_handler_stub.cc return audio_device_volume_gain_map_[device->id]; device 31 chromeos/audio/audio_devices_pref_handler_stub.cc void AudioDevicesPrefHandlerStub::SetVolumeGainValue(const AudioDevice& device, device 33 chromeos/audio/audio_devices_pref_handler_stub.cc audio_device_volume_gain_map_[device.id] = value; device 37 chromeos/audio/audio_devices_pref_handler_stub.cc const AudioDevice& device) { device 38 chromeos/audio/audio_devices_pref_handler_stub.cc return audio_device_mute_map_[device.id]; device 41 chromeos/audio/audio_devices_pref_handler_stub.cc void AudioDevicesPrefHandlerStub::SetMuteValue(const AudioDevice& device, device 43 chromeos/audio/audio_devices_pref_handler_stub.cc audio_device_mute_map_[device.id] = mute_on; device 25 chromeos/audio/audio_devices_pref_handler_stub.h virtual double GetOutputVolumeValue(const AudioDevice* device) OVERRIDE; device 26 chromeos/audio/audio_devices_pref_handler_stub.h virtual double GetInputGainValue(const AudioDevice* device) OVERRIDE; device 27 chromeos/audio/audio_devices_pref_handler_stub.h virtual void SetVolumeGainValue(const AudioDevice& device, device 29 chromeos/audio/audio_devices_pref_handler_stub.h virtual bool GetMuteValue(const AudioDevice& device) OVERRIDE; device 30 chromeos/audio/audio_devices_pref_handler_stub.h virtual void SetMuteValue(const AudioDevice& device, bool mute_on) OVERRIDE; device 112 chromeos/audio/cras_audio_handler.cc const AudioDevice* device = GetDeviceFromId(device_id); device 113 chromeos/audio/cras_audio_handler.cc if (!device) device 115 chromeos/audio/cras_audio_handler.cc return audio_pref_handler_->GetMuteValue(*device); device 127 chromeos/audio/cras_audio_handler.cc const AudioDevice* device = GetDeviceFromId(device_id); device 128 chromeos/audio/cras_audio_handler.cc if (!device) device 130 chromeos/audio/cras_audio_handler.cc return audio_pref_handler_->GetMuteValue(*device); device 145 chromeos/audio/cras_audio_handler.cc const AudioDevice* device = GetDeviceFromId(device_id); device 146 chromeos/audio/cras_audio_handler.cc return static_cast<int>(audio_pref_handler_->GetOutputVolumeValue(device)); device 158 chromeos/audio/cras_audio_handler.cc const AudioDevice* device = GetDeviceFromId(device_id); device 159 chromeos/audio/cras_audio_handler.cc return static_cast<int>(audio_pref_handler_->GetInputGainValue(device)); device 178 chromeos/audio/cras_audio_handler.cc bool CrasAudioHandler::GetActiveOutputDevice(AudioDevice* device) const { device 180 chromeos/audio/cras_audio_handler.cc if (!active_device || !device) device 182 chromeos/audio/cras_audio_handler.cc *device = *active_device; device 200 chromeos/audio/cras_audio_handler.cc if (const AudioDevice* device = GetDeviceFromId(active_output_node_id_)) device 201 chromeos/audio/cras_audio_handler.cc audio_pref_handler_->SetVolumeGainValue(*device, output_volume_); device 213 chromeos/audio/cras_audio_handler.cc if (const AudioDevice* device = GetDeviceFromId(active_input_node_id_)) device 214 chromeos/audio/cras_audio_handler.cc audio_pref_handler_->SetVolumeGainValue(*device, input_gain_); device 228 chromeos/audio/cras_audio_handler.cc if (const AudioDevice* device = GetDeviceFromId(active_output_node_id_)) device 229 chromeos/audio/cras_audio_handler.cc audio_pref_handler_->SetMuteValue(*device, output_mute_on_); device 246 chromeos/audio/cras_audio_handler.cc AudioDevice device; device 247 chromeos/audio/cras_audio_handler.cc if (const AudioDevice* device = GetDeviceFromId(active_input_node_id_)) device 248 chromeos/audio/cras_audio_handler.cc audio_pref_handler_->SetMuteValue(*device, input_mute_on_); device 276 chromeos/audio/cras_audio_handler.cc if (const AudioDevice* device = GetDeviceFromId(device_id)) { device 277 chromeos/audio/cras_audio_handler.cc if (!device->is_input) { device 282 chromeos/audio/cras_audio_handler.cc audio_pref_handler_->SetVolumeGainValue(*device, value); device 295 chromeos/audio/cras_audio_handler.cc AudioDevice device; device 296 chromeos/audio/cras_audio_handler.cc if (const AudioDevice* device = GetDeviceFromId(device_id)) device 297 chromeos/audio/cras_audio_handler.cc audio_pref_handler_->SetMuteValue(*device, mute_on); device 410 chromeos/audio/cras_audio_handler.cc const AudioDevice* device = GetDeviceFromId(active_input_node_id_); device 411 chromeos/audio/cras_audio_handler.cc if (!device) { device 417 chromeos/audio/cras_audio_handler.cc input_mute_on_ = audio_pref_handler_->GetMuteValue(*device); device 418 chromeos/audio/cras_audio_handler.cc input_gain_ = audio_pref_handler_->GetInputGainValue(device); device 425 chromeos/audio/cras_audio_handler.cc const AudioDevice* device = GetDeviceFromId(active_output_node_id_); device 426 chromeos/audio/cras_audio_handler.cc if (!device) { device 432 chromeos/audio/cras_audio_handler.cc output_mute_on_ = audio_pref_handler_->GetMuteValue(*device); device 433 chromeos/audio/cras_audio_handler.cc output_volume_ = audio_pref_handler_->GetOutputVolumeValue(device); device 452 chromeos/audio/cras_audio_handler.cc const AudioDevice* device = GetDeviceFromId(active_output_node_id_); device 453 chromeos/audio/cras_audio_handler.cc if (device) device 454 chromeos/audio/cras_audio_handler.cc SetOutputMuteInternal(audio_pref_handler_->GetMuteValue(*device)); device 460 chromeos/audio/cras_audio_handler.cc const AudioDevice* device = GetDeviceFromId(active_input_node_id_); device 461 chromeos/audio/cras_audio_handler.cc if (device) device 540 chromeos/audio/cras_audio_handler.cc void CrasAudioHandler::SwitchToDevice(const AudioDevice& device) { device 541 chromeos/audio/cras_audio_handler.cc if (device.is_input) { device 542 chromeos/audio/cras_audio_handler.cc if (!ChangeActiveDevice(device, &active_input_node_id_)) device 547 chromeos/audio/cras_audio_handler.cc if (!ChangeActiveDevice(device, &active_output_node_id_)) device 569 chromeos/audio/cras_audio_handler.cc AudioDevice device(*it); device 570 chromeos/audio/cras_audio_handler.cc if (FoundNewDevice(device)) device 577 chromeos/audio/cras_audio_handler.cc bool CrasAudioHandler::FoundNewDevice(const AudioDevice& device) { device 578 chromeos/audio/cras_audio_handler.cc const AudioDevice* device_found = GetDeviceFromId(device.id); device 582 chromeos/audio/cras_audio_handler.cc if (!IsSameAudioDevice(device, *device_found)) { device 584 chromeos/audio/cras_audio_handler.cc << " new device: " << device.ToString() device 601 chromeos/audio/cras_audio_handler.cc AudioDevice device(node); device 602 chromeos/audio/cras_audio_handler.cc if (device.is_input) { device 603 chromeos/audio/cras_audio_handler.cc if (device.active && device.id != active_input_node_id_) { device 605 chromeos/audio/cras_audio_handler.cc << " device = " << device.ToString() device 608 chromeos/audio/cras_audio_handler.cc device.active = false; device 609 chromeos/audio/cras_audio_handler.cc } else if (device.id == active_input_node_id_ && !device.active) { device 611 chromeos/audio/cras_audio_handler.cc << " device = " << device.ToString() device 614 chromeos/audio/cras_audio_handler.cc device.active = true; device 617 chromeos/audio/cras_audio_handler.cc if (device.active && device.id != active_output_node_id_) { device 619 chromeos/audio/cras_audio_handler.cc << " device = " << device.ToString() device 622 chromeos/audio/cras_audio_handler.cc device.active = false; device 623 chromeos/audio/cras_audio_handler.cc } else if (device.id == active_output_node_id_ && !device.active) { device 625 chromeos/audio/cras_audio_handler.cc << " device = " << device.ToString() device 628 chromeos/audio/cras_audio_handler.cc device.active = true; device 631 chromeos/audio/cras_audio_handler.cc return device; device 649 chromeos/audio/cras_audio_handler.cc AudioDevice device = GetSanitizedAudioDevice(nodes[i]); device 650 chromeos/audio/cras_audio_handler.cc audio_devices_[device.id] = device; device 653 chromeos/audio/cras_audio_handler.cc device.is_input && device 654 chromeos/audio/cras_audio_handler.cc device.type != AUDIO_TYPE_INTERNAL_MIC) { device 657 chromeos/audio/cras_audio_handler.cc !device.is_input && device 658 chromeos/audio/cras_audio_handler.cc device.type != AUDIO_TYPE_INTERNAL_SPEAKER) { device 662 chromeos/audio/cras_audio_handler.cc if (device.is_input) device 663 chromeos/audio/cras_audio_handler.cc input_devices_pq_.push(device); device 665 chromeos/audio/cras_audio_handler.cc output_devices_pq_.push(device); device 128 chromeos/audio/cras_audio_handler.h virtual bool GetActiveOutputDevice(AudioDevice* device) const; device 153 chromeos/audio/cras_audio_handler.h virtual void SwitchToDevice(const AudioDevice& device); device 245 chromeos/audio/cras_audio_handler.h bool FoundNewDevice(const AudioDevice& device); device 1533 chromeos/audio/cras_audio_handler_unittest.cc AudioDevice device; device 1534 chromeos/audio/cras_audio_handler_unittest.cc EXPECT_TRUE(cras_audio_handler_->GetActiveOutputDevice(&device)); device 1535 chromeos/audio/cras_audio_handler_unittest.cc EXPECT_EQ(device.id, kInternalSpeaker.id); device 1536 chromeos/audio/cras_audio_handler_unittest.cc EXPECT_EQ(kVolume, audio_pref_handler_->GetOutputVolumeValue(&device)); device 333 chromeos/dbus/cros_disks_client.cc std::string device; device 334 chromeos/dbus/cros_disks_client.cc if (!reader.PopString(&device)) { device 338 chromeos/dbus/cros_disks_client.cc handler.Run(event_type, device); device 141 chromeos/network/network_state_handler.cc const DeviceState* device = GetModifiableDeviceState(device_path); device 142 chromeos/network/network_state_handler.cc if (device && !device->update_received()) device 144 chromeos/network/network_state_handler.cc return device; device 151 chromeos/network/network_state_handler.cc ManagedState* device = *iter; device 152 chromeos/network/network_state_handler.cc if (!device->update_received()) device 154 chromeos/network/network_state_handler.cc if (device->Matches(type)) device 155 chromeos/network/network_state_handler.cc return device->AsDeviceState(); device 164 chromeos/network/network_state_handler.cc const DeviceState* device = (*iter)->AsDeviceState(); device 165 chromeos/network/network_state_handler.cc DCHECK(device); device 166 chromeos/network/network_state_handler.cc if (!device->update_received()) device 168 chromeos/network/network_state_handler.cc if (device->Matches(type) && device->scanning()) device 249 chromeos/network/network_state_handler.cc const DeviceState* device = NULL; device 252 chromeos/network/network_state_handler.cc device = GetDeviceState(network->device_path()); device 254 chromeos/network/network_state_handler.cc device = GetDeviceStateByType(type); device 255 chromeos/network/network_state_handler.cc if (!device) device 257 chromeos/network/network_state_handler.cc return device->GetFormattedMacAddress(); device 287 chromeos/network/network_state_handler.cc const DeviceState* device = (*iter)->AsDeviceState(); device 288 chromeos/network/network_state_handler.cc DCHECK(device); device 289 chromeos/network/network_state_handler.cc if (device->update_received() && device->Matches(type)) device 290 chromeos/network/network_state_handler.cc list->push_back(device); device 386 chromeos/network/network_state_handler.cc const DeviceState* device = GetDeviceState(network->device_path()); device 387 chromeos/network/network_state_handler.cc if (!device) { device 395 chromeos/network/network_state_handler.cc if (!device->eap_authentication_completed()) device 609 chromeos/network/network_state_handler.cc DeviceState* device = GetModifiableDeviceState(device_path); device 610 chromeos/network/network_state_handler.cc if (!device) device 612 chromeos/network/network_state_handler.cc if (!device->PropertyChanged(key, value)) device 615 chromeos/network/network_state_handler.cc std::string detail = device->name() + "." + key; device 621 chromeos/network/network_state_handler.cc if (key == shill::kScanningProperty && device->scanning() == false) device 622 chromeos/network/network_state_handler.cc ScanCompleted(device->type()); device 631 chromeos/network/network_state_handler.cc ethernet_service->device_path() != device->path()) { device 1231 components/breakpad/app/breakpad_linux.cc static const char device[] = "device"; device 1244 components/breakpad/app/breakpad_linux.cc writer.AddPairString(device, android_build_info->device()); device 99 components/storage_monitor/media_transfer_protocol_device_observer_linux.cc device::MediaTransferProtocolManager* mtp_manager, device 120 components/storage_monitor/media_transfer_protocol_device_observer_linux.cc device::MediaTransferProtocolManager* mtp_manager) device 132 components/storage_monitor/media_transfer_protocol_device_observer_linux.cc device::MediaTransferProtocolManager* mtp_manager, device 25 components/storage_monitor/media_transfer_protocol_device_observer_linux.h device::MediaTransferProtocolManager* mtp_manager, device 33 components/storage_monitor/media_transfer_protocol_device_observer_linux.h : public device::MediaTransferProtocolManager::Observer { device 37 components/storage_monitor/media_transfer_protocol_device_observer_linux.h device::MediaTransferProtocolManager* mtp_manager); device 52 components/storage_monitor/media_transfer_protocol_device_observer_linux.h device::MediaTransferProtocolManager* mtp_manager, device 74 components/storage_monitor/media_transfer_protocol_device_observer_linux.h device::MediaTransferProtocolManager* mtp_manager_; device 41 components/storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc device::MediaTransferProtocolManager* mtp_manager, device 60 components/storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc device::MediaTransferProtocolManager* mtp_manager) device 150 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedComPtr<IPortableDevice>* device) { device 155 components/storage_monitor/portable_device_watcher_win.cc HRESULT hr = device->CreateInstance(__uuidof(PortableDevice), NULL, device 162 components/storage_monitor/portable_device_watcher_win.cc hr = (*device)->Open(pnp_device_id.c_str(), client_info.get()); device 210 components/storage_monitor/portable_device_watcher_win.cc bool GetObjectUniqueId(IPortableDevice* device, device 213 components/storage_monitor/portable_device_watcher_win.cc DCHECK(device); device 216 components/storage_monitor/portable_device_watcher_win.cc HRESULT hr = device->Content(content.Receive()); device 262 components/storage_monitor/portable_device_watcher_win.cc IPortableDevice* device, device 264 components/storage_monitor/portable_device_watcher_win.cc DCHECK(device); device 267 components/storage_monitor/portable_device_watcher_win.cc HRESULT hr = device->Capabilities(capabilities.Receive()); device 334 components/storage_monitor/portable_device_watcher_win.cc base::win::ScopedComPtr<IPortableDevice> device; device 335 components/storage_monitor/portable_device_watcher_win.cc if (!SetUp(pnp_device_id, &device)) device 339 components/storage_monitor/portable_device_watcher_win.cc if (!GetObjectUniqueId(device.get(), WPD_DEVICE_OBJECT_ID, device 345 components/storage_monitor/portable_device_watcher_win.cc if (!GetRemovableStorageObjectIds(device.get(), &storage_obj_ids)) device 350 components/storage_monitor/portable_device_watcher_win.cc if (!GetObjectUniqueId(device.get(), *id_iter, &storage_persistent_id)) device 26 components/storage_monitor/storage_monitor.h namespace device { device 123 components/storage_monitor/storage_monitor.h virtual device::MediaTransferProtocolManager* device 109 components/storage_monitor/storage_monitor_chromeos.cc device::MediaTransferProtocolManager::Initialize(loop_proxy)); device 192 components/storage_monitor/storage_monitor_chromeos.cc device::MediaTransferProtocolManager* test_manager) { device 272 components/storage_monitor/storage_monitor_chromeos.cc device::MediaTransferProtocolManager* device 44 components/storage_monitor/storage_monitor_chromeos.h device::MediaTransferProtocolManager* test_manager); device 69 components/storage_monitor/storage_monitor_chromeos.h virtual device::MediaTransferProtocolManager* device 90 components/storage_monitor/storage_monitor_chromeos.h scoped_ptr<device::MediaTransferProtocolManager> device 52 components/storage_monitor/storage_monitor_linux.cc std::string MakeDeviceUniqueId(struct udev_device* device) { device 53 components/storage_monitor/storage_monitor_linux.cc std::string uuid = GetUdevDevicePropertyValue(device, kFsUUID); device 66 components/storage_monitor/storage_monitor_linux.cc std::string vendor = GetUdevDevicePropertyValue(device, kVendorID); device 67 components/storage_monitor/storage_monitor_linux.cc std::string model = GetUdevDevicePropertyValue(device, kModelID); device 68 components/storage_monitor/storage_monitor_linux.cc std::string serial_short = GetUdevDevicePropertyValue(device, device 99 components/storage_monitor/storage_monitor_linux.cc struct udev_device* device) { device 102 components/storage_monitor/storage_monitor_linux.cc device, kSizeSysAttr); device 143 components/storage_monitor/storage_monitor_linux.cc ScopedUdevDeviceObject device( device 146 components/storage_monitor/storage_monitor_linux.cc if (!device.get()) device 150 components/storage_monitor/storage_monitor_linux.cc base::UTF8ToUTF16(GetUdevDevicePropertyValue(device.get(), kLabel)); device 152 components/storage_monitor/storage_monitor_linux.cc base::UTF8ToUTF16(GetUdevDevicePropertyValue(device.get(), kVendor)); device 154 components/storage_monitor/storage_monitor_linux.cc base::UTF8ToUTF16(GetUdevDevicePropertyValue(device.get(), kModel)); device 156 components/storage_monitor/storage_monitor_linux.cc std::string unique_id = MakeDeviceUniqueId(device.get()); device 162 components/storage_monitor/storage_monitor_linux.cc udev_device_get_sysattr_value(device.get(), kRemovableSysAttr); device 167 components/storage_monitor/storage_monitor_linux.cc udev_device_get_parent_with_subsystem_devtype(device.get(), device 190 components/storage_monitor/storage_monitor_linux.cc GetDeviceStorageSize(device_path, device.get()))); device 204 components/storage_monitor/storage_monitor_linux.cc const base::FilePath& device) { device 265 components/storage_monitor/storage_monitor_linux.cc device::MediaTransferProtocolManager::Initialize(loop_proxy)); device 301 components/storage_monitor/storage_monitor_linux.cc device::MediaTransferProtocolManager* device 312 components/storage_monitor/storage_monitor_linux.cc device::MediaTransferProtocolManager* test_manager) { device 333 components/storage_monitor/storage_monitor_linux.cc base::FilePath device; device 338 components/storage_monitor/storage_monitor_linux.cc device = mount_info->second.mount_device; device 353 components/storage_monitor/storage_monitor_linux.cc base::Bind(&EjectPathOnFileThread, path, device), device 57 components/storage_monitor/storage_monitor_linux.h device::MediaTransferProtocolManager* test_manager); device 97 components/storage_monitor/storage_monitor_linux.h virtual device::MediaTransferProtocolManager* device 132 components/storage_monitor/storage_monitor_linux.h scoped_ptr<device::MediaTransferProtocolManager> device 99 components/storage_monitor/storage_monitor_linux_unittest.cc uint64 GetDevicePartitionSize(const std::string& device) { device 101 components/storage_monitor/storage_monitor_linux_unittest.cc if (device == kTestDeviceData[i].device_path) device 107 components/storage_monitor/storage_monitor_linux_unittest.cc std::string GetDeviceId(const std::string& device) { device 109 components/storage_monitor/storage_monitor_linux_unittest.cc if (device == kTestDeviceData[i].device_path) { device 114 components/storage_monitor/storage_monitor_linux_unittest.cc if (device == kInvalidDevice) { device 14 components/storage_monitor/test_media_transfer_protocol_manager_linux.h : public device::MediaTransferProtocolManager { device 105 components/storage_monitor/test_storage_monitor.cc device::MediaTransferProtocolManager* device 49 components/storage_monitor/test_storage_monitor.h virtual device::MediaTransferProtocolManager* device 72 components/storage_monitor/test_storage_monitor.h scoped_ptr<device::MediaTransferProtocolManager> device 15 components/storage_monitor/udev_util_linux.cc void UdevDeviceDeleter::operator()(struct udev_device* device) { device 16 components/storage_monitor/udev_util_linux.cc udev_device_unref(device); device 31 components/storage_monitor/udev_util_linux.cc ScopedUdevDeviceObject device(udev_device_new_from_syspath( device 33 components/storage_monitor/udev_util_linux.cc if (!device.get()) device 35 components/storage_monitor/udev_util_linux.cc *result = GetUdevDevicePropertyValue(device.get(), key); device 28 components/storage_monitor/udev_util_linux.h void operator()(struct udev_device* device); device 69 components/storage_monitor/volume_mount_watcher_win.cc base::string16 device = mount_point; device 71 components/storage_monitor/volume_mount_watcher_win.cc device = mount_point.substr(0, mount_point.length() - 1); device 75 components/storage_monitor/volume_mount_watcher_win.cc device.c_str(), WriteInto(&device_path, kMaxPathBufLen), kMaxPathBufLen); device 77 components/storage_monitor/volume_mount_watcher_win.cc device_slash += device; device 219 components/storage_monitor/volume_mount_watcher_win.cc const base::FilePath& device, device 224 components/storage_monitor/volume_mount_watcher_win.cc base::FilePath::CharType drive_letter = device.value()[0]; device 229 components/storage_monitor/volume_mount_watcher_win.cc device != device.DirName()) { device 273 components/storage_monitor/volume_mount_watcher_win.cc device, callback, task_runner, iteration + 1), device 516 components/storage_monitor/volume_mount_watcher_win.cc base::FilePath device = MediaStorageUtil::FindDevicePathById(device_id); device 517 components/storage_monitor/volume_mount_watcher_win.cc if (device.empty()) { device 521 components/storage_monitor/volume_mount_watcher_win.cc if (device_metadata_.erase(device) == 0) { device 528 components/storage_monitor/volume_mount_watcher_win.cc base::Bind(&EjectDeviceInThreadPool, device, callback, task_runner_, 0)); device 67 content/browser/compositor/software_browser_compositor_output_surface_unittest.cc scoped_ptr<cc::SoftwareOutputDevice> device); device 114 content/browser/compositor/software_browser_compositor_output_surface_unittest.cc scoped_ptr<cc::SoftwareOutputDevice> device) { device 118 content/browser/compositor/software_browser_compositor_output_surface_unittest.cc device.Pass(), device 69 content/browser/device_monitor_udev.cc void DeviceMonitorLinux::OnDevicesChanged(udev_device* device) { device 71 content/browser/device_monitor_udev.cc DCHECK(device); device 75 content/browser/device_monitor_udev.cc std::string subsystem(udev_device_get_subsystem(device)); device 35 content/browser/device_monitor_udev.h void OnDevicesChanged(udev_device* device); device 82 content/browser/devtools/devtools_system_info_handler.cc const gpu::GPUInfo::GPUDevice& device) { device 84 content/browser/devtools/devtools_system_info_handler.cc result->SetInteger(kVendorId, device.vendor_id); device 85 content/browser/devtools/devtools_system_info_handler.cc result->SetInteger(kDeviceId, device.device_id); device 86 content/browser/devtools/devtools_system_info_handler.cc result->SetString(kVendorString, device.vendor_string); device 87 content/browser/devtools/devtools_system_info_handler.cc result->SetString(kDeviceString, device.device_string); device 58 content/browser/gamepad/gamepad_platform_data_fetcher_mac.h size_t GetSlotForDevice(IOHIDDeviceRef device); device 59 content/browser/gamepad/gamepad_platform_data_fetcher_mac.h size_t GetSlotForXboxDevice(XboxController* device); device 61 content/browser/gamepad/gamepad_platform_data_fetcher_mac.h void DeviceAdd(IOHIDDeviceRef device); device 63 content/browser/gamepad/gamepad_platform_data_fetcher_mac.h void DeviceRemove(IOHIDDeviceRef device); device 66 content/browser/gamepad/gamepad_platform_data_fetcher_mac.h virtual void XboxDeviceAdd(XboxController* device) OVERRIDE; device 67 content/browser/gamepad/gamepad_platform_data_fetcher_mac.h virtual void XboxDeviceRemove(XboxController* device) OVERRIDE; device 68 content/browser/gamepad/gamepad_platform_data_fetcher_mac.h virtual void XboxValueChanged(XboxController* device, device 94 content/browser/gamepad/gamepad_platform_data_fetcher_mac.h XboxController* device; device 141 content/browser/gamepad/xbox_data_fetcher_mac.h virtual void XboxDeviceAdd(XboxController* device) = 0; device 142 content/browser/gamepad/xbox_data_fetcher_mac.h virtual void XboxDeviceRemove(XboxController* device) = 0; device 143 content/browser/gamepad/xbox_data_fetcher_mac.h virtual void XboxValueChanged(XboxController* device, device 91 content/browser/gpu/gpu_internals_ui.cc std::string device = base::StringPrintf("0x%04x", gpu.device_id); device 93 content/browser/gpu/gpu_internals_ui.cc device += " [" + gpu.device_string + "]"; device 95 content/browser/gpu/gpu_internals_ui.cc vendor.c_str(), device.c_str(), gpu.active ? " *ACTIVE*" : ""); device 600 content/browser/media/capture/web_contents_video_capture_device_unittest.cc device()->AllocateAndStart(capture_params, client_observer()->PassClient()); device 602 content/browser/media/capture/web_contents_video_capture_device_unittest.cc device()->StopAndDeAllocate(); device 613 content/browser/media/capture/web_contents_video_capture_device_unittest.cc device()->AllocateAndStart(capture_params, client_observer()->PassClient()); device 627 content/browser/media/capture/web_contents_video_capture_device_unittest.cc device()->StopAndDeAllocate(); device 637 content/browser/media/capture/web_contents_video_capture_device_unittest.cc device()->AllocateAndStart(capture_params, client_observer()->PassClient()); device 640 content/browser/media/capture/web_contents_video_capture_device_unittest.cc device()->StopAndDeAllocate(); device 659 content/browser/media/capture/web_contents_video_capture_device_unittest.cc device()->AllocateAndStart(capture_params, client_observer()->PassClient()); device 667 content/browser/media/capture/web_contents_video_capture_device_unittest.cc device()->StopAndDeAllocate(); device 679 content/browser/media/capture/web_contents_video_capture_device_unittest.cc device()->AllocateAndStart(capture_params, client_observer()->PassClient()); device 690 content/browser/media/capture/web_contents_video_capture_device_unittest.cc device()->StopAndDeAllocate(); device 698 content/browser/media/capture/web_contents_video_capture_device_unittest.cc device()->AllocateAndStart(capture_params, observer2.PassClient()); device 705 content/browser/media/capture/web_contents_video_capture_device_unittest.cc device()->StopAndDeAllocate(); device 718 content/browser/media/capture/web_contents_video_capture_device_unittest.cc device()->AllocateAndStart(capture_params, client_observer()->PassClient()); device 760 content/browser/media/capture/web_contents_video_capture_device_unittest.cc device()->StopAndDeAllocate(); device 773 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Unretained(device()), device 781 content/browser/media/capture/web_contents_video_capture_device_unittest.cc base::Unretained(device()))); device 794 content/browser/media/capture/web_contents_video_capture_device_unittest.cc device()->AllocateAndStart(capture_params, client_observer()->PassClient()); device 811 content/browser/media/capture/web_contents_video_capture_device_unittest.cc device()->StopAndDeAllocate(); device 49 content/browser/renderer_host/media/audio_input_device_manager.cc StreamDeviceList::iterator device = GetDevice(session_id); device 50 content/browser/renderer_host/media/audio_input_device_manager.cc if (device == devices_.end()) device 53 content/browser/renderer_host/media/audio_input_device_manager.cc return &(*device); device 81 content/browser/renderer_host/media/audio_input_device_manager.cc int AudioInputDeviceManager::Open(const StreamDeviceInfo& device) { device 88 content/browser/renderer_host/media/audio_input_device_manager.cc this, session_id, device)); device 96 content/browser/renderer_host/media/audio_input_device_manager.cc StreamDeviceList::iterator device = GetDevice(session_id); device 97 content/browser/renderer_host/media/audio_input_device_manager.cc if (device == devices_.end()) device 99 content/browser/renderer_host/media/audio_input_device_manager.cc const MediaStreamType stream_type = device->device.type; device 101 content/browser/renderer_host/media/audio_input_device_manager.cc devices_.erase(device); device 172 content/browser/renderer_host/media/audio_input_device_manager.cc StreamDeviceInfo out(info.device.type, info.device.name, info.device.id, device 176 content/browser/renderer_host/media/audio_input_device_manager.cc MediaStreamDevice::AudioDeviceParameters& input_params = out.device.input; device 186 content/browser/renderer_host/media/audio_input_device_manager.cc audio_manager_->GetInputStreamParameters(info.device.id); device 194 content/browser/renderer_host/media/audio_input_device_manager.cc out.device.matched_output_device_id = device 195 content/browser/renderer_host/media/audio_input_device_manager.cc audio_manager_->GetAssociatedOutputDeviceID(info.device.id); device 196 content/browser/renderer_host/media/audio_input_device_manager.cc if (!out.device.matched_output_device_id.empty()) { device 198 content/browser/renderer_host/media/audio_input_device_manager.cc out.device.matched_output_device_id); device 200 content/browser/renderer_host/media/audio_input_device_manager.cc out.device.matched_output; device 233 content/browser/renderer_host/media/audio_input_device_manager.cc listener_->Opened(info.device.type, session_id); device 52 content/browser/renderer_host/media/audio_input_device_manager.h virtual int Open(const StreamDeviceInfo& device) OVERRIDE; device 270 content/browser/renderer_host/media/audio_input_device_manager_unittest.cc EXPECT_EQ(iter->device.id, info->device.id); device 251 content/browser/renderer_host/media/audio_input_renderer_host.cc device_id = info->device.id; device 343 content/browser/renderer_host/media/audio_renderer_host.cc output_device_id = info->device.matched_output_device_id; device 18 content/browser/renderer_host/media/device_request_message_filter.cc device_itr->device.name.clear(); device 44 content/browser/renderer_host/media/device_request_message_filter.h const StreamDeviceInfo& device) OVERRIDE {} device 127 content/browser/renderer_host/media/device_request_message_filter_unittest.cc if (devices[i].device.type == type && !devices[i].device.name.empty()) device 58 content/browser/renderer_host/media/media_stream_dispatcher_host.cc const StreamDeviceInfo& device) { device 62 content/browser/renderer_host/media/media_stream_dispatcher_host.cc << "{type = " << device.device.type << "}, " device 63 content/browser/renderer_host/media/media_stream_dispatcher_host.cc << "{device_id = " << device.device.id << "})"; device 65 content/browser/renderer_host/media/media_stream_dispatcher_host.cc Send(new MediaStreamMsg_DeviceStopped(render_view_id, label, device)); device 47 content/browser/renderer_host/media/media_stream_dispatcher_host.h const StreamDeviceInfo& device) OVERRIDE; device 169 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc const content::StreamDeviceInfo& device) { device 170 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc if (IsVideoMediaType(device.device.type)) device 171 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc EXPECT_TRUE(StreamDeviceInfo::IsEqual(device, video_devices_[0])); device 172 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc if (IsAudioMediaType(device.device.type)) device 173 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc EXPECT_TRUE(StreamDeviceInfo::IsEqual(device, audio_devices_[0])); device 181 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc const StreamDeviceInfo& device) { device 186 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc opened_device_ = device; device 326 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc if (audio_it->unique_id == devices[i].device.id) device 332 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc if (video_it->id() == devices[i].device.id) device 349 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc devices[i].device.id, device 361 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc devices[i].device.id, device 445 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc const std::string device_id1 = host_->video_devices_.front().device.id; device 456 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc const std::string device_id2 = host_->video_devices_.front().device.id; device 474 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc const std::string device_id1 = host_->video_devices_.front().device.id; device 480 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc const std::string device_id2 = host_->opened_device_.device.id; device 503 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc const std::string device_id1 = host_->video_devices_.front().device.id; device 514 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc const std::string device_id2 = host_->video_devices_.front().device.id; device 565 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc EXPECT_EQ(host_->audio_devices_[0].device.id, source_id); device 581 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc EXPECT_EQ(host_->video_devices_[0].device.id, source_id); device 604 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc EXPECT_EQ(host_->audio_devices_[0].device.id, source_id); device 620 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc EXPECT_EQ(host_->video_devices_[0].device.id, source_id); device 702 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc video_device_info.device.id); device 706 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc host_->OnStopStreamDevice(kRenderId, video_device_info.device.id); device 726 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc host_->OnStopStreamDevice(kRenderId, video_device_info.device.id); device 766 content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc host_->OnStopStreamDevice(kRenderId, host_->video_devices_[0].device.id); device 150 content/browser/renderer_host/media/media_stream_manager.cc output_string += " " + it->device.name + "\n"; device 508 content/browser/renderer_host/media/media_stream_manager.cc MediaRequestState state = request->state(device_it->device.type); device 515 content/browser/renderer_host/media/media_stream_manager.cc CloseDevice(device_it->device.type, device_it->session_id); device 558 content/browser/renderer_host/media/media_stream_manager.cc if (device_it->device.id == device_id) { device 559 content/browser/renderer_host/media/media_stream_manager.cc StopDevice(device_it->device.type, device_it->session_id); device 581 content/browser/renderer_host/media/media_stream_manager.cc if (device_it->device.type != type || device 617 content/browser/renderer_host/media/media_stream_manager.cc device_it->device.type == type) { device 757 content/browser/renderer_host/media/media_stream_manager.cc if (old_dev_it->device.id == new_dev_it->device.id) { device 766 content/browser/renderer_host/media/media_stream_manager.cc StopRemovedDevice(old_dev_it->device); device 771 content/browser/renderer_host/media/media_stream_manager.cc void MediaStreamManager::StopRemovedDevice(const MediaStreamDevice& device) { device 782 content/browser/renderer_host/media/media_stream_manager.cc device.id); device 783 content/browser/renderer_host/media/media_stream_manager.cc if (device_it->device.id == source_id && device 784 content/browser/renderer_host/media/media_stream_manager.cc device_it->device.type == device.type) { device 797 content/browser/renderer_host/media/media_stream_manager.cc StopDevice(device.type, *it); device 802 content/browser/renderer_host/media/media_stream_manager.cc (device.type == MEDIA_DEVICE_AUDIO_CAPTURE ? "audio" : "video") << device 803 content/browser/renderer_host/media/media_stream_manager.cc ", id = " << device.id << ", name = " << device.name; device 907 content/browser/renderer_host/media/media_stream_manager.cc MediaStreamDevice* device) { device 910 content/browser/renderer_host/media/media_stream_manager.cc device->id = content::GetHMACForMediaDeviceID( device 913 content/browser/renderer_host/media/media_stream_manager.cc device->id); device 941 content/browser/renderer_host/media/media_stream_manager.cc it->device.id)) { device 942 content/browser/renderer_host/media/media_stream_manager.cc *device_id = it->device.id; device 1051 content/browser/renderer_host/media/media_stream_manager.cc devices.push_back(it->device); device 1058 content/browser/renderer_host/media/media_stream_manager.cc devices.push_back(it->device); device 1296 content/browser/renderer_host/media/media_stream_manager.cc if (device_it->device.id == source_id && device 1297 content/browser/renderer_host/media/media_stream_manager.cc device_it->device.type == new_device_info.type) { device 1299 content/browser/renderer_host/media/media_stream_manager.cc *existing_request_state = request->state(device_it->device.type); device 1318 content/browser/renderer_host/media/media_stream_manager.cc if (IsAudioMediaType(device_it->device.type)) { device 1320 content/browser/renderer_host/media/media_stream_manager.cc } else if (IsVideoMediaType(device_it->device.type)) { device 1367 content/browser/renderer_host/media/media_stream_manager.cc TranslateDeviceIdToSourceId(request, &it->device); device 1460 content/browser/renderer_host/media/media_stream_manager.cc if (device_it->device.type == stream_type && device 1462 content/browser/renderer_host/media/media_stream_manager.cc CHECK(request->state(device_it->device.type) == device 1465 content/browser/renderer_host/media/media_stream_manager.cc request->SetState(device_it->device.type, MEDIA_REQUEST_STATE_DONE); device 1467 content/browser/renderer_host/media/media_stream_manager.cc if (IsAudioMediaType(device_it->device.type)) { device 1471 content/browser/renderer_host/media/media_stream_manager.cc if (device_it->device.type != content::MEDIA_TAB_AUDIO_CAPTURE) { device 1475 content/browser/renderer_host/media/media_stream_manager.cc device_it->device.input = info->device.input; device 1476 content/browser/renderer_host/media/media_stream_manager.cc device_it->device.matched_output = info->device.matched_output; device 1700 content/browser/renderer_host/media/media_stream_manager.cc device_info.device = *device_it; device 1704 content/browser/renderer_host/media/media_stream_manager.cc if (device_info.device.type == content::MEDIA_TAB_VIDEO_CAPTURE || device 1705 content/browser/renderer_host/media/media_stream_manager.cc device_info.device.type == content::MEDIA_TAB_AUDIO_CAPTURE) { device 1706 content/browser/renderer_host/media/media_stream_manager.cc device_info.device.id = request->UIRequest()->tab_capture_device_id; device 1711 content/browser/renderer_host/media/media_stream_manager.cc if (device_info.device.type == content::MEDIA_TAB_AUDIO_CAPTURE) { device 1720 content/browser/renderer_host/media/media_stream_manager.cc device_info.device.input.sample_rate = sample_rate; device 1721 content/browser/renderer_host/media/media_stream_manager.cc device_info.device.input.channel_layout = media::CHANNEL_LAYOUT_STEREO; device 1725 content/browser/renderer_host/media/media_stream_manager.cc if (device_info.device.type == request->audio_type()) { device 1727 content/browser/renderer_host/media/media_stream_manager.cc } else if (device_info.device.type == request->video_type()) { device 1738 content/browser/renderer_host/media/media_stream_manager.cc device_info.device, device 1742 content/browser/renderer_host/media/media_stream_manager.cc request->SetState(device_info.device.type, state); device 1750 content/browser/renderer_host/media/media_stream_manager.cc GetDeviceManager(device_info.device.type)->Open(device_info); device 1751 content/browser/renderer_host/media/media_stream_manager.cc TranslateDeviceIdToSourceId(request, &device_info.device); device 1754 content/browser/renderer_host/media/media_stream_manager.cc request->SetState(device_info.device.type, MEDIA_REQUEST_STATE_OPENING); device 1757 content/browser/renderer_host/media/media_stream_manager.cc << ", {device_id = " << device_info.device.id << "}" device 1835 content/browser/renderer_host/media/media_stream_manager.cc new_devices.push_back(it->device); device 1920 content/browser/renderer_host/media/media_stream_manager.cc if (it->device.type == MEDIA_DESKTOP_VIDEO_CAPTURE) { device 314 content/browser/renderer_host/media/media_stream_manager.h void StopRemovedDevice(const MediaStreamDevice& device); device 330 content/browser/renderer_host/media/media_stream_manager.h MediaStreamDevice* device); device 76 content/browser/renderer_host/media/media_stream_provider.h virtual int Open(const StreamDeviceInfo& device) = 0; device 36 content/browser/renderer_host/media/media_stream_requester.h const StreamDeviceInfo& device) = 0; device 26 content/browser/renderer_host/media/mock_media_observer.h const MediaStreamDevice& device, device 97 content/browser/renderer_host/media/video_capture_host_unittest.cc const StreamDeviceInfo& device)); device 359 content/browser/renderer_host/media/video_capture_host_unittest.cc devices[0].device.id, device 147 content/browser/renderer_host/media/video_capture_manager.cc sessions_[capture_session_id] = device_info.device; device 154 content/browser/renderer_host/media/video_capture_manager.cc device_info.device.type, capture_session_id)); device 559 content/browser/renderer_host/media/video_capture_manager.cc DeviceEntry* device = *it; device 560 content/browser/renderer_host/media/video_capture_manager.cc if (device_info.type == device->stream_type && device 561 content/browser/renderer_host/media/video_capture_manager.cc device_info.id == device->id) { device 562 content/browser/renderer_host/media/video_capture_manager.cc return device; device 647 content/browser/renderer_host/media/video_capture_manager.cc DesktopCaptureDevice* device = device 649 content/browser/renderer_host/media/video_capture_manager.cc device->SetNotificationWindowId(window_id); device 51 content/browser/renderer_host/media/video_capture_manager.h virtual int Open(const StreamDeviceInfo& device) OVERRIDE; device 250 content/common/gpu/media/gpu_video_decode_accelerator.cc scoped_ptr<V4L2Device> device = device 252 content/common/gpu/media/gpu_video_decode_accelerator.cc if (!device.get()) { device 260 content/common/gpu/media/gpu_video_decode_accelerator.cc device.Pass(), device 157 content/common/gpu/media/v4l2_video_decode_accelerator.cc scoped_ptr<V4L2Device> device, device 164 content/common/gpu/media/v4l2_video_decode_accelerator.cc device_(device.Pass()), device 82 content/common/gpu/media/v4l2_video_decode_accelerator.h scoped_ptr<V4L2Device> device, device 556 content/common/gpu/media/video_decode_accelerator_unittest.cc scoped_ptr<V4L2Device> device = V4L2Device::Create( device 558 content/common/gpu/media/video_decode_accelerator_unittest.cc if (!device.get()) { device 566 content/common/gpu/media/video_decode_accelerator_unittest.cc device.Pass(), device 44 content/common/media/media_stream_messages.h IPC_STRUCT_TRAITS_MEMBER(device.type) device 45 content/common/media/media_stream_messages.h IPC_STRUCT_TRAITS_MEMBER(device.name) device 46 content/common/media/media_stream_messages.h IPC_STRUCT_TRAITS_MEMBER(device.id) device 47 content/common/media/media_stream_messages.h IPC_STRUCT_TRAITS_MEMBER(device.video_facing) device 48 content/common/media/media_stream_messages.h IPC_STRUCT_TRAITS_MEMBER(device.matched_output_device_id) device 49 content/common/media/media_stream_messages.h IPC_STRUCT_TRAITS_MEMBER(device.input.sample_rate) device 50 content/common/media/media_stream_messages.h IPC_STRUCT_TRAITS_MEMBER(device.input.channel_layout) device 51 content/common/media/media_stream_messages.h IPC_STRUCT_TRAITS_MEMBER(device.input.frames_per_buffer) device 52 content/common/media/media_stream_messages.h IPC_STRUCT_TRAITS_MEMBER(device.input.effects) device 53 content/common/media/media_stream_messages.h IPC_STRUCT_TRAITS_MEMBER(device.matched_output.sample_rate) device 54 content/common/media/media_stream_messages.h IPC_STRUCT_TRAITS_MEMBER(device.matched_output.channel_layout) device 55 content/common/media/media_stream_messages.h IPC_STRUCT_TRAITS_MEMBER(device.matched_output.frames_per_buffer) device 108 content/common/media/media_stream_options.cc : device(service_param, device_param, name_param), device 118 content/common/media/media_stream_options.cc : device(service_param, device_param, name_param, sample_rate, device 126 content/common/media/media_stream_options.cc return first.device.IsEqual(second.device) && device 107 content/common/media/media_stream_options.h MediaStreamDevice device; device 30 content/public/browser/media_observer.h const MediaStreamDevice& device, device 22 content/renderer/media/audio_device_factory.cc media::AudioOutputDevice* const device = device 24 content/renderer/media/audio_device_factory.cc if (device) device 25 content/renderer/media/audio_device_factory.cc return device; device 38 content/renderer/media/audio_device_factory.cc media::AudioInputDevice* const device = device 40 content/renderer/media/audio_device_factory.cc if (device) device 41 content/renderer/media/audio_device_factory.cc return device; device 254 content/renderer/media/media_stream_center.cc const MediaStreamDevice& device = devices[i].device; device 255 content/renderer/media/media_stream_center.cc DCHECK(device.type == MEDIA_DEVICE_AUDIO_CAPTURE || device 256 content/renderer/media/media_stream_center.cc device.type == MEDIA_DEVICE_VIDEO_CAPTURE); device 258 content/renderer/media/media_stream_center.cc switch (device.video_facing) { device 270 content/renderer/media/media_stream_center.cc .initialize(blink::WebString::fromUTF8(device.id), device 271 content/renderer/media/media_stream_center.cc device.type == MEDIA_DEVICE_AUDIO_CAPTURE device 274 content/renderer/media/media_stream_center.cc blink::WebString::fromUTF8(device.name), device 205 content/renderer/media/media_stream_dependency_factory.cc &device_info.device.input.effects); device 211 content/renderer/media/media_stream_dependency_factory.cc << device_info.device.id; device 64 content/renderer/media/media_stream_dependency_factory_unittest.cc info.device.type = MEDIA_DEVICE_AUDIO_CAPTURE; device 65 content/renderer/media/media_stream_dependency_factory_unittest.cc info.device.name = "audio"; device 77 content/renderer/media/media_stream_dependency_factory_unittest.cc info.device.type = MEDIA_DEVICE_VIDEO_CAPTURE; device 78 content/renderer/media/media_stream_dependency_factory_unittest.cc info.device.name = "video"; device 109 content/renderer/media/media_stream_dispatcher.cc << ", {device_id = " << device_info.device.id << "}"; device 130 content/renderer/media/media_stream_dispatcher.cc device_info.device.id)); device 292 content/renderer/media/media_stream_dispatcher.cc << ", {device_id = " << device_info.device.id << "})"; device 301 content/renderer/media/media_stream_dispatcher.cc if (IsAudioMediaType(device_info.device.type)) device 339 content/renderer/media/media_stream_dispatcher.cc if (IsAudioMediaType(device_info.device.type)) { device 341 content/renderer/media/media_stream_dispatcher.cc } else if (IsVideoMediaType(device_info.device.type)) { device 65 content/renderer/media/media_stream_dispatcher_unittest.cc if (IsVideoMediaType(device_info.device.type)) { device 68 content/renderer/media/media_stream_dispatcher_unittest.cc if (IsAudioMediaType(device_info.device.type)) { device 141 content/renderer/media/media_stream_dispatcher_unittest.cc audio_device_info.device.name = "Microphone"; device 142 content/renderer/media/media_stream_dispatcher_unittest.cc audio_device_info.device.type = kAudioType; device 150 content/renderer/media/media_stream_dispatcher_unittest.cc video_device_info.device.name = "Camera"; device 151 content/renderer/media/media_stream_dispatcher_unittest.cc video_device_info.device.type = kVideoType; device 240 content/renderer/media/media_stream_dispatcher_unittest.cc video_device_info.device.name = "Camera"; device 241 content/renderer/media/media_stream_dispatcher_unittest.cc video_device_info.device.id = "device_path"; device 242 content/renderer/media/media_stream_dispatcher_unittest.cc video_device_info.device.type = kVideoType; device 260 content/renderer/media/media_stream_dispatcher_unittest.cc video_device_info.device.id, device 266 content/renderer/media/media_stream_dispatcher_unittest.cc video_device_info.device.id, device 331 content/renderer/media/media_stream_dispatcher_unittest.cc audio_device_info.device.name = "Microphone"; device 332 content/renderer/media/media_stream_dispatcher_unittest.cc audio_device_info.device.type = kAudioType; device 338 content/renderer/media/media_stream_dispatcher_unittest.cc video_device_info.device.name = "Camera"; device 339 content/renderer/media/media_stream_dispatcher_unittest.cc video_device_info.device.type = kVideoType; device 371 content/renderer/media/media_stream_dispatcher_unittest.cc audio_device_info.device.name = "Microphone"; device 372 content/renderer/media/media_stream_dispatcher_unittest.cc audio_device_info.device.type = kAudioType; device 378 content/renderer/media/media_stream_dispatcher_unittest.cc video_device_info.device.name = "Camera"; device 379 content/renderer/media/media_stream_dispatcher_unittest.cc video_device_info.device.type = kVideoType; device 381 content/renderer/media/media_stream_impl.cc << "{device_id = " << device_info.device.id << "})"; device 418 content/renderer/media/media_stream_impl.cc const StreamDeviceInfo& device, device 424 content/renderer/media/media_stream_impl.cc FindLocalSource(device); device 433 content/renderer/media/media_stream_impl.cc base::UTF8ToUTF16(device.device.id), device 435 content/renderer/media/media_stream_impl.cc base::UTF8ToUTF16(device.device.name)); device 444 content/renderer/media/media_stream_impl.cc device, device 451 content/renderer/media/media_stream_impl.cc device, device 460 content/renderer/media/media_stream_impl.cc const StreamDeviceInfo& device, device 463 content/renderer/media/media_stream_impl.cc device, device 465 content/renderer/media/media_stream_impl.cc new VideoCapturerDelegate(device), device 503 content/renderer/media/media_stream_impl.cc it->device.name.c_str())); device 513 content/renderer/media/media_stream_impl.cc it->device.matched_output_device_id = ""; device 514 content/renderer/media/media_stream_impl.cc it->device.matched_output = MediaStreamDevice::AudioDeviceParameters(); device 615 content/renderer/media/media_stream_impl.cc const StreamDeviceInfo& device) const { device 621 content/renderer/media/media_stream_impl.cc if (active_device.device.id == device.device.id && device 622 content/renderer/media/media_stream_impl.cc active_device.device.type == device.device.type && device 623 content/renderer/media/media_stream_impl.cc active_device.session_id == device.session_id) { device 773 content/renderer/media/media_stream_impl.cc << "{device_id = " << source_impl->device_info().device.id << "})"; device 125 content/renderer/media/media_stream_impl.h const StreamDeviceInfo& device, device 196 content/renderer/media/media_stream_impl.h const StreamDeviceInfo& device, device 229 content/renderer/media/media_stream_impl.h const StreamDeviceInfo& device) const; device 24 content/renderer/media/media_stream_impl_unittest.cc const StreamDeviceInfo& device, device 28 content/renderer/media/media_stream_impl_unittest.cc SetDeviceInfo(device); device 71 content/renderer/media/media_stream_impl_unittest.cc const StreamDeviceInfo& device, device 73 content/renderer/media/media_stream_impl_unittest.cc video_source_ = new MockMediaStreamVideoCapturerSource(device, device 70 content/renderer/media/media_stream_video_capture_source_unittest.cc device_info.device.type = MEDIA_TAB_VIDEO_CAPTURE; device 83 content/renderer/media/media_stream_video_capture_source_unittest.cc device_info.device.type = MEDIA_DESKTOP_VIDEO_CAPTURE; device 37 content/renderer/media/media_stream_video_capturer_source.cc is_screen_cast_(device_info.device.type == MEDIA_TAB_VIDEO_CAPTURE || device 38 content/renderer/media/media_stream_video_capturer_source.cc device_info.device.type == MEDIA_DESKTOP_VIDEO_CAPTURE), device 246 content/renderer/media/media_stream_video_capturer_source.cc if (device_info().device.type == MEDIA_TAB_VIDEO_CAPTURE || device 247 content/renderer/media/media_stream_video_capturer_source.cc device_info().device.type == MEDIA_DESKTOP_VIDEO_CAPTURE) { device 374 content/renderer/media/media_stream_video_source.cc device_info().device.type == MEDIA_TAB_VIDEO_CAPTURE || device 375 content/renderer/media/media_stream_video_source.cc device_info().device.type == MEDIA_DESKTOP_VIDEO_CAPTURE; device 37 content/renderer/media/mock_media_stream_dispatcher.cc audio.device.id = "audio_device_id" + base::IntToString(session_id_); device 38 content/renderer/media/mock_media_stream_dispatcher.cc audio.device.name = "microphone"; device 39 content/renderer/media/mock_media_stream_dispatcher.cc audio.device.type = MEDIA_DEVICE_AUDIO_CAPTURE; device 45 content/renderer/media/mock_media_stream_dispatcher.cc video.device.id = "video_device_id" + base::IntToString(session_id_); device 46 content/renderer/media/mock_media_stream_dispatcher.cc video.device.name = "usb video camera"; device 47 content/renderer/media/mock_media_stream_dispatcher.cc video.device.type = MEDIA_DEVICE_VIDEO_CAPTURE; device 62 content/renderer/media/mock_media_stream_dispatcher.cc if (IsAudioMediaType(device_info.device.type)) { device 66 content/renderer/media/mock_media_stream_dispatcher.cc if (IsVideoMediaType(device_info.device.type)) { device 145 content/renderer/media/webrtc_audio_capturer.cc device_info_.device.input.channel_layout, device 146 content/renderer/media/webrtc_audio_capturer.cc device_info_.device.input.sample_rate, device 147 content/renderer/media/webrtc_audio_capturer.cc device_info_.device.input.frames_per_buffer, device 149 content/renderer/media/webrtc_audio_capturer.cc device_info_.device.matched_output.sample_rate, device 150 content/renderer/media/webrtc_audio_capturer.cc device_info_.device.matched_output.frames_per_buffer, device 151 content/renderer/media/webrtc_audio_capturer.cc device_info_.device.input.effects)); device 160 content/renderer/media/webrtc_audio_capturer.cc device_info_.device.input.channel_layout); device 174 content/renderer/media/webrtc_audio_capturer.cc << device_info_.device.input.sample_rate; device 176 content/renderer/media/webrtc_audio_capturer.cc if (media::ToAudioSampleRate(device_info_.device.input.sample_rate, &asr)) { device 181 content/renderer/media/webrtc_audio_capturer.cc device_info_.device.input.sample_rate); device 188 content/renderer/media/webrtc_audio_capturer.cc device_info_.device.input.sample_rate) == device 190 content/renderer/media/webrtc_audio_capturer.cc DLOG(ERROR) << device_info_.device.input.sample_rate device 198 content/renderer/media/webrtc_audio_capturer.cc static_cast<float>(device_info_.device.input.sample_rate)); device 216 content/renderer/media/webrtc_audio_capturer.cc constraints, device_info.device.input.effects, device 217 content/renderer/media/webrtc_audio_capturer.cc device_info.device.type, audio_device)), device 306 content/renderer/media/webrtc_audio_capturer.cc device_info_.device.input.effects); device 314 content/renderer/media/webrtc_audio_capturer.cc constraints_, device_info_.device.input.effects); device 527 content/renderer/media/webrtc_audio_capturer.cc !device_info_.device.matched_output.sample_rate || device 528 content/renderer/media/webrtc_audio_capturer.cc !device_info_.device.matched_output.frames_per_buffer) device 532 content/renderer/media/webrtc_audio_capturer.cc *output_sample_rate = device_info_.device.matched_output.sample_rate; device 534 content/renderer/media/webrtc_audio_capturer.cc device_info_.device.matched_output.frames_per_buffer; device 553 content/renderer/media/webrtc_audio_capturer.cc int hardware_buffer_size = device_info_.device.input.frames_per_buffer; device 97 content/renderer/media/webrtc_audio_capturer.h const std::string& device_id() const { return device_info_.device.id; } device 74 content/renderer/media/webrtc_audio_device_not_impl.cc int32_t WebRtcAudioDeviceNotImpl::SetPlayoutDevice(WindowsDeviceType device) { device 82 content/renderer/media/webrtc_audio_device_not_impl.cc int32_t WebRtcAudioDeviceNotImpl::SetRecordingDevice(WindowsDeviceType device) { device 52 content/renderer/media/webrtc_audio_device_not_impl.h virtual int32_t SetPlayoutDevice(WindowsDeviceType device) OVERRIDE; device 54 content/renderer/media/webrtc_audio_device_not_impl.h virtual int32_t SetRecordingDevice(WindowsDeviceType device) OVERRIDE; device 173 content/renderer/media/webrtc_local_audio_track_unittest.cc StreamDeviceInfo device(MEDIA_DEVICE_AUDIO_CAPTURE, device 175 content/renderer/media/webrtc_local_audio_track_unittest.cc capturer_ = WebRtcAudioCapturer::CreateCapturer(-1, device, device 431 content/renderer/media/webrtc_local_audio_track_unittest.cc StreamDeviceInfo device(MEDIA_DEVICE_AUDIO_CAPTURE, device 434 content/renderer/media/webrtc_local_audio_track_unittest.cc WebRtcAudioCapturer::CreateCapturer(-1, device, constraints, NULL)); device 18 content/renderer/pepper/pepper_media_device_manager.cc data.id = info.device.id; device 19 content/renderer/pepper/pepper_media_device_manager.cc data.name = info.device.name; device 20 content/renderer/pepper/pepper_media_device_manager.cc data.type = PepperMediaDeviceManager::FromMediaStreamType(info.device.type); device 2177 content/renderer/pepper/pepper_plugin_instance_impl.cc PP_Resource device) { device 2192 content/renderer/pepper/pepper_plugin_instance_impl.cc if (!device) { device 2206 content/renderer/pepper/pepper_plugin_instance_impl.cc ppapi::host::ResourceHost* host = ppapi_host->GetResourceHost(device); device 2214 content/renderer/pepper/pepper_plugin_instance_impl.cc EnterResourceNoLock<PPB_Graphics3D_API> enter_3d(device, false); device 381 content/renderer/pepper/pepper_plugin_instance_impl.h PP_Resource device) OVERRIDE; device 118 content/shell/renderer/webkit_test_runner.cc SkBaseDevice* device = skia::GetTopDevice(*canvas); device 119 content/shell/renderer/webkit_test_runner.cc const SkBitmap& bitmap = device->accessBitmap(false); device 19 device/bluetooth/bluetooth_adapter.h namespace device { device 66 device/bluetooth/bluetooth_adapter.h BluetoothDevice* device) {} device 72 device/bluetooth/bluetooth_adapter.h BluetoothDevice* device) {} device 78 device/bluetooth/bluetooth_adapter.h BluetoothDevice* device) {} device 24 device/bluetooth/bluetooth_adapter_chromeos.cc using device::BluetoothAdapter; device 25 device/bluetooth/bluetooth_adapter_chromeos.cc using device::BluetoothDevice; device 657 device/bluetooth/bluetooth_adapter_chromeos.cc BluetoothDeviceChromeOS* device) { device 658 device/bluetooth/bluetooth_adapter_chromeos.cc DCHECK(device->adapter_ == this); device 661 device/bluetooth/bluetooth_adapter_chromeos.cc DeviceChanged(this, device)); device 20 device/bluetooth/bluetooth_adapter_chromeos.h namespace device { device 35 device/bluetooth/bluetooth_adapter_chromeos.h : public device::BluetoothAdapter, device 43 device/bluetooth/bluetooth_adapter_chromeos.h device::BluetoothAdapter::Observer* observer) OVERRIDE; device 45 device/bluetooth/bluetooth_adapter_chromeos.h device::BluetoothAdapter::Observer* observer) OVERRIDE; device 65 device/bluetooth/bluetooth_adapter_chromeos.h const device::BluetoothAdapter::BluetoothOutOfBandPairingDataCallback& device 72 device/bluetooth/bluetooth_adapter_chromeos.h device::BluetoothDevice::PairingDelegate* pairing_delegate) OVERRIDE; device 75 device/bluetooth/bluetooth_adapter_chromeos.h friend class device::BluetoothAdapterFactory; device 172 device/bluetooth/bluetooth_adapter_chromeos.h void NotifyDeviceChanged(BluetoothDeviceChromeOS* device); device 232 device/bluetooth/bluetooth_adapter_chromeos.h ObserverList<device::BluetoothAdapter::Observer> observers_; device 26 device/bluetooth/bluetooth_adapter_factory.cc using device::BluetoothAdapter; device 27 device/bluetooth/bluetooth_adapter_factory.cc using device::BluetoothAdapterFactory; device 33 device/bluetooth/bluetooth_adapter_factory.cc base::LazyInstance<base::WeakPtr<device::BluetoothAdapter> >::Leaky device 14 device/bluetooth/bluetooth_adapter_factory.h namespace device { device 39 device/bluetooth/bluetooth_adapter_mac.h namespace device { device 73 device/bluetooth/bluetooth_adapter_mac.h IOBluetoothDevice* device); device 81 device/bluetooth/bluetooth_adapter_mac.h device::BluetoothDevice::PairingDelegate* pairing_delegate) OVERRIDE; device 10 device/bluetooth/bluetooth_adapter_unittest.cc using device::BluetoothAdapter; device 11 device/bluetooth/bluetooth_adapter_unittest.cc using device::BluetoothDevice; device 102 device/bluetooth/bluetooth_adapter_unittest.cc virtual void RequestPinCode(BluetoothDevice* device) OVERRIDE {} device 103 device/bluetooth/bluetooth_adapter_unittest.cc virtual void RequestPasskey(BluetoothDevice* device) OVERRIDE {} device 104 device/bluetooth/bluetooth_adapter_unittest.cc virtual void DisplayPinCode(BluetoothDevice* device, device 106 device/bluetooth/bluetooth_adapter_unittest.cc virtual void DisplayPasskey(BluetoothDevice* device, device 108 device/bluetooth/bluetooth_adapter_unittest.cc virtual void KeysEntered(BluetoothDevice* device, device 110 device/bluetooth/bluetooth_adapter_unittest.cc virtual void ConfirmPasskey(BluetoothDevice* device, device 112 device/bluetooth/bluetooth_adapter_unittest.cc virtual void AuthorizePairing(BluetoothDevice* device) OVERRIDE {} device 26 device/bluetooth/bluetooth_adapter_win.h namespace device { device 78 device/bluetooth/bluetooth_adapter_win.h device::BluetoothDevice::PairingDelegate* pairing_delegate) OVERRIDE; device 24 device/bluetooth/bluetooth_adapter_win_unittest.cc device::BluetoothTaskManagerWin::DeviceState* state) { device 32 device/bluetooth/bluetooth_adapter_win_unittest.cc class AdapterObserver : public device::BluetoothAdapter::Observer { device 42 device/bluetooth/bluetooth_adapter_win_unittest.cc device::BluetoothAdapter* adapter, bool present) OVERRIDE { device 47 device/bluetooth/bluetooth_adapter_win_unittest.cc device::BluetoothAdapter* adapter, bool powered) OVERRIDE { device 52 device/bluetooth/bluetooth_adapter_win_unittest.cc device::BluetoothAdapter* adapter, bool discovering) OVERRIDE { device 57 device/bluetooth/bluetooth_adapter_win_unittest.cc device::BluetoothAdapter* adapter, device 58 device/bluetooth/bluetooth_adapter_win_unittest.cc device::BluetoothDevice* device) OVERRIDE { device 24 device/bluetooth/bluetooth_chromeos_unittest.cc using device::BluetoothAdapter; device 25 device/bluetooth/bluetooth_chromeos_unittest.cc using device::BluetoothAdapterFactory; device 26 device/bluetooth/bluetooth_chromeos_unittest.cc using device::BluetoothDevice; device 27 device/bluetooth/bluetooth_chromeos_unittest.cc using device::BluetoothDiscoverySession; device 28 device/bluetooth/bluetooth_chromeos_unittest.cc using device::BluetoothUUID; device 86 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device) OVERRIDE { device 90 device/bluetooth/bluetooth_chromeos_unittest.cc last_device_ = device; device 91 device/bluetooth/bluetooth_chromeos_unittest.cc last_device_address_ = device->GetAddress(); device 97 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device) OVERRIDE { device 101 device/bluetooth/bluetooth_chromeos_unittest.cc last_device_ = device; device 102 device/bluetooth/bluetooth_chromeos_unittest.cc last_device_address_ = device->GetAddress(); device 108 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device) OVERRIDE { device 113 device/bluetooth/bluetooth_chromeos_unittest.cc last_device_address_ = device->GetAddress(); device 158 device/bluetooth/bluetooth_chromeos_unittest.cc virtual void RequestPinCode(BluetoothDevice* device) OVERRIDE { device 164 device/bluetooth/bluetooth_chromeos_unittest.cc virtual void RequestPasskey(BluetoothDevice* device) OVERRIDE { device 170 device/bluetooth/bluetooth_chromeos_unittest.cc virtual void DisplayPinCode(BluetoothDevice* device, device 178 device/bluetooth/bluetooth_chromeos_unittest.cc virtual void DisplayPasskey(BluetoothDevice* device, device 186 device/bluetooth/bluetooth_chromeos_unittest.cc virtual void KeysEntered(BluetoothDevice* device, uint32 entered) OVERRIDE { device 193 device/bluetooth/bluetooth_chromeos_unittest.cc virtual void ConfirmPasskey(BluetoothDevice* device, device 201 device/bluetooth/bluetooth_chromeos_unittest.cc virtual void AuthorizePairing(BluetoothDevice* device) OVERRIDE { device 1591 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 1593 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 1594 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 1597 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 1608 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device->IsConnected()); device 1609 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsConnecting()); device 1621 device/bluetooth/bluetooth_chromeos_unittest.cc device->Forget( device 1631 device/bluetooth/bluetooth_chromeos_unittest.cc device = adapter_->GetDevice( device 1633 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device != NULL); device 1639 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 1641 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 1642 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device->IsPaired()); device 1648 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 1661 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(device, observer.last_device_); device 1663 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnected()); device 1664 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 1671 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 1673 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 1674 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 1680 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 1693 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(device, observer.last_device_); device 1695 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnected()); device 1696 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 1705 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice::UUIDList uuids = device->GetUUIDs(); device 1708 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnectable()); device 1714 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 1716 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 1717 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device->IsPaired()); device 1719 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 1730 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device->IsConnected()); device 1736 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 1750 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnected()); device 1751 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 1758 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 1760 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 1761 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 1767 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 1780 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnected()); device 1781 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 1787 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 1789 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 1790 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device->IsPaired()); device 1792 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 1803 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device->IsConnected()); device 1804 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsConnecting()); device 1810 device/bluetooth/bluetooth_chromeos_unittest.cc device->Disconnect( device 1820 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(device, observer.last_device_); device 1822 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnected()); device 1828 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 1830 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 1831 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device->IsPaired()); device 1832 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsConnected()); device 1838 device/bluetooth/bluetooth_chromeos_unittest.cc device->Disconnect( device 1849 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnected()); device 1860 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 1862 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 1863 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 1868 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 1876 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnecting()); device 1887 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(device, observer.last_device_); device 1889 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnected()); device 1890 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 1892 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsPaired()); device 1895 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice::UUIDList uuids = device->GetUUIDs(); device 1898 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnectable()); device 1914 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 1916 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 1917 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 1922 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 1932 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnecting()); device 1943 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(device, observer.last_device_); device 1945 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnected()); device 1946 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 1948 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsPaired()); device 1951 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice::UUIDList uuids = device->GetUUIDs(); device 1954 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnectable()); device 1971 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 1973 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 1974 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 1979 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 1993 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnecting()); device 2019 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(device, observer.last_device_); device 2021 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnected()); device 2022 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 2024 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsPaired()); device 2027 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice::UUIDList uuids = device->GetUUIDs(); device 2032 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnectable()); device 2048 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2050 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2051 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2056 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 2065 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnecting()); device 2068 device/bluetooth/bluetooth_chromeos_unittest.cc device->SetPinCode("1234"); device 2077 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(device, observer.last_device_); device 2079 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnected()); device 2080 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 2082 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsPaired()); device 2085 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice::UUIDList uuids = device->GetUUIDs(); device 2089 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnectable()); device 2105 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2107 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2108 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2113 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 2123 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnecting()); device 2126 device/bluetooth/bluetooth_chromeos_unittest.cc device->ConfirmPairing(); device 2135 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(device, observer.last_device_); device 2137 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnected()); device 2138 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 2140 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsPaired()); device 2143 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnectable()); device 2160 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2162 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2163 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2168 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 2177 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnecting()); device 2180 device/bluetooth/bluetooth_chromeos_unittest.cc device->SetPasskey(1234); device 2189 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(device, observer.last_device_); device 2191 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnected()); device 2192 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 2194 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsPaired()); device 2197 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnectable()); device 2214 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2216 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2217 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2222 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 2239 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(device, observer.last_device_); device 2241 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnected()); device 2242 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 2244 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsPaired()); device 2247 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnectable()); device 2262 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2264 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2265 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2270 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 2278 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnecting()); device 2288 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnected()); device 2289 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 2290 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsPaired()); device 2300 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2302 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2303 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2308 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 2316 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnecting()); device 2326 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnected()); device 2327 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 2328 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsPaired()); device 2339 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2341 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2342 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2347 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 2355 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnecting()); device 2366 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(device, observer.last_device_); device 2368 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnected()); device 2369 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 2371 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsPaired()); device 2389 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2391 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2392 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2397 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 2406 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnecting()); device 2409 device/bluetooth/bluetooth_chromeos_unittest.cc device->RejectPairing(); device 2418 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnected()); device 2419 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 2420 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsPaired()); device 2430 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2432 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2433 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2438 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 2447 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnecting()); device 2450 device/bluetooth/bluetooth_chromeos_unittest.cc device->CancelPairing(); device 2459 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnected()); device 2460 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 2461 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsPaired()); device 2471 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2473 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2474 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2479 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 2488 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnecting()); device 2491 device/bluetooth/bluetooth_chromeos_unittest.cc device->RejectPairing(); device 2500 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnected()); device 2501 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 2502 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsPaired()); device 2512 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2514 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2515 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2520 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 2529 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnecting()); device 2532 device/bluetooth/bluetooth_chromeos_unittest.cc device->CancelPairing(); device 2541 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnected()); device 2542 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 2543 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsPaired()); device 2553 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2555 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2556 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2561 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 2570 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnecting()); device 2573 device/bluetooth/bluetooth_chromeos_unittest.cc device->RejectPairing(); device 2582 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnected()); device 2583 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 2584 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsPaired()); device 2594 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2596 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2597 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2602 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 2611 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnecting()); device 2614 device/bluetooth/bluetooth_chromeos_unittest.cc device->CancelPairing(); device 2623 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnected()); device 2624 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 2625 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsPaired()); device 2635 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2637 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2638 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2643 device/bluetooth/bluetooth_chromeos_unittest.cc device->Connect( device 2651 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsConnecting()); device 2654 device/bluetooth/bluetooth_chromeos_unittest.cc device->CancelPairing(); device 2663 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnected()); device 2664 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsConnecting()); device 2665 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsPaired()); device 2682 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2684 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2685 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2701 device/bluetooth/bluetooth_chromeos_unittest.cc device->SetPinCode("1234"); device 2709 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(device, observer.last_device_); device 2711 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsPaired()); device 2721 device/bluetooth/bluetooth_chromeos_unittest.cc static_cast<BluetoothDeviceChromeOS*>(device); device 2739 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2741 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2742 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2759 device/bluetooth/bluetooth_chromeos_unittest.cc device->ConfirmPairing(); device 2767 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(device, observer.last_device_); device 2769 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsPaired()); device 2779 device/bluetooth/bluetooth_chromeos_unittest.cc static_cast<BluetoothDeviceChromeOS*>(device); device 2797 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2799 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2800 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2816 device/bluetooth/bluetooth_chromeos_unittest.cc device->SetPasskey(1234); device 2824 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(device, observer.last_device_); device 2826 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsPaired()); device 2836 device/bluetooth/bluetooth_chromeos_unittest.cc static_cast<BluetoothDeviceChromeOS*>(device); device 2855 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2857 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2858 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2874 device/bluetooth/bluetooth_chromeos_unittest.cc device->ConfirmPairing(); device 2882 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(device, observer.last_device_); device 2884 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_TRUE(device->IsPaired()); device 2894 device/bluetooth/bluetooth_chromeos_unittest.cc static_cast<BluetoothDeviceChromeOS*>(device); device 2908 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2910 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2911 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2932 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsPaired()); device 2936 device/bluetooth/bluetooth_chromeos_unittest.cc static_cast<BluetoothDeviceChromeOS*>(device); device 2950 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2952 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2953 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 2974 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsPaired()); device 2978 device/bluetooth/bluetooth_chromeos_unittest.cc static_cast<BluetoothDeviceChromeOS*>(device); device 2992 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 2994 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 2995 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 3016 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsPaired()); device 3020 device/bluetooth/bluetooth_chromeos_unittest.cc static_cast<BluetoothDeviceChromeOS*>(device); device 3034 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 3036 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 3037 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 3058 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsPaired()); device 3062 device/bluetooth/bluetooth_chromeos_unittest.cc static_cast<BluetoothDeviceChromeOS*>(device); device 3080 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 3082 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 3083 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_FALSE(device->IsPaired()); device 3100 device/bluetooth/bluetooth_chromeos_unittest.cc static_cast<BluetoothDeviceChromeOS*>(device); device 3110 device/bluetooth/bluetooth_chromeos_unittest.cc device->SetPasskey(1234); device 3116 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_FALSE(device->IsPaired()); device 3124 device/bluetooth/bluetooth_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 3130 device/bluetooth/bluetooth_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 3136 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(BluetoothDevice::VENDOR_ID_USB, device->GetVendorIDSource()); device 3137 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(0x05ac, device->GetVendorID()); device 3138 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(0x030d, device->GetProductID()); device 3139 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(0x0306, device->GetDeviceID()); device 3144 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(BluetoothDevice::VENDOR_ID_BLUETOOTH, device->GetVendorIDSource()); device 3145 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(0x00e0, device->GetVendorID()); device 3146 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(0x2400, device->GetProductID()); device 3147 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(0x0400, device->GetDeviceID()); device 3152 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(BluetoothDevice::VENDOR_ID_UNKNOWN, device->GetVendorIDSource()); device 3153 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(0, device->GetVendorID()); device 3154 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(0, device->GetProductID()); device 3155 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(0, device->GetDeviceID()); device 3160 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(BluetoothDevice::VENDOR_ID_UNKNOWN, device->GetVendorIDSource()); device 3161 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(0, device->GetVendorID()); device 3162 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(0, device->GetProductID()); device 3163 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(0, device->GetDeviceID()); device 3168 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(BluetoothDevice::VENDOR_ID_UNKNOWN, device->GetVendorIDSource()); device 3169 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(0, device->GetVendorID()); device 3170 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(0, device->GetProductID()); device 3171 device/bluetooth/bluetooth_chromeos_unittest.cc EXPECT_EQ(0, device->GetDeviceID()); device 16 device/bluetooth/bluetooth_device.h namespace device { device 99 device/bluetooth/bluetooth_device.h virtual void RequestPinCode(BluetoothDevice* device) = 0; device 110 device/bluetooth/bluetooth_device.h virtual void RequestPasskey(BluetoothDevice* device) = 0; device 119 device/bluetooth/bluetooth_device.h virtual void DisplayPinCode(BluetoothDevice* device, device 130 device/bluetooth/bluetooth_device.h virtual void DisplayPasskey(BluetoothDevice* device, device 145 device/bluetooth/bluetooth_device.h virtual void KeysEntered(BluetoothDevice* device, device 160 device/bluetooth/bluetooth_device.h virtual void ConfirmPasskey(BluetoothDevice* device, device 170 device/bluetooth/bluetooth_device.h virtual void AuthorizePairing(BluetoothDevice* device) = 0; device 24 device/bluetooth/bluetooth_device_chromeos.cc using device::BluetoothDevice; device 222 device/bluetooth/bluetooth_device_chromeos.cc std::vector<device::BluetoothUUID> uuids; device 226 device/bluetooth/bluetooth_device_chromeos.cc device::BluetoothUUID uuid(*iter); device 355 device/bluetooth/bluetooth_device_chromeos.cc const device::BluetoothUUID& service_uuid, device 358 device/bluetooth/bluetooth_device_chromeos.cc callback.Run(scoped_refptr<device::BluetoothSocket>()); device 362 device/bluetooth/bluetooth_device_chromeos.cc device::BluetoothProfile* profile, device 386 device/bluetooth/bluetooth_device_chromeos.cc const device::BluetoothOutOfBandPairingData& data, device 573 device/bluetooth/bluetooth_device_chromeos.cc device::BluetoothProfile* profile, device 583 device/bluetooth/bluetooth_device_chromeos.cc device::BluetoothProfile* profile, device 24 device/bluetooth/bluetooth_device_chromeos.h : public device::BluetoothDevice { device 42 device/bluetooth/bluetooth_device_chromeos.h device::BluetoothDevice::PairingDelegate* pairing_delegate, device 55 device/bluetooth/bluetooth_device_chromeos.h const device::BluetoothUUID& service_uuid, device 58 device/bluetooth/bluetooth_device_chromeos.h device::BluetoothProfile* profile, device 62 device/bluetooth/bluetooth_device_chromeos.h const device::BluetoothOutOfBandPairingData& data, device 141 device/bluetooth/bluetooth_device_chromeos.h void OnConnectProfile(device::BluetoothProfile* profile, device 143 device/bluetooth/bluetooth_device_chromeos.h void OnConnectProfileError(device::BluetoothProfile* profile, device 19 device/bluetooth/bluetooth_device_mac.h namespace device { device 23 device/bluetooth/bluetooth_device_mac.h explicit BluetoothDeviceMac(IOBluetoothDevice* device); device 55 device/bluetooth/bluetooth_device_mac.h const device::BluetoothUUID& service_uuid, device 58 device/bluetooth/bluetooth_device_mac.h device::BluetoothProfile* profile, device 164 device/bluetooth/bluetooth_device_win.cc const device::BluetoothUUID& service_uuid, device 182 device/bluetooth/bluetooth_device_win.cc device::BluetoothProfile* profile, device 205 device/bluetooth/bluetooth_device_win.cc const device::BluetoothUUID& uuid) const { device 15 device/bluetooth/bluetooth_device_win.h namespace device { device 55 device/bluetooth/bluetooth_device_win.h const device::BluetoothUUID& service_uuid, device 58 device/bluetooth/bluetooth_device_win.h device::BluetoothProfile* profile, device 72 device/bluetooth/bluetooth_device_win.h const device::BluetoothUUID& uuid) const; device 27 device/bluetooth/bluetooth_device_win_unittest.cc const device::BluetoothUUID kTestAudioSdpUuid("110a"); device 35 device/bluetooth/bluetooth_device_win_unittest.cc const device::BluetoothUUID kTestVideoSdpUuid("1112"); device 12 device/bluetooth/bluetooth_discovery_session.h namespace device { device 14 device/bluetooth/bluetooth_gatt_characteristic.h namespace device { device 14 device/bluetooth/bluetooth_gatt_descriptor.h namespace device { device 14 device/bluetooth/bluetooth_gatt_service.h namespace device { device 22 device/bluetooth/bluetooth_init_win.h namespace device { device 10 device/bluetooth/bluetooth_out_of_band_pairing_data.h namespace device { device 12 device/bluetooth/bluetooth_pairing_chromeos.cc using device::BluetoothDevice; device 38 device/bluetooth/bluetooth_pairing_chromeos.cc BluetoothDeviceChromeOS* device, device 40 device/bluetooth/bluetooth_pairing_chromeos.cc : device_(device), device 22 device/bluetooth/bluetooth_pairing_chromeos.h BluetoothDeviceChromeOS* device, device 23 device/bluetooth/bluetooth_pairing_chromeos.h device::BluetoothDevice::PairingDelegate* pairing_delegate); device 108 device/bluetooth/bluetooth_pairing_chromeos.h device::BluetoothDevice::PairingDelegate* GetPairingDelegate() const; device 125 device/bluetooth/bluetooth_pairing_chromeos.h device::BluetoothDevice::PairingDelegate* pairing_delegate_; device 14 device/bluetooth/bluetooth_profile.h namespace device { device 35 device/bluetooth/bluetooth_profile_chromeos.cc using device::BluetoothAdapter; device 36 device/bluetooth/bluetooth_profile_chromeos.cc using device::BluetoothAdapterFactory; device 37 device/bluetooth/bluetooth_profile_chromeos.cc using device::BluetoothDevice; device 38 device/bluetooth/bluetooth_profile_chromeos.cc using device::BluetoothProfile; device 39 device/bluetooth/bluetooth_profile_chromeos.cc using device::BluetoothSocket; device 72 device/bluetooth/bluetooth_profile_chromeos.cc const device::BluetoothUUID& uuid, device 73 device/bluetooth/bluetooth_profile_chromeos.cc const device::BluetoothProfile::Options& options, device 156 device/bluetooth/bluetooth_profile_chromeos.cc scoped_refptr<device::BluetoothAdapter> adapter) { device 286 device/bluetooth/bluetooth_profile_chromeos.cc BluetoothDeviceChromeOS* device = device 289 device/bluetooth/bluetooth_profile_chromeos.cc DCHECK(device); device 293 device/bluetooth/bluetooth_profile_chromeos.cc connection_callback_.Run(device, socket); device 33 device/bluetooth/bluetooth_profile_chromeos.h : public device::BluetoothProfile, device 34 device/bluetooth/bluetooth_profile_chromeos.h private device::BluetoothAdapter::Observer, device 43 device/bluetooth/bluetooth_profile_chromeos.h const device::BluetoothUUID& uuid() const { return uuid_; } device 54 device/bluetooth/bluetooth_profile_chromeos.h void Init(const device::BluetoothUUID& uuid, device 55 device/bluetooth/bluetooth_profile_chromeos.h const device::BluetoothProfile::Options& options, device 71 device/bluetooth/bluetooth_profile_chromeos.h virtual void AdapterPresentChanged(device::BluetoothAdapter* adapter, device 82 device/bluetooth/bluetooth_profile_chromeos.h scoped_refptr<device::BluetoothAdapter> adapter); device 109 device/bluetooth/bluetooth_profile_chromeos.h device::BluetoothUUID uuid_; device 123 device/bluetooth/bluetooth_profile_chromeos.h scoped_refptr<device::BluetoothAdapter> adapter_; device 26 device/bluetooth/bluetooth_profile_chromeos_unittest.cc using device::BluetoothAdapter; device 27 device/bluetooth/bluetooth_profile_chromeos_unittest.cc using device::BluetoothDevice; device 28 device/bluetooth/bluetooth_profile_chromeos_unittest.cc using device::BluetoothProfile; device 29 device/bluetooth/bluetooth_profile_chromeos_unittest.cc using device::BluetoothSocket; device 30 device/bluetooth/bluetooth_profile_chromeos_unittest.cc using device::BluetoothUUID; device 62 device/bluetooth/bluetooth_profile_chromeos_unittest.cc device::BluetoothAdapterFactory::GetAdapter( device 100 device/bluetooth/bluetooth_profile_chromeos_unittest.cc void ConnectionCallback(const BluetoothDevice *device, device 103 device/bluetooth/bluetooth_profile_chromeos_unittest.cc last_device_ = device; device 152 device/bluetooth/bluetooth_profile_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 154 device/bluetooth/bluetooth_profile_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 156 device/bluetooth/bluetooth_profile_chromeos_unittest.cc device->ConnectToProfile( device 169 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_EQ(device, last_device_); device 278 device/bluetooth/bluetooth_profile_chromeos_unittest.cc BluetoothDevice* device = adapter_->GetDevice( device 280 device/bluetooth/bluetooth_profile_chromeos_unittest.cc ASSERT_TRUE(device != NULL); device 282 device/bluetooth/bluetooth_profile_chromeos_unittest.cc device->ConnectToProfile( device 295 device/bluetooth/bluetooth_profile_chromeos_unittest.cc EXPECT_EQ(device, last_device_); device 21 device/bluetooth/bluetooth_profile_mac.h namespace device { device 33 device/bluetooth/bluetooth_profile_mac.h bool Connect(IOBluetoothDevice* device); device 31 device/bluetooth/bluetooth_profile_win.cc bool BluetoothProfileWin::Connect(const BluetoothDeviceWin* device) { device 35 device/bluetooth/bluetooth_profile_win.cc const BluetoothServiceRecord* record = device->GetServiceRecord(uuid_); device 40 device/bluetooth/bluetooth_profile_win.cc connection_callback_.Run(device, socket); device 13 device/bluetooth/bluetooth_profile_win.h namespace device { device 24 device/bluetooth/bluetooth_profile_win.h bool Connect(const BluetoothDeviceWin* device); device 13 device/bluetooth/bluetooth_service_record.h namespace device { device 18 device/bluetooth/bluetooth_service_record_mac.h namespace device { device 65 device/bluetooth/bluetooth_service_record_win.cc device::BluetoothUUID* uuid) { device 75 device/bluetooth/bluetooth_service_record_win.cc *uuid = device::BluetoothUUID(uuid_hex); device 79 device/bluetooth/bluetooth_service_record_win.cc *uuid = device::BluetoothUUID(uuid_hex); device 81 device/bluetooth/bluetooth_service_record_win.cc *uuid = device::BluetoothUUID(base::StringPrintf( device 95 device/bluetooth/bluetooth_service_record_win.cc *uuid = device::BluetoothUUID(); device 14 device/bluetooth/bluetooth_service_record_win.h namespace device { device 18 device/bluetooth/bluetooth_service_record_win_unittest.cc const device::BluetoothUUID kTestNoRfcommSdpUuid("110a"); device 25 device/bluetooth/bluetooth_service_record_win_unittest.cc const device::BluetoothUUID kTestRfcommSdpUuid("1112"); device 19 device/bluetooth/bluetooth_socket.h namespace device { device 158 device/bluetooth/bluetooth_socket_chromeos.cc scoped_refptr<device::BluetoothSocket> BluetoothSocketChromeOS::Create( device 33 device/bluetooth/bluetooth_socket_chromeos.h : public device::BluetoothSocket { device 43 device/bluetooth/bluetooth_socket_chromeos.h static scoped_refptr<device::BluetoothSocket> Create( device 30 device/bluetooth/bluetooth_socket_mac.h namespace device { device 22 device/bluetooth/bluetooth_socket_win.h namespace device { device 35 device/bluetooth/bluetooth_task_manager_win.cc device::BluetoothTaskManagerWin::AdapterState* state) { device 59 device/bluetooth/bluetooth_task_manager_win.cc device::BluetoothTaskManagerWin::DeviceState* state) { device 124 device/bluetooth/bluetooth_task_manager_win.cc if (device::bluetooth_init_win::HasBluetoothStack()) { device 24 device/bluetooth/bluetooth_task_manager_win.h namespace device { device 15 device/bluetooth/bluetooth_task_manager_win_unittest.cc class BluetoothTaskObserver : public device::BluetoothTaskManagerWin::Observer { device 27 device/bluetooth/bluetooth_task_manager_win_unittest.cc const device::BluetoothTaskManagerWin::AdapterState& state) OVERRIDE { device 67 device/bluetooth/bluetooth_task_manager_win_unittest.cc has_bluetooth_stack_(device::bluetooth_init_win::HasBluetoothStack()) { device 10 device/bluetooth/bluetooth_uuid.h namespace device { device 15 device/bluetooth/test/mock_bluetooth_adapter.h namespace device { device 16 device/bluetooth/test/mock_bluetooth_device.h namespace device { device 12 device/bluetooth/test/mock_bluetooth_discovery_session.h namespace device { device 11 device/bluetooth/test/mock_bluetooth_profile.h namespace device { device 20 device/bluetooth/test/mock_bluetooth_socket.h namespace device { device 15 device/hid/hid_connection.h namespace device { device 14 device/hid/hid_connection_linux.h namespace device { device 28 device/hid/hid_connection_mac.h namespace device { device 19 device/hid/hid_connection_win.h namespace device { device 18 device/hid/hid_device_info.h namespace device { device 18 device/hid/hid_service.h namespace device { device 146 device/hid/hid_service_linux.cc void HidServiceLinux::PlatformAddDevice(udev_device* device) { device 147 device/hid/hid_service_linux.cc if (!device) device 150 device/hid/hid_service_linux.cc const char* device_path = udev_device_get_syspath(device); device 160 device/hid/hid_service_linux.cc const char* hid_id = udev_device_get_property_value(device, kHIDID); device 178 device/hid/hid_service_linux.cc str_property = udev_device_get_property_value(device, kHIDUnique); device 182 device/hid/hid_service_linux.cc str_property = udev_device_get_property_value(device, kHIDName); device 19 device/hid/hid_service_linux.h namespace device { device 67 device/hid/hid_service_linux.h void PlatformAddDevice(udev_device* device); device 37 device/hid/hid_service_mac.cc const IOHIDDeviceRef device = device 39 device/hid/hid_service_mac.cc devices->push_back(device); device 21 device/hid/hid_service_mac.h namespace device { device 13 device/hid/hid_service_win.h namespace device { device 12 device/hid/hid_utils_mac.cc int32_t GetHidIntProperty(IOHIDDeviceRef device, CFStringRef key) { device 14 device/hid/hid_utils_mac.cc if (TryGetHidIntProperty(device, key, &value)) device 19 device/hid/hid_utils_mac.cc std::string GetHidStringProperty(IOHIDDeviceRef device, CFStringRef key) { device 21 device/hid/hid_utils_mac.cc TryGetHidStringProperty(device, key, &value); device 25 device/hid/hid_utils_mac.cc bool TryGetHidIntProperty(IOHIDDeviceRef device, device 29 device/hid/hid_utils_mac.cc IOHIDDeviceGetProperty(device, key)); device 33 device/hid/hid_utils_mac.cc bool TryGetHidStringProperty(IOHIDDeviceRef device, device 37 device/hid/hid_utils_mac.cc IOHIDDeviceGetProperty(device, key)); device 14 device/hid/hid_utils_mac.h namespace device { device 16 device/hid/hid_utils_mac.h int32_t GetHidIntProperty(IOHIDDeviceRef device, CFStringRef key); device 18 device/hid/hid_utils_mac.h std::string GetHidStringProperty(IOHIDDeviceRef device, CFStringRef key); device 20 device/hid/hid_utils_mac.h bool TryGetHidIntProperty(IOHIDDeviceRef device, device 24 device/hid/hid_utils_mac.h bool TryGetHidStringProperty(IOHIDDeviceRef device, device 30 device/media_transfer_protocol/media_transfer_protocol_daemon_client.h namespace device { device 26 device/media_transfer_protocol/media_transfer_protocol_manager.h namespace device { device 15 device/nfc/nfc_adapter.h namespace device { device 198 device/nfc/nfc_adapter_chromeos.cc device::NfcPeer* peer = RemovePeer(object_path.value()); device 242 device/nfc/nfc_adapter_chromeos.cc device::NfcTag* tag = RemoveTag(object_path.value()); device 319 device/nfc/nfc_adapter_chromeos.cc device::NfcPeer* peer = *iter; device 326 device/nfc/nfc_adapter_chromeos.cc device::NfcTag* tag = *iter; device 16 device/nfc/nfc_adapter_chromeos.h namespace device { device 26 device/nfc/nfc_adapter_chromeos.h class NfcAdapterChromeOS : public device::NfcAdapter, device 47 device/nfc/nfc_adapter_chromeos.h friend class device::NfcAdapterFactory; device 102 device/nfc/nfc_adapter_chromeos.h ObserverList<device::NfcAdapter::Observer> observers_; device 23 device/nfc/nfc_adapter_factory.cc base::LazyInstance<base::WeakPtr<device::NfcAdapter> >::Leaky device 12 device/nfc/nfc_adapter_factory.h namespace device { device 24 device/nfc/nfc_chromeos_unittest.cc using device::NfcAdapter; device 25 device/nfc/nfc_chromeos_unittest.cc using device::NfcNdefMessage; device 26 device/nfc/nfc_chromeos_unittest.cc using device::NfcNdefRecord; device 27 device/nfc/nfc_chromeos_unittest.cc using device::NfcNdefTagTechnology; device 28 device/nfc/nfc_chromeos_unittest.cc using device::NfcPeer; device 29 device/nfc/nfc_chromeos_unittest.cc using device::NfcTag; device 13 device/nfc/nfc_ndef_record.h namespace device { device 12 device/nfc/nfc_ndef_record_utils_chromeos.cc using device::NfcNdefRecord; device 83 device/nfc/nfc_ndef_record_utils_chromeos.cc if (action == device::NfcNdefRecord::kSmartPosterActionDo) device 85 device/nfc/nfc_ndef_record_utils_chromeos.cc if (action == device::NfcNdefRecord::kSmartPosterActionSave) device 87 device/nfc/nfc_ndef_record_utils_chromeos.cc if (action == device::NfcNdefRecord::kSmartPosterActionOpen) device 97 device/nfc/nfc_ndef_record_utils_chromeos.cc return device::NfcNdefRecord::kSmartPosterActionDo; device 99 device/nfc/nfc_ndef_record_utils_chromeos.cc return device::NfcNdefRecord::kSmartPosterActionSave; device 101 device/nfc/nfc_ndef_record_utils_chromeos.cc return device::NfcNdefRecord::kSmartPosterActionOpen; device 175 device/nfc/nfc_ndef_record_utils_chromeos.cc device::NfcNdefRecord* out) { device 11 device/nfc/nfc_ndef_record_utils_chromeos.h namespace device { device 22 device/nfc/nfc_ndef_record_utils_chromeos.h const device::NfcNdefRecord* record, device 31 device/nfc/nfc_ndef_record_utils_chromeos.h device::NfcNdefRecord* out); device 15 device/nfc/nfc_peer.h namespace device { device 17 device/nfc/nfc_peer_chromeos.cc using device::NfcNdefMessage; device 18 device/nfc/nfc_peer_chromeos.cc using device::NfcNdefRecord; device 47 device/nfc/nfc_peer_chromeos.cc void NfcPeerChromeOS::AddObserver(device::NfcPeer::Observer* observer) { device 52 device/nfc/nfc_peer_chromeos.cc void NfcPeerChromeOS::RemoveObserver(device::NfcPeer::Observer* observer) { device 20 device/nfc/nfc_peer_chromeos.h class NfcPeerChromeOS : public device::NfcPeer, device 24 device/nfc/nfc_peer_chromeos.h virtual void AddObserver(device::NfcPeer::Observer* observer) OVERRIDE; device 25 device/nfc/nfc_peer_chromeos.h virtual void RemoveObserver(device::NfcPeer::Observer* observer) OVERRIDE; device 27 device/nfc/nfc_peer_chromeos.h virtual const device::NfcNdefMessage& GetNdefMessage() const OVERRIDE; device 28 device/nfc/nfc_peer_chromeos.h virtual void PushNdef(const device::NfcNdefMessage& message, device 39 device/nfc/nfc_peer_chromeos.h typedef std::map<dbus::ObjectPath, device::NfcNdefRecord*> NdefRecordMap; device 67 device/nfc/nfc_peer_chromeos.h device::NfcNdefMessage message_; device 70 device/nfc/nfc_peer_chromeos.h ObserverList<device::NfcPeer::Observer> observers_; device 10 device/nfc/nfc_tag.h namespace device { device 11 device/nfc/nfc_tag_chromeos.cc using device::NfcTag; device 12 device/nfc/nfc_tag_chromeos.cc using device::NfcTagTechnology; device 13 device/nfc/nfc_tag_chromeos.cc using device::NfcNdefTagTechnology; device 22 device/nfc/nfc_tag_chromeos.h class NfcTagChromeOS : public device::NfcTag, device 26 device/nfc/nfc_tag_chromeos.h virtual void AddObserver(device::NfcTag::Observer* observer) OVERRIDE; device 27 device/nfc/nfc_tag_chromeos.h virtual void RemoveObserver(device::NfcTag::Observer* observer) OVERRIDE; device 31 device/nfc/nfc_tag_chromeos.h virtual device::NfcTag::Protocol GetSupportedProtocol() const OVERRIDE; device 32 device/nfc/nfc_tag_chromeos.h virtual device::NfcTagTechnology::TechnologyTypeMask device 35 device/nfc/nfc_tag_chromeos.h virtual device::NfcNdefTagTechnology* GetNdefTagTechnology() OVERRIDE; device 63 device/nfc/nfc_tag_chromeos.h ObserverList<device::NfcTag::Observer> observers_; device 11 device/nfc/nfc_tag_technology.h namespace device { device 12 device/nfc/nfc_tag_technology_chromeos.cc using device::NfcNdefMessage; device 13 device/nfc/nfc_tag_technology_chromeos.cc using device::NfcNdefRecord; device 59 device/nfc/nfc_tag_technology_chromeos.cc const device::NfcNdefMessage& message, device 24 device/nfc/nfc_tag_technology_chromeos.h class NfcNdefTagTechnologyChromeOS : public device::NfcNdefTagTechnology, device 30 device/nfc/nfc_tag_technology_chromeos.h virtual void AddObserver(device::NfcNdefTagTechnology::Observer* observer) device 32 device/nfc/nfc_tag_technology_chromeos.h virtual void RemoveObserver(device::NfcNdefTagTechnology::Observer* observer) device 34 device/nfc/nfc_tag_technology_chromeos.h virtual const device::NfcNdefMessage& GetNdefMessage() const OVERRIDE; device 35 device/nfc/nfc_tag_technology_chromeos.h virtual void WriteNdef(const device::NfcNdefMessage& message, device 49 device/nfc/nfc_tag_technology_chromeos.h typedef std::map<dbus::ObjectPath, device::NfcNdefRecord*> NdefRecordMap; device 69 device/nfc/nfc_tag_technology_chromeos.h device::NfcNdefMessage message_; device 72 device/nfc/nfc_tag_technology_chromeos.h ObserverList<device::NfcNdefTagTechnology::Observer> observers_; device 13 device/serial/serial_device_enumerator.h namespace device { device 30 device/serial/serial_device_enumerator_linux.cc void operator()(udev_device* device) { udev_device_unref(device); } device 67 device/serial/serial_device_enumerator_linux.cc ScopedUdevDevicePtr device(udev_device_new_from_syspath( device 75 device/serial/serial_device_enumerator_linux.cc udev_device_get_property_value(device.get(), kHostPathKey); device 76 device/serial/serial_device_enumerator_linux.cc const char* bus = udev_device_get_property_value(device.get(), kHostBusKey); device 82 device/serial/serial_device_enumerator_linux.cc udev_device_get_property_value(device.get(), kVendorIDKey); device 84 device/serial/serial_device_enumerator_linux.cc udev_device_get_property_value(device.get(), kProductIDKey); device 86 device/serial/serial_device_enumerator_linux.cc udev_device_get_property_value(device.get(), kProductNameKey); device 14 device/serial/serial_device_enumerator_linux.h namespace device { device 11 device/serial/serial_device_enumerator_mac.h namespace device { device 11 device/serial/serial_device_enumerator_win.h namespace device { device 15 device/serial/serial_device_info.h namespace device { device 12 device/usb/usb_ids.h namespace device { device 41 extensions/common/permissions/usb_device_permission.cc const char* vendor = device::UsbIds::GetVendorName(i->vendor_id()); device 45 extensions/common/permissions/usb_device_permission.cc device::UsbIds::GetProductName(i->vendor_id(), i->product_id()); device 10 gpu/config/gpu_info.cc const gpu::GPUInfo::GPUDevice& device) { device 12 gpu/config/gpu_info.cc enumerator->AddInt("vendorId", device.vendor_id); device 13 gpu/config/gpu_info.cc enumerator->AddInt("deviceId", device.device_id); device 14 gpu/config/gpu_info.cc enumerator->AddBool("active", device.active); device 15 gpu/config/gpu_info.cc enumerator->AddString("vendorString", device.vendor_string); device 16 gpu/config/gpu_info.cc enumerator->AddString("deviceString", device.device_string); device 243 gpu/config/gpu_info_collector_win.cc ID3D11Device** device, device 290 gpu/config/gpu_info_collector_win.cc base::win::ScopedComPtr<ID3D11Device> device; device 300 gpu/config/gpu_info_collector_win.cc device.Receive(), device 330 gpu/config/gpu_info_collector_win.cc hr = device->CheckFormatSupport(DXGI_FORMAT_B8G8R8A8_UNORM, device 541 gpu/config/gpu_info_collector_win.cc int vendor = 0, device = 0; device 545 gpu/config/gpu_info_collector_win.cc base::HexStringToInt(base::UTF16ToASCII(device_string), &device); device 547 gpu/config/gpu_info_collector_win.cc *device_id = device; device 123 gpu/config/gpu_info_collector_x11.cc for (pci_dev* device = access->devices; device 124 gpu/config/gpu_info_collector_x11.cc device != NULL; device = device->next) { device 126 gpu/config/gpu_info_collector_x11.cc (libpci_loader.pci_fill_info)(device, 33); device 128 gpu/config/gpu_info_collector_x11.cc if (device->device_class != 0x0300) // Device class is DISPLAY_VGA. device 132 gpu/config/gpu_info_collector_x11.cc gpu.vendor_id = device->vendor_id; device 133 gpu/config/gpu_info_collector_x11.cc gpu.device_id = device->device_id; device 94 media/audio/android/audio_manager_android.cc AudioDeviceName device; device 100 media/audio/android/audio_manager_android.cc ConvertJavaStringToUTF8(env, j_device_name.obj(), &device.device_name); device 103 media/audio/android/audio_manager_android.cc ConvertJavaStringToUTF8(env, j_device_id.obj(), &device.unique_id); device 104 media/audio/android/audio_manager_android.cc device_names->push_back(device); device 51 media/audio/mac/audio_auhal_mac.cc AudioDeviceID device) device 58 media/audio/mac/audio_auhal_mac.cc device_(device), device 69 media/audio/mac/audio_auhal_mac.cc VLOG(1) << "Device: " << device; device 60 media/audio/mac/audio_auhal_mac.h AudioDeviceID device); device 310 media/audio/mac/audio_manager_mac.cc AudioDeviceID* device) { device 311 media/audio/mac/audio_manager_mac.cc return GetDefaultDevice(device, true); device 315 media/audio/mac/audio_manager_mac.cc AudioDeviceID* device) { device 316 media/audio/mac/audio_manager_mac.cc return GetDefaultDevice(device, false); device 320 media/audio/mac/audio_manager_mac.cc AudioDeviceID* device, bool input) { device 321 media/audio/mac/audio_manager_mac.cc CHECK(device); device 330 media/audio/mac/audio_manager_mac.cc UInt32 size = sizeof(*device); device 338 media/audio/mac/audio_manager_mac.cc device); device 340 media/audio/mac/audio_manager_mac.cc if ((result != kAudioHardwareNoError) || (*device == kAudioDeviceUnknown)) { device 350 media/audio/mac/audio_manager_mac.cc AudioDeviceID device; device 351 media/audio/mac/audio_manager_mac.cc if (!GetDefaultOutputDevice(&device)) device 354 media/audio/mac/audio_manager_mac.cc return GetDeviceChannels(device, device 360 media/audio/mac/audio_manager_mac.cc AudioDeviceID device, device 372 media/audio/mac/audio_manager_mac.cc OSStatus result = AudioObjectGetPropertyDataSize(device, &pa, 0, 0, &size); device 382 media/audio/mac/audio_manager_mac.cc device, device 453 media/audio/mac/audio_manager_mac.cc AudioDeviceID device = GetAudioDeviceIdByUId(true, device_id); device 454 media/audio/mac/audio_manager_mac.cc if (device == kAudioObjectUnknown) { device 463 media/audio/mac/audio_manager_mac.cc if (GetDeviceChannels(device, kAudioDevicePropertyScopeInput, &channels) && device 471 media/audio/mac/audio_manager_mac.cc int sample_rate = HardwareSampleRateForDevice(device); device 488 media/audio/mac/audio_manager_mac.cc AudioDeviceID device = GetAudioDeviceIdByUId(true, input_device_id); device 489 media/audio/mac/audio_manager_mac.cc if (device == kAudioObjectUnknown) device 498 media/audio/mac/audio_manager_mac.cc OSStatus result = AudioObjectGetPropertyDataSize(device, &pa, 0, 0, &size); device 506 media/audio/mac/audio_manager_mac.cc device, &pa, 0, NULL, &size, devices.get()); device 573 media/audio/mac/audio_manager_mac.cc AudioDeviceID device = GetAudioDeviceIdByUId(false, device_id); device 574 media/audio/mac/audio_manager_mac.cc if (device == kAudioObjectUnknown) { device 590 media/audio/mac/audio_manager_mac.cc current_output_device_ = device; device 596 media/audio/mac/audio_manager_mac.cc AudioOutputStream* stream = new AUHALStream(this, params, device); device 665 media/audio/mac/audio_manager_mac.cc const AudioDeviceID device = GetAudioDeviceIdByUId(false, output_device_id); device 666 media/audio/mac/audio_manager_mac.cc if (device == kAudioObjectUnknown) { device 674 media/audio/mac/audio_manager_mac.cc const int hardware_sample_rate = HardwareSampleRateForDevice(device); device 678 media/audio/mac/audio_manager_mac.cc if (!GetDeviceChannels(device, kAudioDevicePropertyScopeOutput, device 54 media/audio/mac/audio_manager_mac.h static bool GetDefaultInputDevice(AudioDeviceID* device); device 55 media/audio/mac/audio_manager_mac.h static bool GetDefaultOutputDevice(AudioDeviceID* device); device 56 media/audio/mac/audio_manager_mac.h static bool GetDefaultDevice(AudioDeviceID* device, bool input); device 60 media/audio/mac/audio_manager_mac.h static bool GetDeviceChannels(AudioDeviceID device, device 35 media/audio/win/audio_device_listener_win.cc ScopedComPtr<IMMDevice> device = device 37 media/audio/win/audio_device_listener_win.cc if (!device) { device 45 media/audio/win/audio_device_listener_win.cc HRESULT hr = CoreAudioUtil::GetDeviceName(device, &device_name); device 21 media/audio/win/audio_low_latency_input_win.cc IMMDevice* device) { device 29 media/audio/win/audio_low_latency_input_win.cc device->GetId(&device_id); device 43 media/audio/win/audio_low_latency_output_win.cc ScopedComPtr<IMMDevice> device(CoreAudioUtil::CreateDevice(device_id)); device 44 media/audio/win/audio_low_latency_output_win.cc if (!device) device 46 media/audio/win/audio_low_latency_output_win.cc client = CoreAudioUtil::CreateClient(device); device 137 media/audio/win/audio_low_latency_output_win.cc ScopedComPtr<IMMDevice> device(CoreAudioUtil::CreateDevice(device_id_)); device 138 media/audio/win/audio_low_latency_output_win.cc DLOG_IF(ERROR, !device) << "Failed to open device: " << device_id_; device 139 media/audio/win/audio_low_latency_output_win.cc if (device) device 140 media/audio/win/audio_low_latency_output_win.cc audio_client = CoreAudioUtil::CreateClient(device); device 145 media/audio/win/core_audio_util_win.cc static std::string GetDeviceID(IMMDevice* device) { device 148 media/audio/win/core_audio_util_win.cc if (SUCCEEDED(device->GetId(&device_id_com))) device 274 media/audio/win/core_audio_util_win.cc ScopedComPtr<IMMDevice> device(CreateDefaultDevice(eRender, eConsole)); device 275 media/audio/win/core_audio_util_win.cc return device ? GetDeviceID(device) : std::string(); device 298 media/audio/win/core_audio_util_win.cc HRESULT CoreAudioUtil::GetDeviceName(IMMDevice* device, AudioDeviceName* name) { device 304 media/audio/win/core_audio_util_win.cc device_name.unique_id = GetDeviceID(device); device 311 media/audio/win/core_audio_util_win.cc HRESULT hr = device->OpenPropertyStore(STGM_READ, properties.Receive()); device 330 media/audio/win/core_audio_util_win.cc std::string CoreAudioUtil::GetAudioControllerID(IMMDevice* device, device 343 media/audio/win/core_audio_util_win.cc if (FAILED(device->Activate(__uuidof(IDeviceTopology), CLSCTX_ALL, NULL, device 430 media/audio/win/core_audio_util_win.cc ScopedComPtr<IMMDevice> device = CreateDefaultDevice(flow, role); device 431 media/audio/win/core_audio_util_win.cc if (!device) device 434 media/audio/win/core_audio_util_win.cc std::string str_default(GetDeviceID(device)); device 438 media/audio/win/core_audio_util_win.cc EDataFlow CoreAudioUtil::GetDataFlow(IMMDevice* device) { device 441 media/audio/win/core_audio_util_win.cc HRESULT hr = device->QueryInterface(endpoint.Receive()); device 484 media/audio/win/core_audio_util_win.cc ScopedComPtr<IMMDevice> device(CreateDevice(device_id)); device 485 media/audio/win/core_audio_util_win.cc if (!device) device 488 media/audio/win/core_audio_util_win.cc return CreateClient(device); device 694 media/audio/win/core_audio_util_win.cc ScopedComPtr<IMMDevice> device(CreateDevice(device_id)); device 695 media/audio/win/core_audio_util_win.cc if (!device) { device 701 media/audio/win/core_audio_util_win.cc ScopedComPtr<IAudioClient> client(CreateClient(device)); device 81 media/audio/win/core_audio_util_win.h static HRESULT GetDeviceName(IMMDevice* device, AudioDeviceName* name); device 92 media/audio/win/core_audio_util_win.h static std::string GetAudioControllerID(IMMDevice* device, device 111 media/audio/win/core_audio_util_win.h static EDataFlow GetDataFlow(IMMDevice* device); device 163 media/audio/win/core_audio_util_win_unittest.cc ScopedComPtr<IMMDevice> device; device 164 media/audio/win/core_audio_util_win_unittest.cc collection->Item(j, device.Receive()); device 166 media/audio/win/core_audio_util_win_unittest.cc device, enumerator)); device 232 media/audio/win/core_audio_util_win_unittest.cc ScopedComPtr<IMMDevice> device; device 234 media/audio/win/core_audio_util_win_unittest.cc device = CoreAudioUtil::CreateDefaultDevice(data[i], eConsole); device 235 media/audio/win/core_audio_util_win_unittest.cc EXPECT_TRUE(device); device 236 media/audio/win/core_audio_util_win_unittest.cc EXPECT_EQ(data[i], CoreAudioUtil::GetDataFlow(device)); device 237 media/audio/win/core_audio_util_win_unittest.cc client = CoreAudioUtil::CreateClient(device); device 246 media/audio/win/core_audio_util_win_unittest.cc ScopedComPtr<IMMDevice> device; device 248 media/audio/win/core_audio_util_win_unittest.cc device = CoreAudioUtil::CreateDefaultDevice(eRender, eConsole); device 249 media/audio/win/core_audio_util_win_unittest.cc EXPECT_TRUE(device); device 250 media/audio/win/core_audio_util_win_unittest.cc client = CoreAudioUtil::CreateClient(device); device 502 media/audio/win/core_audio_util_win_unittest.cc ScopedComPtr<IMMDevice> device; device 503 media/audio/win/core_audio_util_win_unittest.cc collection->Item(i, device.Receive()); device 505 media/audio/win/core_audio_util_win_unittest.cc device->GetId(&wide_id); device 56 media/audio/win/device_enumeration_win.cc AudioDeviceName device; device 71 media/audio/win/device_enumeration_win.cc device.unique_id = device 86 media/audio/win/device_enumeration_win.cc device.device_name = base::WideToUTF8(friendly_name.get().pwszVal); device 91 media/audio/win/device_enumeration_win.cc device_names->push_back(device); device 111 media/audio/win/device_enumeration_win.cc AudioDeviceName device; device 128 media/audio/win/device_enumeration_win.cc device.device_name = base::WideToUTF8(capabilities.szPname); device 131 media/audio/win/device_enumeration_win.cc device.unique_id = device.device_name; device 134 media/audio/win/device_enumeration_win.cc device_names->push_back(device); device 892 media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java private void setAudioDevice(int device) { device 893 media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java if (DEBUG) logd("setAudioDevice(device=" + device + ")"); device 897 media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java if (device == DEVICE_BLUETOOTH_HEADSET) { device 903 media/base/android/java/src/org/chromium/media/AudioManagerAndroid.java switch (device) { device 70 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java UsbMidiDeviceAndroid(UsbManager manager, UsbDevice device) { device 71 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java mConnection = manager.openDevice(device); device 78 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java for (int i = 0; i < device.getInterfaceCount(); ++i) { device 79 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java UsbInterface iface = device.getInterface(i); device 97 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java startListen(device); device 103 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java private void startListen(final UsbDevice device) { device 107 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java for (int i = 0; i < device.getInterfaceCount(); ++i) { device 108 media/base/android/java/src/org/chromium/media/UsbMidiDeviceAndroid.java UsbInterface iface = device.getInterface(i); device 93 media/base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java for (UsbDevice device : devices.values()) { device 95 media/base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java for (int i = 0; i < device.getInterfaceCount() && !found; ++i) { device 96 media/base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java UsbInterface iface = device.getInterface(i); device 103 media/base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java mUsbManager.requestPermission(device, pendingIntent); device 104 media/base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java mRequestedDevices.add(device); device 131 media/base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java UsbDevice device = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); device 132 media/base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java if (!mRequestedDevices.contains(device)) { device 136 media/base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java mRequestedDevices.remove(device); device 139 media/base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java device = null; device 141 media/base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java if (device != null) { device 143 media/base/android/java/src/org/chromium/media/UsbMidiDeviceFactoryAndroid.java mDevices.add(new UsbMidiDeviceAndroid(mUsbManager, device)); device 31 media/base/android/java/src/org/chromium/media/VideoCaptureAndroid.java IdAndSizes(String model, String device, int minWidth, int minHeight) { device 33 media/base/android/java/src/org/chromium/media/VideoCaptureAndroid.java mDevice = device; device 56 media/base/android/java/src/org/chromium/media/VideoCaptureFactory.java for (String[] device : s_SPECIAL_DEVICE_LIST) { device 57 media/base/android/java/src/org/chromium/media/VideoCaptureFactory.java if (device[0].contentEquals(android.os.Build.MODEL) && device 58 media/base/android/java/src/org/chromium/media/VideoCaptureFactory.java device[1].contentEquals(android.os.Build.DEVICE)) { device 138 media/base/user_input_monitor_win.cc scoped_ptr<RAWINPUTDEVICE> device(GetRawInputDevices(type, RIDEV_INPUTSINK)); device 139 media/base/user_input_monitor_win.cc if (!RegisterRawInputDevices(device.get(), 1, sizeof(*device))) { device 162 media/base/user_input_monitor_win.cc scoped_ptr<RAWINPUTDEVICE> device(GetRawInputDevices(type, RIDEV_REMOVE)); device 164 media/base/user_input_monitor_win.cc if (!RegisterRawInputDevices(device.get(), 1, sizeof(*device))) { device 245 media/base/user_input_monitor_win.cc scoped_ptr<RAWINPUTDEVICE> device(new RAWINPUTDEVICE()); device 247 media/base/user_input_monitor_win.cc device->dwFlags = flags; device 248 media/base/user_input_monitor_win.cc device->usUsagePage = kGenericDesktopPage; device 249 media/base/user_input_monitor_win.cc device->usUsage = kMouseUsage; device 250 media/base/user_input_monitor_win.cc device->hwndTarget = window_->hwnd(); device 253 media/base/user_input_monitor_win.cc device->dwFlags = flags; device 254 media/base/user_input_monitor_win.cc device->usUsagePage = kGenericDesktopPage; device 255 media/base/user_input_monitor_win.cc device->usUsage = kKeyboardUsage; device 256 media/base/user_input_monitor_win.cc device->hwndTarget = window_->hwnd(); device 258 media/base/user_input_monitor_win.cc return device.release(); device 58 media/filters/skcanvas_video_renderer.cc SkBaseDevice* device = canvas->getDevice(); device 59 media/filters/skcanvas_video_renderer.cc const SkBitmap::Config config = device->config(); device 61 media/filters/skcanvas_video_renderer.cc if (config == SkBitmap::kARGB_8888_Config && device->isOpaque()) { device 37 media/midi/midi_manager_alsa.cc int device) { device 42 media/midi/midi_manager_alsa.cc const std::string id = base::StringPrintf("%s:%d", bus_id.c_str(), device); device 157 media/midi/midi_manager_alsa.cc for (int device = -1; device 158 media/midi/midi_manager_alsa.cc !snd_ctl_rawmidi_next_device(handle, &device) && device >= 0; ) { device 161 media/midi/midi_manager_alsa.cc snd_rawmidi_info_set_device(midi_out, device); device 165 media/midi/midi_manager_alsa.cc snd_rawmidi_info_set_device(midi_in, device); device 172 media/midi/midi_manager_alsa.cc this, id, card, output ? midi_out : midi_in, device); device 234 media/midi/midi_manager_alsa.cc scoped_refptr<MidiDeviceInfo> device = out_devices_[port_index]; device 237 media/midi/midi_manager_alsa.cc base::Bind(&MidiDeviceInfo::Send, device, client, data), device 61 media/midi/midi_manager_usb.cc void MidiManagerUsb::ReceiveUsbMidiData(UsbMidiDevice* device, device 68 media/midi/midi_manager_usb.cc input_stream_->OnReceivedData(device, device 41 media/midi/midi_manager_usb.h virtual void ReceiveUsbMidiData(UsbMidiDevice* device, device 104 media/midi/midi_manager_usb_unittest.cc virtual void EnumerateDevices(UsbMidiDeviceDelegate* device, device 156 media/midi/midi_manager_usb_unittest.cc scoped_ptr<FakeUsbMidiDevice> device(new FakeUsbMidiDevice(&logger_)); device 173 media/midi/midi_manager_usb_unittest.cc device->SetDescriptor(ToVector(descriptor)); device 177 media/midi/midi_manager_usb_unittest.cc devices.push_back(device.release()); device 207 media/midi/midi_manager_usb_unittest.cc scoped_ptr<FakeUsbMidiDevice> device(new FakeUsbMidiDevice(&logger_)); device 209 media/midi/midi_manager_usb_unittest.cc device->SetDescriptor(ToVector(descriptor)); device 213 media/midi/midi_manager_usb_unittest.cc devices.push_back(device.release()); device 222 media/midi/midi_manager_usb_unittest.cc scoped_ptr<FakeUsbMidiDevice> device(new FakeUsbMidiDevice(&logger_)); device 241 media/midi/midi_manager_usb_unittest.cc device->SetDescriptor(ToVector(descriptor)); device 249 media/midi/midi_manager_usb_unittest.cc devices.push_back(device.release()); device 267 media/midi/midi_manager_usb_unittest.cc scoped_ptr<FakeUsbMidiDevice> device(new FakeUsbMidiDevice(&logger_)); device 286 media/midi/midi_manager_usb_unittest.cc device->SetDescriptor(ToVector(descriptor)); device 296 media/midi/midi_manager_usb_unittest.cc UsbMidiDevice* device_raw = device.get(); device 297 media/midi/midi_manager_usb_unittest.cc devices.push_back(device.release()); device 70 media/midi/usb_midi_descriptor_parser.cc bool UsbMidiDescriptorParser::Parse(UsbMidiDevice* device, device 75 media/midi/usb_midi_descriptor_parser.cc bool result = ParseInternal(device, data, size, jacks); device 82 media/midi/usb_midi_descriptor_parser.cc bool UsbMidiDescriptorParser::ParseInternal(UsbMidiDevice* device, device 110 media/midi/usb_midi_descriptor_parser.cc if (!ParseCSInterface(device, current, length)) device 150 media/midi/usb_midi_descriptor_parser.cc bool UsbMidiDescriptorParser::ParseCSInterface(UsbMidiDevice* device, device 173 media/midi/usb_midi_descriptor_parser.cc incomplete_jacks_.push_back(UsbMidiJack(device, id, 0, 0)); device 30 media/midi/usb_midi_descriptor_parser.h bool Parse(UsbMidiDevice* device, device 36 media/midi/usb_midi_descriptor_parser.h bool ParseInternal(UsbMidiDevice* device, device 41 media/midi/usb_midi_descriptor_parser.h bool ParseCSInterface(UsbMidiDevice* device, const uint8* data, size_t size); device 84 media/midi/usb_midi_descriptor_parser_unittest.cc EXPECT_EQ(NULL, jacks[0].device); device 90 media/midi/usb_midi_descriptor_parser_unittest.cc EXPECT_EQ(NULL, jacks[1].device); device 96 media/midi/usb_midi_descriptor_parser_unittest.cc EXPECT_EQ(NULL, jacks[2].device); device 26 media/midi/usb_midi_device.h virtual void ReceiveUsbMidiData(UsbMidiDevice* device, device 17 media/midi/usb_midi_input_stream.cc UsbMidiInputStream::JackUniqueKey::JackUniqueKey(UsbMidiDevice* device, device 20 media/midi/usb_midi_input_stream.cc : device(device), device 26 media/midi/usb_midi_input_stream.cc return device == that.device && device 33 media/midi/usb_midi_input_stream.cc if (device != that.device) device 34 media/midi/usb_midi_input_stream.cc return device < that.device; device 45 media/midi/usb_midi_input_stream.cc std::make_pair(JackUniqueKey(jacks[i].device, device 54 media/midi/usb_midi_input_stream.cc void UsbMidiInputStream::OnReceivedData(UsbMidiDevice* device, device 62 media/midi/usb_midi_input_stream.cc ProcessOnePacket(device, endpoint_number, &data[current], timestamp); device 67 media/midi/usb_midi_input_stream.cc void UsbMidiInputStream::ProcessOnePacket(UsbMidiDevice* device, device 85 media/midi/usb_midi_input_stream.cc jack_dictionary_.find(JackUniqueKey(device, device 38 media/midi/usb_midi_input_stream.h JackUniqueKey(UsbMidiDevice* device, int endpoint_number, int cable_number); device 42 media/midi/usb_midi_input_stream.h UsbMidiDevice* device; device 55 media/midi/usb_midi_input_stream.h void OnReceivedData(UsbMidiDevice* device, device 67 media/midi/usb_midi_input_stream.h void ProcessOnePacket(UsbMidiDevice* device, device 24 media/midi/usb_midi_jack.h UsbMidiJack(UsbMidiDevice* device, device 28 media/midi/usb_midi_jack.h : device(device), device 33 media/midi/usb_midi_jack.h UsbMidiDevice* device; device 50 media/midi/usb_midi_output_stream.cc jack_.device->Send(jack_.endpoint_number(), data_to_send); device 31 media/video/capture/android/video_capture_device_android.cc const Name& device, device 33 media/video/capture/android/video_capture_device_android.cc VideoCaptureDeviceFactoryAndroid::GetDeviceSupportedFormats(device, device 49 media/video/capture/android/video_capture_device_factory_android.cc const VideoCaptureDevice::Name& device, device 52 media/video/capture/android/video_capture_device_factory_android.cc if (!base::StringToInt(device.id(), &id)) device 86 media/video/capture/android/video_capture_device_factory_android.cc DVLOG(1) << device.name() << " resolution: " device 30 media/video/capture/android/video_capture_device_factory_android.h const VideoCaptureDevice::Name& device, device 49 media/video/capture/fake_video_capture_device.cc const Name& device, device 32 media/video/capture/fake_video_capture_device.h static void GetDeviceSupportedFormats(const Name& device, device 157 media/video/capture/file_video_capture_device.cc const Name& device, device 33 media/video/capture/file_video_capture_device.h static void GetDeviceSupportedFormats(const Name& device, device 145 media/video/capture/linux/video_capture_device_linux.cc const Name& device, device 147 media/video/capture/linux/video_capture_device_linux.cc if (device.id().empty()) device 149 media/video/capture/linux/video_capture_device_linux.cc base::ScopedFD fd(HANDLE_EINTR(open(device.id().c_str(), O_RDONLY))); device 172 media/video/capture/mac/avfoundation_glue.h + (CrAVCaptureDeviceInput*)deviceInputWithDevice:(CrAVCaptureDevice*)device device 194 media/video/capture/video_capture_device.h static void GetDeviceSupportedFormats(const Name& device, device 151 media/video/capture/video_capture_device_unittest.cc VideoCaptureDevice* device = VideoCaptureDevice::Create(device_name); device 152 media/video/capture/video_capture_device_unittest.cc EXPECT_TRUE(device == NULL); device 162 media/video/capture/video_capture_device_unittest.cc scoped_ptr<VideoCaptureDevice> device( device 164 media/video/capture/video_capture_device_unittest.cc ASSERT_FALSE(device.get() == NULL); device 175 media/video/capture/video_capture_device_unittest.cc device->AllocateAndStart(capture_params, client_.PassAs<Client>()); device 180 media/video/capture/video_capture_device_unittest.cc device->StopAndDeAllocate(); device 190 media/video/capture/video_capture_device_unittest.cc scoped_ptr<VideoCaptureDevice> device( device 192 media/video/capture/video_capture_device_unittest.cc ASSERT_FALSE(device.get() == NULL); device 202 media/video/capture/video_capture_device_unittest.cc device->AllocateAndStart(capture_params, client_.PassAs<Client>()); device 205 media/video/capture/video_capture_device_unittest.cc device->StopAndDeAllocate(); device 214 media/video/capture/video_capture_device_unittest.cc scoped_ptr<VideoCaptureDevice> device( device 216 media/video/capture/video_capture_device_unittest.cc ASSERT_TRUE(device.get() != NULL); device 226 media/video/capture/video_capture_device_unittest.cc device->AllocateAndStart(capture_params, client_.PassAs<Client>()); device 228 media/video/capture/video_capture_device_unittest.cc device->StopAndDeAllocate(); device 243 media/video/capture/video_capture_device_unittest.cc scoped_ptr<VideoCaptureDevice> device( device 256 media/video/capture/video_capture_device_unittest.cc device->AllocateAndStart(capture_params, client_.PassAs<Client>()); device 257 media/video/capture/video_capture_device_unittest.cc device->StopAndDeAllocate(); device 268 media/video/capture/video_capture_device_unittest.cc scoped_ptr<VideoCaptureDevice> device( device 271 media/video/capture/video_capture_device_unittest.cc device->AllocateAndStart(capture_params, client_.PassAs<Client>()); device 273 media/video/capture/video_capture_device_unittest.cc device->StopAndDeAllocate(); device 274 media/video/capture/video_capture_device_unittest.cc device.reset(); device 285 media/video/capture/video_capture_device_unittest.cc scoped_ptr<VideoCaptureDevice> device( device 287 media/video/capture/video_capture_device_unittest.cc ASSERT_TRUE(device.get() != NULL); device 297 media/video/capture/video_capture_device_unittest.cc device->AllocateAndStart(capture_params, client_.PassAs<Client>()); device 303 media/video/capture/video_capture_device_unittest.cc device->StopAndDeAllocate(); device 313 media/video/capture/video_capture_device_unittest.cc scoped_ptr<VideoCaptureDevice> device( device 315 media/video/capture/video_capture_device_unittest.cc ASSERT_TRUE(device.get() != NULL); device 325 media/video/capture/video_capture_device_unittest.cc device->AllocateAndStart(capture_params, client_.PassAs<Client>()); device 330 media/video/capture/video_capture_device_unittest.cc device->StopAndDeAllocate(); device 340 media/video/capture/video_capture_device_unittest.cc scoped_ptr<VideoCaptureDevice> device( device 342 media/video/capture/video_capture_device_unittest.cc ASSERT_TRUE(device.get() != NULL); device 352 media/video/capture/video_capture_device_unittest.cc device->AllocateAndStart(capture_params, client_.PassAs<Client>()); device 358 media/video/capture/video_capture_device_unittest.cc device->StopAndDeAllocate(); device 389 media/video/capture/video_capture_device_unittest.cc scoped_ptr<VideoCaptureDevice> device( device 391 media/video/capture/video_capture_device_unittest.cc ASSERT_TRUE(device.get() != NULL); device 397 media/video/capture/video_capture_device_unittest.cc device->AllocateAndStart(capture_params, client_.PassAs<Client>()); device 404 media/video/capture/video_capture_device_unittest.cc device->StopAndDeAllocate(); device 280 media/video/capture/win/video_capture_device_mf_win.cc Name device(base::SysWideToUTF8(name_w), base::SysWideToUTF8(id_w), device 282 media/video/capture/win/video_capture_device_mf_win.cc device_names->push_back(device); device 291 media/video/capture/win/video_capture_device_mf_win.cc void VideoCaptureDeviceMFWin::GetDeviceSupportedFormats(const Name& device, device 294 media/video/capture/win/video_capture_device_mf_win.cc if (!CreateVideoCaptureDevice(device.id().c_str(), source.Receive())) device 337 media/video/capture/win/video_capture_device_mf_win.cc DVLOG(1) << device.name() << " resolution: " device 55 media/video/capture/win/video_capture_device_mf_win.h static void GetDeviceSupportedFormats(const Name& device, device 227 media/video/capture/win/video_capture_device_win.cc void VideoCaptureDevice::GetDeviceSupportedFormats(const Name& device, device 238 media/video/capture/win/video_capture_device_win.cc VideoCaptureDeviceMFWin::GetDeviceSupportedFormats(device, formats); device 240 media/video/capture/win/video_capture_device_win.cc VideoCaptureDeviceWin::GetDeviceSupportedFormats(device, formats); device 249 media/video/capture/win/video_capture_device_win.cc scoped_ptr<VideoCaptureDeviceMFWin> device( device 252 media/video/capture/win/video_capture_device_win.cc if (device->Init()) device 253 media/video/capture/win/video_capture_device_win.cc ret = device.release(); device 255 media/video/capture/win/video_capture_device_win.cc scoped_ptr<VideoCaptureDeviceWin> device( device 258 media/video/capture/win/video_capture_device_win.cc if (device->Init()) device 259 media/video/capture/win/video_capture_device_win.cc ret = device.release(); device 338 media/video/capture/win/video_capture_device_win.cc void VideoCaptureDeviceWin::GetDeviceSupportedFormats(const Name& device, device 340 media/video/capture/win/video_capture_device_win.cc DVLOG(1) << "GetDeviceSupportedFormats for " << device.name(); device 374 media/video/capture/win/video_capture_device_win.cc if (device.id() == base::SysWideToUTF8(V_BSTR(&device_id))) device 381 media/video/capture/win/video_capture_device_win.cc hr = GetDeviceFilter(device, capture_filter.Receive()); device 434 media/video/capture/win/video_capture_device_win.cc DVLOG(1) << device.name() << " resolution: " device 49 media/video/capture/win/video_capture_device_win.h static void GetDeviceSupportedFormats(const Name& device, device 79 mojo/examples/pepper_container_app/plugin_instance.cc bool PluginInstance::IsBoundGraphics(PP_Resource device) const { device 80 mojo/examples/pepper_container_app/plugin_instance.cc return device != 0 && device == bound_graphics_.get(); device 83 mojo/examples/pepper_container_app/plugin_instance.cc PP_Bool PluginInstance::BindGraphics(PP_Instance instance, PP_Resource device) { device 84 mojo/examples/pepper_container_app/plugin_instance.cc if (bound_graphics_.get() == device) device 88 mojo/examples/pepper_container_app/plugin_instance.cc enter(device, false); device 92 mojo/examples/pepper_container_app/plugin_instance.cc bound_graphics_ = device; device 34 mojo/examples/pepper_container_app/plugin_instance.h bool IsBoundGraphics(PP_Resource device) const; device 42 mojo/examples/pepper_container_app/plugin_instance.h PP_Resource device) OVERRIDE; device 63 ppapi/c/ppb_instance.h PP_Bool (*BindGraphics)(PP_Instance instance, PP_Resource device); device 218 ppapi/examples/audio_input/audio_input.cc void Open(const pp::DeviceRef_Dev& device) { device 227 ppapi/examples/audio_input/audio_input.cc int32_t result = audio_input_.Open(device, config, CaptureCallback, this, device 684 ppapi/examples/ime/ime.cc pp::Graphics2D device(this, last_size_, false); device 685 ppapi/examples/ime/ime.cc BindGraphics(device); device 693 ppapi/examples/ime/ime.cc device.PaintImageData(image, pp::Point(0, 0)); device 694 ppapi/examples/ime/ime.cc device.Flush(pp::CompletionCallback(&OnFlush, this)); device 128 ppapi/examples/video_capture/video_capture.cc void Open(const pp::DeviceRef_Dev& device); device 427 ppapi/examples/video_capture/video_capture.cc void VCDemoInstance::Open(const pp::DeviceRef_Dev& device) { device 430 ppapi/examples/video_capture/video_capture.cc int32_t result = video_capture_.Open(device, capture_info_, 4, callback); device 208 ppapi/proxy/ppb_instance_proxy.cc PP_Resource device) { device 213 ppapi/proxy/ppb_instance_proxy.cc if (device) { device 215 ppapi/proxy/ppb_instance_proxy.cc PpapiGlobals::Get()->GetResourceTracker()->GetResource(device); device 229 ppapi/proxy/ppb_instance_proxy.cc EnterResourceNoLock<PPB_Graphics2D_API> enter_2d(device, false); device 230 ppapi/proxy/ppb_instance_proxy.cc EnterResourceNoLock<PPB_Graphics3D_API> enter_3d(device, false); device 862 ppapi/proxy/ppb_instance_proxy.cc PP_Resource device) { device 869 ppapi/proxy/ppb_instance_proxy.cc enter.functions()->BindGraphics(instance, device); device 47 ppapi/proxy/ppb_instance_proxy.h PP_Resource device) OVERRIDE; device 167 ppapi/proxy/ppb_instance_proxy.h PP_Resource device); device 63 ppapi/tests/test_buffer.cc pp::Graphics2D device(instance_, pp::Size(w, h), true); device 64 ppapi/tests/test_buffer.cc if (device.is_null()) device 66 ppapi/tests/test_buffer.cc if (buffer_interface_->IsBuffer(device.pp_resource())) device 174 ppapi/tests/test_image_data.cc pp::Graphics2D device(instance_, pp::Size(w, h), true); device 175 ppapi/tests/test_image_data.cc if (device.is_null()) device 177 ppapi/tests/test_image_data.cc if (image_data_interface_->IsImageData(device.pp_resource())) device 48 ppapi/thunk/ppb_instance_api.h virtual PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) = 0; device 18 ppapi/thunk/ppb_instance_thunk.cc PP_Bool BindGraphics(PP_Instance instance, PP_Resource device) { device 23 ppapi/thunk/ppb_instance_thunk.cc return enter.functions()->BindGraphics(instance, device); device 451 remoting/host/input_injector_linux.cc XDevice* device = XOpenDevice(display_, device_id); device 452 remoting/host/input_injector_linux.cc if (!device) { device 457 remoting/host/input_injector_linux.cc int num_device_buttons = XGetDeviceButtonMapping(display_, device, NULL, 0); device 462 remoting/host/input_injector_linux.cc error = XSetDeviceButtonMapping(display_, device, button_mapping.get(), device 467 remoting/host/input_injector_linux.cc XCloseDevice(display_, device); device 147 remoting/host/local_input_monitor_win.cc RAWINPUTDEVICE device = {0}; device 148 remoting/host/local_input_monitor_win.cc device.dwFlags = RIDEV_REMOVE; device 149 remoting/host/local_input_monitor_win.cc device.usUsagePage = kGenericDesktopPage; device 150 remoting/host/local_input_monitor_win.cc device.usUsage = kMouseUsage; device 151 remoting/host/local_input_monitor_win.cc device.hwndTarget = NULL; device 154 remoting/host/local_input_monitor_win.cc RegisterRawInputDevices(&device, 1, sizeof(device)); device 212 remoting/host/local_input_monitor_win.cc RAWINPUTDEVICE device = {0}; device 213 remoting/host/local_input_monitor_win.cc device.dwFlags = RIDEV_INPUTSINK; device 214 remoting/host/local_input_monitor_win.cc device.usUsagePage = kGenericDesktopPage; device 215 remoting/host/local_input_monitor_win.cc device.usUsage = kMouseUsage; device 216 remoting/host/local_input_monitor_win.cc device.hwndTarget = window_->hwnd(); device 217 remoting/host/local_input_monitor_win.cc if (RegisterRawInputDevices(&device, 1, sizeof(device))) { device 126 skia/ext/bitmap_platform_device_cairo.cc BitmapPlatformDevice* device = Create(width, height, is_opaque, surface); device 129 skia/ext/bitmap_platform_device_cairo.cc if (device && is_opaque) // Fill with bright bluish green device 130 skia/ext/bitmap_platform_device_cairo.cc device->eraseColor(SkColorSetARGB(255, 0, 255, 128)); device 133 skia/ext/bitmap_platform_device_cairo.cc return device; device 147 skia/ext/bitmap_platform_device_mac.cc BitmapPlatformDevice* device = Create(NULL, width, height, is_opaque); device 149 skia/ext/bitmap_platform_device_mac.cc device->clear(0); device 150 skia/ext/bitmap_platform_device_mac.cc return device; device 28 skia/ext/bitmap_platform_device_skia.cc BitmapPlatformDevice* device = Create(width, height, is_opaque); device 30 skia/ext/bitmap_platform_device_skia.cc device->clear(0); device 31 skia/ext/bitmap_platform_device_skia.cc return device; device 157 skia/ext/bitmap_platform_device_win.cc BitmapPlatformDevice* device = BitmapPlatformDevice::Create(width, height, device 159 skia/ext/bitmap_platform_device_win.cc if (device && !is_opaque) device 160 skia/ext/bitmap_platform_device_win.cc device->clear(0); device 161 skia/ext/bitmap_platform_device_win.cc return device; device 376 skia/ext/pixel_ref_utils.cc GatherPixelRefDevice device(empty_bitmap, &pixel_ref_set); device 377 skia/ext/pixel_ref_utils.cc SkNoSaveLayerCanvas canvas(&device); device 67 skia/ext/platform_canvas.cc SkCanvas* CreateCanvas(const skia::RefPtr<SkBaseDevice>& device, OnFailureType failureType) { device 68 skia/ext/platform_canvas.cc if (!device) { device 73 skia/ext/platform_canvas.cc return new SkCanvas(device.get()); device 77 skia/ext/platform_canvas.h SK_API SkCanvas* CreateCanvas(const skia::RefPtr<SkBaseDevice>& device, device 36 skia/ext/platform_canvas_unittest.cc SkBaseDevice* device = skia::GetTopDevice(canvas); device 37 skia/ext/platform_canvas_unittest.cc const SkBitmap& bitmap = device->accessBitmap(false); device 75 skia/ext/platform_canvas_unittest.cc SkBaseDevice* device = skia::GetTopDevice(canvas); device 76 skia/ext/platform_canvas_unittest.cc const SkBitmap& bitmap = device->accessBitmap(false); device 36 skia/ext/platform_device.cc void SetPlatformDevice(SkBaseDevice* device, PlatformDevice* platform_behaviour) { device 37 skia/ext/platform_device.cc SkMetaData& meta_data = device->getMetaData(); device 41 skia/ext/platform_device.cc PlatformDevice* GetPlatformDevice(SkBaseDevice* device) { device 42 skia/ext/platform_device.cc if (device) { device 43 skia/ext/platform_device.cc SkMetaData& meta_data = device->getMetaData(); device 53 skia/ext/platform_device.cc SkBaseDevice* device = canvas.getDevice(); device 54 skia/ext/platform_device.cc DCHECK(device != NULL); device 55 skia/ext/platform_device.cc return device->getMetaData(); device 60 skia/ext/platform_device.h SK_API void SetPlatformDevice(SkBaseDevice* device, device 62 skia/ext/platform_device.h SK_API PlatformDevice* GetPlatformDevice(SkBaseDevice* device); device 71 skia/ext/platform_device.h SK_API CGContextRef GetBitmapContext(SkBaseDevice* device); device 17 skia/ext/platform_device_mac.cc CGContextRef GetBitmapContext(SkBaseDevice* device) { device 18 skia/ext/platform_device_mac.cc PlatformDevice* platform_device = GetPlatformDevice(device); device 49 skia/ext/vector_platform_device_emf_win.cc SkBaseDevice* device = VectorPlatformDeviceEmf::create( device 51 skia/ext/vector_platform_device_emf_win.cc return device; device 592 skia/ext/vector_platform_device_emf_win.cc SkBaseDevice* device, device 598 skia/ext/vector_platform_device_emf_win.cc drawSprite(draw, device->accessBitmap(false), x, y, paint); device 541 third_party/libusb/src/libusb/core.c message.device = dev; device 567 third_party/libusb/src/libusb/core.c message.device = dev; device 73 third_party/libusb/src/libusb/hotplug.h struct libusb_device *device; device 2010 third_party/libusb/src/libusb/io.c usbi_hotplug_match(ctx, message.device, message.event); device 2014 third_party/libusb/src/libusb/io.c libusb_unref_device(message.device); device 1896 third_party/libusb/src/libusb/libusb.h libusb_device *device, device 649 third_party/libusb/src/libusb/libusbi.h int (*get_device_descriptor)(struct libusb_device *device, device 672 third_party/libusb/src/libusb/libusbi.h int (*get_active_config_descriptor)(struct libusb_device *device, device 696 third_party/libusb/src/libusb/libusbi.h int (*get_config_descriptor)(struct libusb_device *device, device 712 third_party/libusb/src/libusb/libusbi.h int (*get_config_descriptor_by_value)(struct libusb_device *device, device 143 third_party/libusb/src/libusb/os/darwin_usb.c (*(cached_dev->device))->Release(cached_dev->device); device 232 third_party/libusb/src/libusb/os/darwin_usb.c usb_device_t **device; device 246 third_party/libusb/src/libusb/os/darwin_usb.c (LPVOID)&device); device 250 third_party/libusb/src/libusb/os/darwin_usb.c return device; device 275 third_party/libusb/src/libusb/os/darwin_usb.c io_service_t device; device 279 third_party/libusb/src/libusb/os/darwin_usb.c while ((device = IOIteratorNext (rem_devices)) != 0) { device 281 third_party/libusb/src/libusb/os/darwin_usb.c ret = get_ioregistry_value_number (device, CFSTR("sessionID"), kCFNumberSInt64Type, &session); device 282 third_party/libusb/src/libusb/os/darwin_usb.c IOObjectRelease (device); device 304 third_party/libusb/src/libusb/os/darwin_usb.c io_service_t device; device 306 third_party/libusb/src/libusb/os/darwin_usb.c while ((device = IOIteratorNext (iter)) != 0) device 307 third_party/libusb/src/libusb/os/darwin_usb.c IOObjectRelease (device); device 474 third_party/libusb/src/libusb/os/darwin_usb.c kresult = (*(priv->device))->GetNumberOfConfigurations (priv->device, &numConfig); device 479 third_party/libusb/src/libusb/os/darwin_usb.c (*(priv->device))->GetConfigurationDescriptorPtr (priv->device, i, &desc); device 509 third_party/libusb/src/libusb/os/darwin_usb.c if (!priv || !priv->device) device 512 third_party/libusb/src/libusb/os/darwin_usb.c kresult = (*priv->device)->GetConfigurationDescriptorPtr (priv->device, config_index, &desc); device 533 third_party/libusb/src/libusb/os/darwin_usb.c usb_device_t **darwin_device = dev->device; device 589 third_party/libusb/src/libusb/os/darwin_usb.c static int darwin_request_descriptor (usb_device_t **device, UInt8 desc, UInt8 desc_index, void *buffer, size_t buffer_size) { device 604 third_party/libusb/src/libusb/os/darwin_usb.c return (*device)->DeviceRequestTO (device, &req); device 608 third_party/libusb/src/libusb/os/darwin_usb.c usb_device_t **device = dev->device; device 618 third_party/libusb/src/libusb/os/darwin_usb.c (*device)->GetDeviceClass (device, &bDeviceClass); device 619 third_party/libusb/src/libusb/os/darwin_usb.c (*device)->GetDeviceProduct (device, &idProduct); device 620 third_party/libusb/src/libusb/os/darwin_usb.c (*device)->GetDeviceVendor (device, &idVendor); device 625 third_party/libusb/src/libusb/os/darwin_usb.c is_open = ((*device)->USBDeviceOpenSeize(device) == kIOReturnSuccess); device 629 third_party/libusb/src/libusb/os/darwin_usb.c ret = darwin_request_descriptor (device, kUSBDeviceDesc, 0, &dev->dev_descriptor, sizeof(dev->dev_descriptor)); device 647 third_party/libusb/src/libusb/os/darwin_usb.c (*device)->SetConfiguration(device, 1); device 662 third_party/libusb/src/libusb/os/darwin_usb.c (void)(*device)->GetUSBDeviceInformation (device, &info); device 671 third_party/libusb/src/libusb/os/darwin_usb.c ret2 = (*device)->USBDeviceSuspend (device, 0); device 692 third_party/libusb/src/libusb/os/darwin_usb.c (void)(*device)->USBDeviceSuspend (device, 1); device 695 third_party/libusb/src/libusb/os/darwin_usb.c (void) (*device)->USBDeviceClose (device); device 741 third_party/libusb/src/libusb/os/darwin_usb.c usb_device_t **device; device 777 third_party/libusb/src/libusb/os/darwin_usb.c device = darwin_device_from_service (service); device 778 third_party/libusb/src/libusb/os/darwin_usb.c if (!device) { device 792 third_party/libusb/src/libusb/os/darwin_usb.c (*device)->GetDeviceAddress (device, (USBDeviceAddress *)&new_device->address); device 797 third_party/libusb/src/libusb/os/darwin_usb.c new_device->device = device; device 799 third_party/libusb/src/libusb/os/darwin_usb.c (*device)->GetLocationID (device, &new_device->location); device 872 third_party/libusb/src/libusb/os/darwin_usb.c (*(priv->dev->device))->GetDeviceSpeed (priv->dev->device, &devSpeed); device 929 third_party/libusb/src/libusb/os/darwin_usb.c kresult = (*(dpriv->device))->USBDeviceOpenSeize (dpriv->device); device 944 third_party/libusb/src/libusb/os/darwin_usb.c kresult = (*(dpriv->device))->CreateDeviceAsyncEventSource (dpriv->device, &priv->cfSource); device 949 third_party/libusb/src/libusb/os/darwin_usb.c (*(dpriv->device))->USBDeviceClose (dpriv->device); device 1009 third_party/libusb/src/libusb/os/darwin_usb.c kresult = (*(dpriv->device))->USBDeviceClose(dpriv->device); device 1045 third_party/libusb/src/libusb/os/darwin_usb.c kresult = (*(dpriv->device))->SetConfiguration (dpriv->device, config); device 1150 third_party/libusb/src/libusb/os/darwin_usb.c kresult = darwin_get_interface (dpriv->device, iface, &usbInterface); device 1165 third_party/libusb/src/libusb/os/darwin_usb.c kresult = darwin_get_interface (dpriv->device, iface, &usbInterface); device 1336 third_party/libusb/src/libusb/os/darwin_usb.c kresult = (*(dpriv->device))->ResetDevice (dpriv->device); device 1346 third_party/libusb/src/libusb/os/darwin_usb.c (void) darwin_request_descriptor (dpriv->device, kUSBDeviceDesc, 0, &descriptor, sizeof (descriptor)); device 1358 third_party/libusb/src/libusb/os/darwin_usb.c (void) darwin_request_descriptor (dpriv->device, kUSBConfDesc, i, &configuration, sizeof (configuration)); device 1359 third_party/libusb/src/libusb/os/darwin_usb.c (*(dpriv->device))->GetConfigurationDescriptorPtr (dpriv->device, i, &cached_configuration); device 1370 third_party/libusb/src/libusb/os/darwin_usb.c (void) (*(dpriv->device))->USBDeviceReEnumerate (dpriv->device, 0); device 1385 third_party/libusb/src/libusb/os/darwin_usb.c kresult = darwin_get_interface (dpriv->device, interface, &usbInterface); device 1625 third_party/libusb/src/libusb/os/darwin_usb.c kresult = (*(dpriv->device))->DeviceRequestAsyncTO(dpriv->device, &(tpriv->req), darwin_async_io_callback, itransfer); device 1657 third_party/libusb/src/libusb/os/darwin_usb.c if (!dpriv->device) device 1660 third_party/libusb/src/libusb/os/darwin_usb.c kresult = (*(dpriv->device))->USBDeviceAbortPipeZero (dpriv->device); device 1681 third_party/libusb/src/libusb/os/darwin_usb.c if (!dpriv->device) device 119 third_party/libusb/src/libusb/os/darwin_usb.h usb_device_t **device; device 427 third_party/libusb/src/libusb/os/wince_usb.c struct libusb_device *device, device 430 third_party/libusb/src/libusb/os/wince_usb.c struct wince_device_priv *priv = _device_priv(device); device 438 third_party/libusb/src/libusb/os/wince_usb.c struct libusb_device *device, device 441 third_party/libusb/src/libusb/os/wince_usb.c struct wince_device_priv *priv = _device_priv(device); device 451 third_party/libusb/src/libusb/os/wince_usb.c struct libusb_device *device, device 455 third_party/libusb/src/libusb/os/wince_usb.c struct wince_device_priv *priv = _device_priv(device); device 128 third_party/npapi/bindings/npapi_extensions.h NPDeviceEvent device; device 411 third_party/npapi/bindings/npapi_extensions.h NPDeviceID device); device 282 third_party/qcms/src/transform.c unsigned char device = *src++; device 284 third_party/qcms/src/transform.c float linear = transform->input_gamma_table_gray[device]; device 311 third_party/qcms/src/transform.c unsigned char device = *src++; device 314 third_party/qcms/src/transform.c float linear = transform->input_gamma_table_gray[device]; device 336 third_party/qcms/src/transform.c unsigned char device = *src++; device 339 third_party/qcms/src/transform.c float linear = transform->input_gamma_table_gray[device]; device 359 third_party/qcms/src/transform.c unsigned char device = *src++; device 363 third_party/qcms/src/transform.c float linear = transform->input_gamma_table_gray[device]; device 372 third_party/sudden_motion_sensor/sudden_motion_sensor_mac.cc io_service_t device = IOServiceGetMatchingService(kIOMasterPortDefault, device 374 third_party/sudden_motion_sensor/sudden_motion_sensor_mac.cc if (!device) device 379 third_party/sudden_motion_sensor/sudden_motion_sensor_mac.cc result = IOServiceOpen(device, mach_task_self(), 0, &io_connection_); device 380 third_party/sudden_motion_sensor/sudden_motion_sensor_mac.cc IOObjectRelease(device); device 87 ui/base/test/ui_controls_gtk.cc event->motion.device = gdk_device_get_core_pointer(); device 217 ui/base/test/ui_controls_gtk.cc event->button.device = gdk_device_get_core_pointer(); device 96 ui/events/ozone/evdev/device_manager_udev.cc scoped_udev_device device(udev_device_new_from_syspath(udev, name)); device 97 ui/events/ozone/evdev/device_manager_udev.cc if (!device) device 100 ui/events/ozone/evdev/device_manager_udev.cc const char* path = udev_device_get_devnode(device.get()); device 153 ui/events/ozone/evdev/device_manager_udev.cc scoped_udev_device device(udev_monitor_receive_device(udev_monitor_.get())); device 154 ui/events/ozone/evdev/device_manager_udev.cc if (!device) device 157 ui/events/ozone/evdev/device_manager_udev.cc const char* path = udev_device_get_devnode(device.get()); device 158 ui/events/ozone/evdev/device_manager_udev.cc const char* action = udev_device_get_action(device.get()); device 88 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc ui::MockKeyEventConverterEvdev* dev = device(); device 117 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc ui::MockKeyEventConverterEvdev* dev = device(); device 164 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc ui::MockKeyEventConverterEvdev* dev = device(); device 170 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc ui::MockKeyEventConverterEvdev* dev = device(); device 217 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc ui::MockKeyEventConverterEvdev* dev = device(); device 282 ui/events/ozone/evdev/key_event_converter_evdev_unittest.cc ui::MockKeyEventConverterEvdev* dev = device(); device 149 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc ui::MockTouchEventConverterEvdev* dev = device(); device 184 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc ui::MockTouchEventConverterEvdev* dev = device(); device 190 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc ui::MockTouchEventConverterEvdev* dev = device(); device 245 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc ui::MockTouchEventConverterEvdev* dev = device(); device 282 ui/events/ozone/evdev/touch_event_converter_evdev_unittest.cc ui::MockTouchEventConverterEvdev* dev = device(); device 289 ui/events/x/touch_factory_x11.cc XDevice* device = XOpenDevice(display, device_id); device 290 ui/events/x/touch_factory_x11.cc if (!device) device 304 ui/events/x/touch_factory_x11.cc XGetDeviceProperty(display, device, device_product_id_atom, 0, 2, device 324 ui/events/x/touch_factory_x11.cc XCloseDevice(display, device); device 667 ui/native_theme/native_theme_win.cc skia::RefPtr<skia::BitmapPlatformDevice> device = skia::AdoptRef( device 670 ui/native_theme/native_theme_win.cc DCHECK(device); device 671 ui/native_theme/native_theme_win.cc if (!device) device 673 ui/native_theme/native_theme_win.cc SkCanvas offscreen_canvas(device.get()); device 1260 ui/views/win/hwnd_message_handler.cc WORD device, device 398 ui/views/win/hwnd_message_handler.h BOOL OnAppCommand(HWND window, short command, WORD device, int keystate); device 70 win8/metro_driver/direct3d_helper.cc mswr::ComPtr<ID3D11Device> device; device 81 win8/metro_driver/direct3d_helper.cc &device, device 84 win8/metro_driver/direct3d_helper.cc CheckIfFailed(device.As(&d3d_device_)); device 134 win8/metro_driver/print_handler.cc mswr::ComPtr<ID3D11Device> device; device 144 win8/metro_driver/print_handler.cc &device, device 157 win8/metro_driver/print_handler.cc &device, device 166 win8/metro_driver/print_handler.cc hr = device.As(&directx_context_.d3d_device);