Home
last modified time | relevance | path

Searched refs:device_info (Results 1 – 25 of 71) sorted by relevance

123

/external/chromium_org/remoting/host/
Dcurtain_mode_linux.cc65 XDeviceInfo* device_info = &devices[i]; in IsXvfbSession() local
66 if (device_info->use == IsXExtensionPointer) { in IsXvfbSession()
67 if (strcmp(device_info->name, "Xvfb mouse") == 0) { in IsXvfbSession()
69 } else if (strcmp(device_info->name, "Virtual core XTEST pointer") != 0) { in IsXvfbSession()
71 HOST_LOG << "Non Xvfb mouse found: " << device_info->name; in IsXvfbSession()
73 } else if (device_info->use == IsXExtensionKeyboard) { in IsXvfbSession()
74 if (strcmp(device_info->name, "Xvfb keyboard") == 0) { in IsXvfbSession()
76 } else if (strcmp(device_info->name, in IsXvfbSession()
79 HOST_LOG << "Non Xvfb keyboard found: " << device_info->name; in IsXvfbSession()
81 } else if (device_info->use == IsXPointer) { in IsXvfbSession()
[all …]
/external/chromium_org/chrome/browser/sync/glue/
Dsynced_device_tracker_unittest.cc26 const DeviceInfo& device_info, in ConvertDeviceInfoSpecifics() argument
28 specifics->set_cache_guid(device_info.guid()); in ConvertDeviceInfoSpecifics()
29 specifics->set_client_name(device_info.client_name()); in ConvertDeviceInfoSpecifics()
30 specifics->set_chrome_version(device_info.chrome_version()); in ConvertDeviceInfoSpecifics()
31 specifics->set_sync_user_agent(device_info.sync_user_agent()); in ConvertDeviceInfoSpecifics()
32 specifics->set_device_type(device_info.device_type()); in ConvertDeviceInfoSpecifics()
71 void WriteDeviceInfo(const DeviceInfo& device_info) { in WriteDeviceInfo() argument
73 ConvertDeviceInfoSpecifics(device_info, &specifics); in WriteDeviceInfo()
74 synced_device_tracker_->WriteDeviceInfo(specifics, device_info.guid()); in WriteDeviceInfo()
129 DeviceInfo device_info( in TEST_F() local
[all …]
Dsynced_device_tracker.cc98 ScopedVector<DeviceInfo>* device_info) const { in GetAllSyncedDeviceInfo()
99 if (device_info == NULL) in GetAllSyncedDeviceInfo()
102 device_info->clear(); in GetAllSyncedDeviceInfo()
126 device_info->push_back( in GetAllSyncedDeviceInfo()
/external/chromium_org/content/renderer/media/
Dmedia_stream_dispatcher.cc19 bool RemoveStreamDeviceFromArray(const StreamDeviceInfo device_info, in RemoveStreamDeviceFromArray() argument
23 if (StreamDeviceInfo::IsEqual(*device_it, device_info)) { in RemoveStreamDeviceFromArray()
107 const StreamDeviceInfo& device_info) { in StopStreamDevice() argument
109 << ", {device_id = " << device_info.device.id << "}"; in StopStreamDevice()
117 if (RemoveStreamDeviceFromArray(device_info, &audio_array) || in StopStreamDevice()
118 RemoveStreamDeviceFromArray(device_info, &video_array)) { in StopStreamDevice()
130 device_info.device.id)); in StopStreamDevice()
286 const StreamDeviceInfo& device_info) { in OnDeviceStopped() argument
290 << ", {device_id = " << device_info.device.id << "})"; in OnDeviceStopped()
299 if (IsAudioMediaType(device_info.device.type)) in OnDeviceStopped()
[all …]
Dmedia_stream_dependency_factory.cc307 source_data->device_info().device.type == MEDIA_TAB_VIDEO_CAPTURE || in CreateNativeMediaSources()
308 source_data->device_info().device.type == MEDIA_DESKTOP_VIDEO_CAPTURE; in CreateNativeMediaSources()
310 CreateLocalVideoSource(source_data->device_info().session_id, in CreateNativeMediaSources()
335 StreamDeviceInfo device_info = source_data->device_info(); in CreateNativeMediaSources() local
342 int effects = device_info.device.input.effects; in CreateNativeMediaSources()
362 device_info.device.input.effects = effects; in CreateNativeMediaSources()
366 MaybeCreateAudioCapturer(render_view_id, device_info)); in CreateNativeMediaSources()
369 << device_info.device.id; in CreateNativeMediaSources()
926 const StreamDeviceInfo& device_info) { in MaybeCreateAudioCapturer() argument
945 device_info.device.input.channel_layout), in MaybeCreateAudioCapturer()
[all …]
Dmock_media_stream_dispatcher.cc61 const StreamDeviceInfo& device_info) { in StopStreamDevice() argument
62 if (IsAudioMediaType(device_info.device.type)) { in StopStreamDevice()
66 if (IsVideoMediaType(device_info.device.type)) { in StopStreamDevice()
Dmedia_stream_dispatcher_eventhandler.h31 const StreamDeviceInfo& device_info) = 0;
42 const StreamDeviceInfo& device_info) = 0;
Dmedia_stream_dispatcher.h56 virtual void StopStreamDevice(const StreamDeviceInfo& device_info);
120 const StreamDeviceInfo& device_info);
128 const StreamDeviceInfo& device_info);
Dmedia_stream_source_extra_data.h25 MediaStreamSourceExtraData(const StreamDeviceInfo& device_info, in NON_EXPORTED_BASE()
31 const StreamDeviceInfo& device_info() const { in NON_EXPORTED_BASE()
/external/chromium_org/chrome/browser/storage_monitor/
Dstorage_monitor_linux_unittest.cc609 StorageInfo device_info; in TEST_F() local
610 EXPECT_TRUE(notifier()->GetStorageInfoForPath(test_path_a, &device_info)); in TEST_F()
611 EXPECT_EQ(GetDeviceId(kDeviceDCIM1), device_info.device_id()); in TEST_F()
612 EXPECT_EQ(test_path_a.value(), device_info.location()); in TEST_F()
613 EXPECT_EQ(base::string16(), device_info.name()); in TEST_F()
614 EXPECT_EQ(88788ULL, device_info.total_size_in_bytes()); in TEST_F()
615 EXPECT_EQ(ASCIIToUTF16("volume label"), device_info.storage_label()); in TEST_F()
616 EXPECT_EQ(ASCIIToUTF16("vendor name"), device_info.vendor_name()); in TEST_F()
617 EXPECT_EQ(ASCIIToUTF16("model name"), device_info.model_name()); in TEST_F()
619 EXPECT_TRUE(notifier()->GetStorageInfoForPath(test_path_b, &device_info)); in TEST_F()
[all …]
Dstorage_monitor_win_unittest.cc469 StorageInfo device_info; in TEST_F() local
472 &device_info)); in TEST_F()
476 &device_info)); in TEST_F()
480 EXPECT_TRUE(monitor_->GetStorageInfoForPath(removable_device, &device_info)); in TEST_F()
485 EXPECT_EQ(info.device_id(), device_info.device_id()); in TEST_F()
486 EXPECT_EQ(info.name(), device_info.name()); in TEST_F()
487 EXPECT_EQ(info.location(), device_info.location()); in TEST_F()
492 EXPECT_TRUE(monitor_->GetStorageInfoForPath(fixed_device, &device_info)); in TEST_F()
497 EXPECT_EQ(info.device_id(), device_info.device_id()); in TEST_F()
498 EXPECT_EQ(info.name(), device_info.name()); in TEST_F()
[all …]
Dstorage_monitor_win.cc63 StorageInfo* device_info) const { in GetStorageInfoForPath()
64 DCHECK(device_info); in GetStorageInfoForPath()
88 *device_info = attached_devices[best_parent]; in GetStorageInfoForPath()
92 return GetDeviceInfo(path, device_info); in GetStorageInfoForPath()
Dtest_storage_monitor.cc91 StorageInfo* device_info) const { in GetStorageInfoForPath()
92 DCHECK(device_info); in GetStorageInfoForPath()
99 *device_info = in GetStorageInfoForPath()
Dmedia_storage_util.cc137 StorageInfo* device_info, in GetDeviceInfoFromPath() argument
139 DCHECK(device_info); in GetDeviceInfoFromPath()
157 *device_info = info; in GetDeviceInfoFromPath()
178 *device_info = info; in GetDeviceInfoFromPath()
/external/chromium_org/device/bluetooth/
Dbluetooth_task_manager_win.cc58 void GetDeviceState(const BLUETOOTH_DEVICE_INFO& device_info, in GetDeviceState() argument
60 state->name = base::SysWideToUTF8(device_info.szName); in GetDeviceState()
62 device_info.Address.rgBytes[5], in GetDeviceState()
63 device_info.Address.rgBytes[4], in GetDeviceState()
64 device_info.Address.rgBytes[3], in GetDeviceState()
65 device_info.Address.rgBytes[2], in GetDeviceState()
66 device_info.Address.rgBytes[1], in GetDeviceState()
67 device_info.Address.rgBytes[0]); in GetDeviceState()
68 state->bluetooth_class = device_info.ulClassofDevice; in GetDeviceState()
70 state->connected = !!device_info.fConnected; in GetDeviceState()
[all …]
/external/chromium_org/chrome/browser/media_galleries/win/
Dmtp_device_delegate_impl_win.cc65 const MTPDeviceDelegateImplWin::StorageDeviceInfo& device_info, in GetFileObjectIdFromPathOnBlockingPoolThread() argument
71 device_info.registered_device_path); in GetFileObjectIdFromPathOnBlockingPoolThread()
75 if (device_info.registered_device_path == file_path.value()) in GetFileObjectIdFromPathOnBlockingPoolThread()
76 return device_info.storage_object_id; in GetFileObjectIdFromPathOnBlockingPoolThread()
79 if (!base::FilePath(device_info.registered_device_path).AppendRelativePath( in GetFileObjectIdFromPathOnBlockingPoolThread()
86 base::string16 parent_id(device_info.storage_object_id); in GetFileObjectIdFromPathOnBlockingPoolThread()
103 const MTPDeviceDelegateImplWin::StorageDeviceInfo& device_info, in CreateFileEnumeratorOnBlockingPoolThread() argument
106 DCHECK(!device_info.registered_device_path.empty()); in CreateFileEnumeratorOnBlockingPoolThread()
110 device_info.registered_device_path); in CreateFileEnumeratorOnBlockingPoolThread()
115 GetFileObjectIdFromPathOnBlockingPoolThread(device_info, root); in CreateFileEnumeratorOnBlockingPoolThread()
[all …]
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/
Dsigned_in_devices_api_unittest.cc155 DeviceInfo* CreateDeviceInfo(const DeviceInfo& device_info) { in CreateDeviceInfo() argument
156 return new DeviceInfo(device_info.guid(), in CreateDeviceInfo()
157 device_info.client_name(), in CreateDeviceInfo()
158 device_info.chrome_version(), in CreateDeviceInfo()
159 device_info.sync_user_agent(), in CreateDeviceInfo()
160 device_info.device_type()); in CreateDeviceInfo()
173 DeviceInfo* device_info) { in VerifyDictionaryWithDeviceInfo() argument
175 device_info->set_public_id(public_id); in VerifyDictionaryWithDeviceInfo()
177 scoped_ptr<base::DictionaryValue> expected_value(device_info->ToValue()); in VerifyDictionaryWithDeviceInfo()
Dsigned_in_devices_manager.cc36 void FillDeviceInfo(const DeviceInfo& device_info, in FillDeviceInfo() argument
38 api_device_info->id = device_info.public_id(); in FillDeviceInfo()
39 api_device_info->name = device_info.client_name(); in FillDeviceInfo()
41 device_info.GetOSString()); in FillDeviceInfo()
43 device_info.GetDeviceTypeString()); in FillDeviceInfo()
44 api_device_info->chrome_version = device_info.chrome_version(); in FillDeviceInfo()
Did_mapping_helper.cc71 std::vector<browser_sync::DeviceInfo*>* device_info, in CreateMappingForUnmappedDevices() argument
73 for (unsigned int i = 0; i < device_info->size(); ++i) { in CreateMappingForUnmappedDevices()
74 DeviceInfo* device = (*device_info)[i]; in CreateMappingForUnmappedDevices()
80 local_id = GetRandomId(*value, device_info->size()); in CreateMappingForUnmappedDevices()
/external/chromium_org/content/browser/renderer_host/media/
Dvideo_capture_manager.cc94 int VideoCaptureManager::Open(const StreamDeviceInfo& device_info) { in Open() argument
105 sessions_[capture_session_id] = device_info.device; in Open()
112 device_info.device.type, capture_session_id)); in Open()
427 DeviceInfo device_info(*it, media::VideoCaptureFormats()); in GetAvailableDevicesInfoOnDeviceThread() local
431 *it, &(device_info.supported_formats)); in GetAvailableDevicesInfoOnDeviceThread()
435 *it, &(device_info.supported_formats)); in GetAvailableDevicesInfoOnDeviceThread()
439 *it, &(device_info.supported_formats)); in GetAvailableDevicesInfoOnDeviceThread()
442 new_devices_info_cache.push_back(device_info); in GetAvailableDevicesInfoOnDeviceThread()
449 const MediaStreamDevice& device_info) { in GetDeviceEntryForMediaStreamDevice() argument
455 if (device_info.type == device->stream_type && in GetDeviceEntryForMediaStreamDevice()
[all …]
Dmedia_stream_manager.cc1448 StreamDeviceInfo device_info; in HandleAccessRequestResponse() local
1449 device_info.device = *device_it; in HandleAccessRequestResponse()
1453 if (device_info.device.type == content::MEDIA_TAB_VIDEO_CAPTURE || in HandleAccessRequestResponse()
1454 device_info.device.type == content::MEDIA_TAB_AUDIO_CAPTURE) { in HandleAccessRequestResponse()
1455 device_info.device.id = request->UIRequest()->tab_capture_device_id; in HandleAccessRequestResponse()
1460 if (device_info.device.type == content::MEDIA_TAB_AUDIO_CAPTURE) { in HandleAccessRequestResponse()
1469 device_info.device.input.sample_rate = sample_rate; in HandleAccessRequestResponse()
1470 device_info.device.input.channel_layout = media::CHANNEL_LAYOUT_STEREO; in HandleAccessRequestResponse()
1474 if (device_info.device.type == request->audio_type()) { in HandleAccessRequestResponse()
1476 } else if (device_info.device.type == request->video_type()) { in HandleAccessRequestResponse()
[all …]
/external/chromium_org/media/audio/win/
Daudio_manager_win.cc76 static base::string16 GetDeviceAndDriverInfo(HDEVINFO device_info, in GetDeviceAndDriverInfo() argument
82 SetupDiGetDeviceInstallParams(device_info, device_data, in GetDeviceAndDriverInfo()
86 SetupDiSetDeviceInstallParams(device_info, device_data, in GetDeviceAndDriverInfo()
92 if (SetupDiBuildDriverInfoList(device_info, device_data, in GetDeviceAndDriverInfo()
94 if (SetupDiEnumDriverInfo(device_info, device_data, SPDIT_COMPATDRIVER, 0, in GetDeviceAndDriverInfo()
103 SetupDiDestroyDriverInfoList(device_info, device_data, SPDIT_COMPATDRIVER); in GetDeviceAndDriverInfo()
106 SetupDiSetDeviceInstallParams(device_info, device_data, in GetDeviceAndDriverInfo()
204 HDEVINFO device_info = SetupDiGetClassDevs( in GetAudioInputDeviceModel() local
206 if (device_info == INVALID_HANDLE_VALUE) in GetAudioInputDeviceModel()
212 while (SetupDiEnumDeviceInterfaces(device_info, 0, &AM_KSCATEGORY_AUDIO, in GetAudioInputDeviceModel()
[all …]
/external/chromium_org/ui/gfx/
Dscreen_android.cc34 gfx::DeviceDisplayInfo device_info; in GetPrimaryDisplay() local
35 const float device_scale_factor = device_info.GetDIPScale(); in GetPrimaryDisplay()
38 device_info.GetDisplayWidth(), in GetPrimaryDisplay()
39 device_info.GetDisplayHeight()); in GetPrimaryDisplay()
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dfakewebrtcvcmfactory.h40 if (!device_info.GetDeviceById(device_id)) return NULL; in Create()
47 return &device_info; in CreateDeviceInfo()
54 FakeWebRtcDeviceInfo device_info; variable
/external/libnfc-nxp/src/
DphHciNfc_IDMgmt.c798 pHwRef->device_info.fw_version = p_identity_info->fw_version ; in phHciNfc_IDMgmt_InfoUpdate()
809 pHwRef->device_info.hw_version = p_identity_info->hw_version ; in phHciNfc_IDMgmt_InfoUpdate()
817 pHwRef->device_info.vendor_name[i]= reg_value[i]; in phHciNfc_IDMgmt_InfoUpdate()
826 pHwRef->device_info.model_id = p_identity_info->model_id ; in phHciNfc_IDMgmt_InfoUpdate()
828 if( NFC_HW_PN65N == pHwRef->device_info.model_id) in phHciNfc_IDMgmt_InfoUpdate()
839 pHwRef->device_info.hci_version = p_identity_info->hci_version ; in phHciNfc_IDMgmt_InfoUpdate()
857 pHwRef->device_info.full_version[i]= reg_value[i]; in phHciNfc_IDMgmt_InfoUpdate()

123