/external/chromium_org/content/browser/renderer_host/media/ |
web_contents_capture_util.cc | 21 const std::string& device_id) { 22 return kVirtualDeviceScheme + device_id; 26 const std::string& device_id) { 27 return (IsWebContentsDeviceId(device_id) ? 28 device_id.substr(arraysize(kVirtualDeviceScheme) - 1) : 29 device_id); 33 const std::string& device_id) { 34 return StartsWithASCII(device_id, kVirtualDeviceScheme, true); 44 const std::string device_id = device_id_param.substr( local 47 const size_t sep_pos = device_id.find(':') [all...] |
video_capture_controller_event_handler.cc | 10 : device_id(did) { 15 return this->device_id < vc.device_id; 20 return this->device_id == vc.device_id;
|
video_capture_host.cc | 122 Send(new VideoCaptureMsg_NewBuffer(controller_id.device_id, handle, 134 Send(new VideoCaptureMsg_BufferReady(controller_id.device_id, buffer_id, 145 Send(new VideoCaptureMsg_StateChanged(controller_id.device_id, 157 Send(new VideoCaptureMsg_StateChanged(controller_id.device_id, 175 Send(new VideoCaptureMsg_DeviceInfo(controller_id.device_id, params)); 176 Send(new VideoCaptureMsg_StateChanged(controller_id.device_id, 194 Send(new VideoCaptureMsg_DeviceInfoChanged(controller_id.device_id, params)); 213 void VideoCaptureHost::OnStartCapture(int device_id, 216 DVLOG(1) << "VideoCaptureHost::OnStartCapture, device_id " << device_id [all...] |
video_capture_host.h | 93 // VideoCaptureParams::session_id. |device_id| is an id created by 96 void OnStartCapture(int device_id, 99 int device_id, const media::VideoCaptureParams& params, 102 int device_id, const media::VideoCaptureParams params, 105 // IPC message: Stop capture on device referenced by |device_id|. 106 void OnStopCapture(int device_id); 108 // IPC message: Pause capture on device referenced by |device_id|. 109 void OnPauseCapture(int device_id); 112 // referenced by |device_id|. 113 void OnReceiveEmptyBuffer(int device_id, int buffer_id) [all...] |
/external/chromium_org/content/common/media/ |
video_capture_messages.h | 39 int /* device_id */, 45 int /* device_id */, 48 // Start the video capture specified by |device_id|. 50 int /* device_id */, 53 // Pause the video capture specified by |device_id|. 55 int /* device_id */) 57 // Close the video capture specified by |device_id|. 59 int /* device_id */) 62 // device |device_id| to fill up. 64 int /* device_id */, [all...] |
/external/chromium_org/gpu/config/ |
gpu_info_collector_ozone.cc | 15 GpuIDResult CollectGpuID(uint32* vendor_id, uint32* device_id) { 16 DCHECK(vendor_id && device_id); 18 *device_id = 0;
|
/external/chromium_org/chrome/browser/chromeos/ |
device_hierarchy_observer.h | 17 virtual void DeviceAdded(int device_id) = 0; 18 virtual void DeviceRemoved(int device_id) = 0; 21 // pressed. |device_id| is the source of the key event which will be sent to 23 virtual void DeviceKeyPressedOrReleased(int device_id) = 0;
|
/external/chromium/chrome/browser/policy/ |
mock_device_management_service.cc | 17 const std::string& device_id, 20 backend_->ProcessRegisterRequest(auth_token, device_id, request, delegate); 25 const std::string& device_id, 28 backend_->ProcessUnregisterRequest(device_management_token, device_id, 33 const std::string& device_id, 36 backend_->ProcessPolicyRequest(device_management_token, device_id,
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
fakewebrtcdeviceinfo.h | 45 void AddDevice(const std::string& device_name, const std::string& device_id) { 46 devices_.push_back(Device(device_name, device_id)); 48 void AddCapability(const std::string& device_id, 51 reinterpret_cast<const char*>(device_id.c_str())); 61 char* device_id, 69 talk_base::strcpyn(reinterpret_cast<char*>(device_id), device_id_len, 77 virtual int32_t NumberOfCapabilities(const char* device_id) { 78 Device* dev = GetDeviceById(device_id); 82 virtual int32_t GetCapability(const char* device_id, 85 Device* dev = GetDeviceById(device_id); [all...] |
/external/chromium_org/chrome/browser/storage_monitor/ |
storage_info.cc | 70 bool StorageInfo::CrackDeviceId(const std::string& device_id, 72 size_t prefix_length = device_id.find_first_of(':'); 74 ? device_id.substr(0, prefix_length + 1) 100 *unique_id = device_id.substr(prefix_length + 1); 105 bool StorageInfo::IsMediaDevice(const std::string& device_id) { 107 return CrackDeviceId(device_id, &type, NULL) && 113 bool StorageInfo::IsRemovableDevice(const std::string& device_id) { 115 return CrackDeviceId(device_id, &type, NULL) && 123 bool StorageInfo::IsMassStorageDevice(const std::string& device_id) { 125 return CrackDeviceId(device_id, &type, NULL) & [all...] |
storage_info.h | 48 // Extracts the device |type| and |unique_id| from |device_id|. Returns false 49 // if the device_id isn't properly formatted. 50 static bool CrackDeviceId(const std::string& device_id, 53 // Looks inside |device_id| to determine if it is a media device 55 static bool IsMediaDevice(const std::string& device_id); 57 // Looks inside |device_id| to determine if it is a media device 59 static bool IsRemovableDevice(const std::string& device_id); 61 // Looks inside |device_id| to determine if it is a mass storage device 63 static bool IsMassStorageDevice(const std::string& device_id); 65 static bool IsITunesDevice(const std::string& device_id); 69 const std::string& device_id() const { return device_id_; } function in struct:chrome::StorageInfo [all...] |
transient_device_ids.cc | 21 const std::string& device_id) { 24 if (!ContainsKey(device_id_map_, device_id)) { 30 device_id_map_[device_id] = transient_id; 31 transient_id_map_[transient_id] = device_id; 34 return device_id_map_[device_id];
|
transient_device_ids.h | 26 // Returns the transient ID for a given |device_id|. 27 // |device_id| must be for a fixed or removable storage device. 28 // If |device_id| has never been seen before, a new, unique transient id will 30 std::string GetTransientIdForDeviceId(const std::string& device_id);
|
storage_monitor_mac_unittest.mm | 29 const std::string& device_id, 34 device_id, string16(), mount_point.value(), 97 EXPECT_EQ(device_id_, mock_storage_observer_->last_attached().device_id()); 106 EXPECT_EQ(device_id_, mock_storage_observer_->last_detached().device_id()); 114 EXPECT_EQ(device_id_, mock_storage_observer_->last_attached().device_id()); 127 EXPECT_EQ(device_id_, mock_storage_observer_->last_detached().device_id()); 129 EXPECT_EQ(device_id_, mock_storage_observer_->last_attached().device_id()); 144 std::string device_id = StorageInfo::MakeDeviceId( 146 StorageInfo info = CreateStorageInfo(device_id, "", mount_point, kTestSize); 152 EXPECT_EQ(device_id, mock_storage_observer_->last_attached().device_id()) [all...] |
/external/chromium_org/content/renderer/media/ |
video_capture_message_filter.cc | 94 int device_id) const { 95 Delegates::const_iterator i = delegates_.find(device_id); 100 int device_id, 104 Delegate* delegate = find_delegate(device_id); 112 Send(new VideoCaptureHostMsg_BufferReady(device_id, buffer_id)); 120 int device_id, 123 Delegate* delegate = find_delegate(device_id); 130 Send(new VideoCaptureHostMsg_BufferReady(device_id, buffer_id)); 138 int device_id, 140 Delegate* delegate = find_delegate(device_id); [all...] |
/external/chromium_org/chrome/browser/media_galleries/ |
media_galleries_preferences_unittest.cc | 163 EXPECT_EQ(in_expectation->second.device_id, actual.device_id); 177 std::string device_id, 182 expected_galleries_[id].device_id = device_id; 189 expected_device_map[device_id].insert(id); 192 MediaGalleryPrefId AddGalleryWithNameV0(const std::string& device_id, 197 device_id, display_name, relative_path, user_added, 201 MediaGalleryPrefId AddGalleryWithNameV1(const std::string& device_id, 206 device_id, display_name, relative_path, user_added 668 std::string device_id = "path:device1"; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/i915/sw/ |
i915_sw_winsys.c | 13 i915_sw_get_device_id(unsigned int *device_id) 16 *device_id = 0x27A2;
|
/external/mesa3d/src/gallium/winsys/i915/sw/ |
i915_sw_winsys.c | 13 i915_sw_get_device_id(unsigned int *device_id) 16 *device_id = 0x27A2;
|
/external/chromium_org/chrome/browser/extensions/api/music_manager_private/ |
music_manager_private_api.cc | 7 #include "chrome/browser/extensions/api/music_manager_private/device_id.h" 40 const std::string& device_id) { 43 if (device_id.empty()) { 47 SetResult(Value::CreateStringValue(device_id));
|
/external/chromium_org/media/audio/android/ |
audio_manager_android.h | 24 const std::string& device_id) OVERRIDE; 30 const AudioParameters& params, const std::string& device_id) OVERRIDE; 41 const AudioParameters& params, const std::string& device_id) OVERRIDE; 43 const AudioParameters& params, const std::string& device_id) OVERRIDE;
|
/external/chromium_org/media/audio/cras/ |
audio_manager_cras.h | 31 const std::string& device_id) OVERRIDE; 40 const AudioParameters& params, const std::string& device_id) OVERRIDE; 42 const AudioParameters& params, const std::string& device_id) OVERRIDE; 59 const std::string& device_id);
|
/external/chromium_org/media/audio/ios/ |
audio_manager_ios.h | 27 const AudioParameters& params, const std::string& device_id) OVERRIDE; 29 const std::string& device_id) OVERRIDE; 38 const AudioParameters& params, const std::string& device_id) OVERRIDE; 40 const AudioParameters& params, const std::string& device_id) OVERRIDE;
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
cloud_print_xmpp_listener.cc | 24 // Splits message into two parts (e.g. '<device_id>/delete' will be splitted 25 // into '<device_id>' and '/delete'). 26 void TokenizeXmppMessage(const std::string& message, std::string* device_id, 30 *device_id = message.substr(0, pos); 33 *device_id = message; 109 std::string device_id; local 111 TokenizeXmppMessage(notification.data, &device_id, &path); 114 delegate_->OnXmppNewPrintJob(device_id); 116 delegate_->OnXmppNewLocalSettings(device_id); 118 delegate_->OnXmppDeleteNotification(device_id); [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
user_policy_token_loader.cc | 59 std::string device_id; local 67 device_id = device_credentials.device_id(); 79 device_id)); 83 const std::string& device_id) { 86 delegate_->OnTokenLoaded(token, device_id);
|
/external/chromium_org/build/android/ |
adb_logcat_monitor.py | 28 # Map from device_id -> (process, logcat_num) 42 def StartLogcatIfNecessary(device_id, adb_cmd, base_dir): 44 process, logcat_num = devices[device_id] 50 logging.info('Logcat for device %s has died', device_id) 54 logging.error(device_id + ': ' + line) 57 device_id) 58 logcat_filename = 'logcat_%s_%03d' % (device_id, logcat_num) 60 process = subprocess.Popen([adb_cmd, '-s', device_id, 64 devices[device_id] = (process, logcat_num + 1) 127 for device_id in GetAttachedDevices(adb_cmd) [all...] |