/external/chromium_org/ui/gfx/ |
screen_android.cc | 34 gfx::DeviceDisplayInfo device_info; variable 35 const float device_scale_factor = device_info.GetDIPScale(); 38 device_info.GetDisplayWidth(), 39 device_info.GetDisplayHeight()); 46 display.SetRotationAsDegree(device_info.GetRotationDegrees());
|
/external/chromium_org/device/hid/ |
hid_connection.h | 33 const HidDeviceInfo& device_info() const { return device_info_; } function in class:device::HidConnection 39 explicit HidConnection(const HidDeviceInfo& device_info);
|
hid_service_mac.cc | 140 HidDeviceInfo device_info; local 141 device_info.device_id = hid_device; 142 device_info.vendor_id = 144 device_info.product_id = 146 device_info.input_report_size = 148 device_info.output_report_size = 150 device_info.feature_report_size = 168 device_info.usages.push_back(HidUsageAndPage(usage, page)); 170 device_info.product_name = 172 device_info.serial_number 186 HidDeviceInfo device_info; local [all...] |
hid_service_win.cc | 145 HidDeviceInfo device_info; local 146 device_info.device_id = device_path; 179 device_info.vendor_id = attrib.VendorID; 180 device_info.product_id = attrib.ProductID; 192 device_info.input_report_size = capabilities.InputReportByteLength; 193 device_info.output_report_size = capabilities.OutputReportByteLength; 194 device_info.feature_report_size = capabilities.FeatureReportByteLength; 195 device_info.usages.push_back(HidUsageAndPage( 206 device_info.has_report_id = (value_caps[0].ReportID != 0); 209 if (!device_info.has_report_id && capabilities.NumberInputButtonCaps > 0 239 HidDeviceInfo device_info; local [all...] |
hid_service_linux.cc | 47 HidDeviceInfo device_info; local 48 if (!GetDeviceInfo(device_id, &device_info)) 53 device_info.device_id); 61 return new HidConnectionLinux(device_info, dev_node); 83 HidDeviceInfo device_info; 84 device_info.device_id = device_path; 100 device_info.vendor_id = int_property; 104 device_info.product_id = int_property; 109 device_info.serial_number = str_property; 113 device_info.product_name = str_property [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
fakewebrtcvcmfactory.h | 40 if (!device_info.GetDeviceById(device_id)) return NULL; 47 return &device_info; 54 FakeWebRtcDeviceInfo device_info; member in class:FakeWebRtcVcmFactory
|
/external/chromium_org/chrome/browser/devtools/device/ |
self_device_provider.cc | 38 AndroidDeviceManager::DeviceInfo device_info; local 39 device_info.model = kDeviceModel; 40 device_info.connected = true; 47 device_info.browser_info.push_back(browser_info); 50 FROM_HERE, base::Bind(callback, device_info));
|
/external/chromium_org/content/renderer/media/ |
media_stream_source.h | 39 const StreamDeviceInfo& device_info() const { function in class:content::MediaStreamSource 60 void SetDeviceInfo(const StreamDeviceInfo& device_info) { 61 device_info_ = device_info;
|
media_stream_video_capture_source_unittest.cc | 23 explicit MockVideoCapturerDelegate(const StreamDeviceInfo& device_info) 24 : VideoCapturerDelegate(device_info) {} 43 void InitWithDeviceInfo(const StreamDeviceInfo& device_info) { 44 delegate_ = new MockVideoCapturerDelegate(device_info); 46 device_info, 84 StreamDeviceInfo device_info; local 85 device_info.device.type = MEDIA_TAB_VIDEO_CAPTURE; 86 InitWithDeviceInfo(device_info); 99 StreamDeviceInfo device_info; local 100 device_info.device.type = MEDIA_DESKTOP_VIDEO_CAPTURE 113 StreamDeviceInfo device_info; local 159 StreamDeviceInfo device_info; local [all...] |
/external/chromium_org/third_party/webrtc/test/ |
vcm_capturer.cc | 23 VideoCaptureModule::DeviceInfo* device_info = local 28 if (device_info->GetDeviceName(0, device_name, sizeof(device_name), 38 device_info->GetCapability(vcm_->CurrentDeviceName(), 0, capability_); 39 delete device_info;
|
/external/chromium_org/remoting/host/ |
curtain_mode_linux.cc | 65 XDeviceInfo* device_info = &devices[i]; local 66 if (device_info->use == IsXExtensionPointer) { 67 if (strcmp(device_info->name, "Xvfb mouse") == 0) { 69 } else if (strcmp(device_info->name, "Virtual core XTEST pointer") != 0) { 71 HOST_LOG << "Non Xvfb mouse found: " << device_info->name; 73 } else if (device_info->use == IsXExtensionKeyboard) { 74 if (strcmp(device_info->name, "Xvfb keyboard") == 0) { 76 } else if (strcmp(device_info->name, 79 HOST_LOG << "Non Xvfb keyboard found: " << device_info->name; 81 } else if (device_info->use == IsXPointer) [all...] |
/external/chromium_org/chrome/browser/extensions/api/hid/ |
hid_device_manager.cc | 45 device::HidDeviceInfo device_info; local 46 if (hid_service->GetDeviceInfo(device_id, &device_info)) { 47 if (device_info.vendor_id == vendor_id && 48 device_info.product_id == product_id && 49 IsDeviceAccessible(device_info)) { 52 api_device_info.vendor_id = device_info.vendor_id; 53 api_device_info.product_id = device_info.product_id; 55 device_info.usages.begin(); 56 usage_iter != device_info.usages.end(); 74 device::HidDeviceInfo* device_info) { 102 const device::HidDeviceInfo& device_info = *iter; local [all...] |
hid_api.cc | 112 device::HidDeviceInfo device_info; local 113 if (!device_manager_->GetDeviceInfo(parameters_->device_id, &device_info)) { 119 device_info.vendor_id, 120 device_info.product_id, 132 hid_service->Connect(device_info.device_id);
|
/external/chromium_org/chrome/browser/sync/glue/ |
synced_device_tracker_unittest.cc | 12 #include "chrome/browser/sync/glue/device_info.h" 26 const DeviceInfo& device_info, 28 specifics->set_cache_guid(device_info.guid()); 29 specifics->set_client_name(device_info.client_name()); 30 specifics->set_chrome_version(device_info.chrome_version()); 31 specifics->set_sync_user_agent(device_info.sync_user_agent()); 32 specifics->set_device_type(device_info.device_type()); 44 syncer::TestUserShare::CreateRoot(syncer::DEVICE_INFO, user_share()); 71 void WriteDeviceInfo(const DeviceInfo& device_info) { 73 ConvertDeviceInfoSpecifics(device_info, &specifics) 203 ScopedVector<DeviceInfo> device_info; local [all...] |
/external/chromium_org/chrome/browser/ui/webui/ |
gcm_internals_ui.cc | 151 base::DictionaryValue* device_info = new base::DictionaryValue(); local 152 results.Set("deviceInfo", device_info); 154 device_info->SetBoolean("profileServiceCreated", profile_service != NULL); 155 device_info->SetBoolean("gcmEnabled", 158 device_info->SetString("signedInUserName", 163 device_info->SetBoolean("gcmClientCreated", stats->gcm_client_created); 164 device_info->SetString("gcmClientState", stats->gcm_client_state); 165 device_info->SetBoolean("connectionClientCreated", 167 device_info->SetString("registeredAppIds", 170 device_info->SetString("connectionState", stats->connection_state) [all...] |
/external/chromium_org/components/storage_monitor/ |
storage_monitor_win_unittest.cc | 460 StorageInfo device_info; local 463 &device_info)); 467 &device_info)); 471 EXPECT_TRUE(monitor_->GetStorageInfoForPath(removable_device, &device_info)); 476 EXPECT_EQ(info.device_id(), device_info.device_id()); 477 EXPECT_EQ(info.GetDisplayName(false), device_info.GetDisplayName(false)); 478 EXPECT_EQ(info.location(), device_info.location()); 483 EXPECT_TRUE(monitor_->GetStorageInfoForPath(fixed_device, &device_info)); 488 EXPECT_EQ(info.device_id(), device_info.device_id()); 489 EXPECT_EQ(info.GetDisplayName(false), device_info.GetDisplayName(false)) [all...] |
storage_monitor_linux_unittest.cc | 600 StorageInfo device_info; local 601 EXPECT_TRUE(notifier()->GetStorageInfoForPath(test_path_a, &device_info)); 602 EXPECT_EQ(GetDeviceId(kDeviceDCIM1), device_info.device_id()); 603 EXPECT_EQ(test_path_a.value(), device_info.location()); 604 EXPECT_EQ(88788ULL, device_info.total_size_in_bytes()); 605 EXPECT_EQ(base::ASCIIToUTF16("volume label"), device_info.storage_label()); 606 EXPECT_EQ(base::ASCIIToUTF16("vendor name"), device_info.vendor_name()); 607 EXPECT_EQ(base::ASCIIToUTF16("model name"), device_info.model_name()); 609 EXPECT_TRUE(notifier()->GetStorageInfoForPath(test_path_b, &device_info)); 610 EXPECT_EQ(GetDeviceId(kDeviceNoDCIM), device_info.device_id()) 619 &device_info)); local [all...] |
volume_mount_watcher_win.cc | 526 MountPointDeviceMetadataMap::const_iterator device_info = local 529 if (device_info == device_metadata_.end()) 533 notifications_->ProcessDetach(device_info->second.device_id()); 534 device_metadata_.erase(device_info);
|
/external/chromium_org/content/browser/gamepad/ |
raw_input_data_fetcher_win.cc | 180 RID_DEVICE_INFO* device_info = local 193 if (device_info->hid.usUsage == DeviceUsages[i]) { 205 gamepad_info->vendor_id = device_info->hid.dwVendorId; 206 gamepad_info->product_id = device_info->hid.dwProductId;
|
/external/chromium_org/content/browser/renderer_host/media/ |
video_capture_manager.cc | 151 int VideoCaptureManager::Open(const StreamDeviceInfo& device_info) { 163 sessions_[capture_session_id] = device_info.device; 170 device_info.device.type, capture_session_id)); 507 DeviceInfo device_info(*it, media::VideoCaptureFormats()); 509 *it, &(device_info.supported_formats)); 510 ConsolidateCaptureFormats(&device_info.supported_formats); 511 new_devices_info_cache.push_back(device_info); 519 const MediaStreamDevice& device_info) { 525 if (device_info.type == device->stream_type && 526 device_info.id == device->id) 574 const MediaStreamDevice& device_info = session_it->second; local [all...] |
/external/chromium_org/content/renderer/media/webrtc/ |
peer_connection_dependency_factory.cc | 201 StreamDeviceInfo device_info = source_data->device_info(); local 205 &device_info.device.input.effects); 208 CreateAudioCapturer(render_view_id, device_info, audio_constraints, 212 << device_info.device.id; 587 const StreamDeviceInfo& device_info, 596 return WebRtcAudioCapturer::CreateCapturer(render_view_id, device_info,
|
/external/chromium_org/chrome/browser/chromeos/events/ |
event_rewriter.cc | 798 XIDeviceInfo* device_info = local 803 if (!device_info) { 810 DCHECK_EQ(device_id, device_info[i].deviceid); // see the comment above. 811 DCHECK(device_info[i].name); 812 DeviceAddedInternal(device_info[i].deviceid, device_info[i].name); 815 XIFreeDeviceInfo(device_info);
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/ |
mobile_setup_ui.cc | 549 base::DictionaryValue device_info; local 550 GetDeviceInfo(properties, &device_info); 551 web_ui()->CallJavascriptFunction(kJsGetDeviceInfoCallback, device_info);
|
/external/chromium_org/device/bluetooth/ |
bluetooth_task_manager_win.cc | 60 void GetDeviceState(const BLUETOOTH_DEVICE_INFO& device_info, 62 state->name = base::SysWideToUTF8(device_info.szName); 64 device_info.Address.rgBytes[5], 65 device_info.Address.rgBytes[4], 66 device_info.Address.rgBytes[3], 67 device_info.Address.rgBytes[2], 68 device_info.Address.rgBytes[1], 69 device_info.Address.rgBytes[0]); 70 state->bluetooth_class = device_info.ulClassofDevice; 72 state->connected = !!device_info.fConnected 420 BLUETOOTH_DEVICE_INFO device_info = { sizeof(BLUETOOTH_DEVICE_INFO), 0 }; local [all...] |
/external/chromium_org/media/audio/win/ |
audio_manager_win.cc | 75 static base::string16 GetDeviceAndDriverInfo(HDEVINFO device_info, 81 SetupDiGetDeviceInstallParams(device_info, device_data, 85 SetupDiSetDeviceInstallParams(device_info, device_data, 91 if (SetupDiBuildDriverInfoList(device_info, device_data, 93 if (SetupDiEnumDriverInfo(device_info, device_data, SPDIT_COMPATDRIVER, 0, 102 SetupDiDestroyDriverInfoList(device_info, device_data, SPDIT_COMPATDRIVER); 105 SetupDiSetDeviceInstallParams(device_info, device_data, 207 HDEVINFO device_info = SetupDiGetClassDevs( local 209 if (device_info == INVALID_HANDLE_VALUE) 215 while (SetupDiEnumDeviceInterfaces(device_info, 0, &AM_KSCATEGORY_AUDIO [all...] |