/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 | 98 Send(new VideoCaptureMsg_NewBuffer(controller_id.device_id, handle, 110 Send(new VideoCaptureMsg_FreeBuffer(controller_id.device_id, buffer_id)); 122 Send(new VideoCaptureMsg_BufferReady(controller_id.device_id, buffer_id, 133 Send(new VideoCaptureMsg_StateChanged(controller_id.device_id, 145 Send(new VideoCaptureMsg_StateChanged(controller_id.device_id, 166 void VideoCaptureHost::OnStartCapture(int device_id, 172 << ", device_id=" << device_id 177 VideoCaptureControllerID controller_id(device_id); 187 base::Bind(&VideoCaptureHost::OnControllerAdded, this, device_id)); [all...] |
/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_org/chrome/browser/storage_monitor/ |
storage_info.cc | 71 bool StorageInfo::CrackDeviceId(const std::string& device_id, 73 size_t prefix_length = device_id.find_first_of(':'); 75 ? device_id.substr(0, prefix_length + 1) 103 *unique_id = device_id.substr(prefix_length + 1); 108 bool StorageInfo::IsMediaDevice(const std::string& device_id) { 110 return CrackDeviceId(device_id, &type, NULL) && 116 bool StorageInfo::IsRemovableDevice(const std::string& device_id) { 118 return CrackDeviceId(device_id, &type, NULL) && 126 bool StorageInfo::IsMassStorageDevice(const std::string& device_id) { 128 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); 71 const std::string& device_id() const { return device_id_; } function in struct:StorageInfo [all...] |
transient_device_ids.cc | 19 const std::string& device_id) { 22 if (!ContainsKey(device_id_map_, device_id)) { 28 device_id_map_[device_id] = transient_id; 29 transient_id_map_[transient_id] = device_id; 32 return device_id_map_[device_id];
|
transient_device_ids.h | 24 // Returns the transient ID for a given |device_id|. 25 // |device_id| must be for a fixed or removable storage device. 26 // If |device_id| has never been seen before, a new, unique transient id will 28 std::string GetTransientIdForDeviceId(const std::string& device_id);
|
/external/chromium_org/content/common/media/ |
video_capture_messages.h | 23 // TODO(nick): device_id in these messages is basically just a route_id. We 52 // Start a video capture as |device_id|, a new id picked by the renderer 55 int /* device_id */, 59 // Pause the video capture specified by |device_id|. 61 int /* device_id */) 63 // Close the video capture specified by |device_id|. 65 int /* device_id */) 70 int /* device_id */,
|
/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/content/renderer/media/ |
video_capture_message_filter_unittest.cc | 37 virtual void OnDelegateAdded(int32 device_id) OVERRIDE { 38 ASSERT_TRUE(device_id != 0); 40 device_id_ = device_id; 43 int device_id() { return device_id_; } function in class:content::__anon8179::MockVideoCaptureDelegate 59 ASSERT_EQ(1, delegate.device_id()); 64 VideoCaptureMsg_StateChanged(delegate.device_id(), 77 delegate.device_id(), handle, 100, 1)); 90 delegate.device_id(), buffer_id, timestamp, format)); 99 delegate.device_id(), buffer_id)); 115 ASSERT_EQ(1, delegate1.device_id()); [all...] |
video_capture_message_filter.cc | 92 int device_id) const { 93 Delegates::const_iterator i = delegates_.find(device_id); 98 int device_id, 102 Delegate* delegate = find_delegate(device_id); 110 Send(new VideoCaptureHostMsg_BufferReady(device_id, buffer_id)); 118 int device_id, 122 Delegate* delegate = find_delegate(device_id); 129 Send(new VideoCaptureHostMsg_BufferReady(device_id, buffer_id)); 137 int device_id, 139 Delegate* delegate = find_delegate(device_id); [all...] |
/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/media/audio/cras/ |
audio_manager_cras.h | 29 const std::string& device_id) OVERRIDE; 36 const std::string& device_id, 39 const AudioParameters& params, const std::string& device_id) OVERRIDE; 41 const AudioParameters& params, const std::string& device_id) OVERRIDE; 56 const std::string& device_id);
|
/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/policy/ |
user_policy_token_loader.cc | 44 std::string device_id; local 52 device_id = device_credentials.device_id(); 68 device_id)); 72 const std::string& device_id) { 75 delegate_->OnTokenLoaded(token, device_id);
|
/external/chromium_org/chrome/browser/media_galleries/ |
media_galleries_preferences_unittest.cc | 190 EXPECT_EQ(in_expectation->second.device_id, actual.device_id); 204 std::string device_id, 209 expected_galleries_[id].device_id = device_id; 216 expected_device_map[device_id].insert(id); 219 MediaGalleryPrefId AddGalleryWithNameV0(const std::string& device_id, 224 device_id, display_name, relative_path, user_added, 229 MediaGalleryPrefId AddGalleryWithNameV1(const std::string& device_id, 234 device_id, display_name, relative_path, user_added 700 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(new base::StringValue(device_id));
|
/external/chromium_org/media/audio/ |
fake_audio_manager.h | 29 const std::string& device_id, 32 const std::string& device_id) 36 const std::string& device_id) OVERRIDE; 38 const std::string& device_id) OVERRIDE;
|
/external/chromium_org/media/audio/openbsd/ |
audio_manager_openbsd.h | 23 const std::string& device_id) OVERRIDE; 30 const std::string& device_id, 33 const AudioParameters& params, const std::string& device_id) OVERRIDE; 35 const AudioParameters& params, const std::string& device_id) OVERRIDE;
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
gpu_device_unittest.py | 12 self.assertEquals(device.device_id, 2000) 18 'device_id': 4000, 23 self.assertEquals(device.device_id, 4000) 30 'device_id': 2,
|
/external/chromium_org/media/audio/android/ |
audio_manager_android.h | 32 const std::string& device_id) OVERRIDE; 36 const std::string& device_id, 40 const std::string& device_id) OVERRIDE; 49 const std::string& device_id, 53 const std::string& device_id) OVERRIDE; 56 const std::string& device_id) OVERRIDE; 73 void SetAudioDevice(const std::string& device_id);
|
/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...] |