Home
last modified time | relevance | path

Searched refs:device_id_ (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium_org/components/storage_monitor/
Dstorage_monitor_mac_unittest.mm52 device_id_ = StorageInfo::MakeDeviceId(
54 disk_info_ = CreateStorageInfo(device_id_, "",
74 std::string device_id_;
85 EXPECT_EQ(device_id_, mock_storage_observer_->last_attached().device_id());
93 EXPECT_EQ(device_id_, mock_storage_observer_->last_detached().device_id());
101 EXPECT_EQ(device_id_, mock_storage_observer_->last_attached().device_id());
108 device_id_, "", mount_point_, kTestSize * 2);
113 EXPECT_EQ(device_id_, mock_storage_observer_->last_detached().device_id());
115 EXPECT_EQ(device_id_, mock_storage_observer_->last_attached().device_id());
147 EXPECT_EQ(device_id_, mock_storage_observer_->last_attached().device_id());
[all …]
Dstorage_info.h82 const std::string& device_id() const { return device_id_; } in device_id()
89 void set_device_id(const std::string& device_id) { device_id_ = device_id; } in set_device_id()
99 std::string device_id_;
/external/chromium_org/content/renderer/media/
Dvideo_capture_impl.cc49 device_id_(0), in VideoCaptureImpl()
70 Send(new VideoCaptureHostMsg_Stop(device_id_)); in DeInit()
77 static_cast<IPC::Message*>(new VideoCaptureHostMsg_Pause(device_id_)) : in SuspendCapture()
79 new VideoCaptureHostMsg_Resume(device_id_, session_id_, params_))); in SuspendCapture()
99 } else if (!device_id_) { in StartCapture()
159 Send(new VideoCaptureHostMsg_GetDeviceSupportedFormats(device_id_, in GetDeviceSupportedFormats()
169 new VideoCaptureHostMsg_GetDeviceFormatsInUse(device_id_, session_id_)); in GetDeviceFormatsInUse()
220 Send(new VideoCaptureHostMsg_BufferReady(device_id_, buffer_id, 0)); in OnBufferReceived()
271 Send(new VideoCaptureHostMsg_BufferReady(device_id_, buffer_id, 0)); in OnMailboxBufferReceived()
304 device_id_, buffer_id, release_sync_point)); in OnClientBufferFinished()
[all …]
Dvideo_capture_message_filter_unittest.cc25 MockVideoCaptureDelegate() : device_id_(0) {} in MockVideoCaptureDelegate()
50 ASSERT_TRUE(device_id_ == 0); in OnDelegateAdded()
51 device_id_ = device_id; in OnDelegateAdded()
54 int device_id() { return device_id_; } in device_id()
57 int device_id_; member in content::__anonbe12fd870111::MockVideoCaptureDelegate
/external/chromium_org/chrome/browser/extensions/api/dial/
Ddial_device_data.h35 return device_id_ == other_data.device_id_;
38 const std::string& device_id() const { return device_id_; } in device_id()
40 device_id_ = id; in set_device_id()
77 std::string device_id_;
Ddial_device_data.cc16 : device_id_(device_id), device_description_url_(device_description_url), in DialDeviceData()
36 DCHECK(new_data.device_id() == device_id_); in UpdateFrom()
48 DCHECK(!device_id_.empty()); in FillDialDevice()
/external/chromium_org/device/hid/
Dhid_connection_unittest.cc85 device_id_ = kInvalidHidDeviceId; in SetUp()
95 ASSERT_NE(device_id_, kInvalidHidDeviceId); in SetUp()
106 device_id_ = it->device_id; in FindDevice()
111 if (device_id_ == kInvalidHidDeviceId && --retries > 0) { in FindDevice()
125 HidDeviceId device_id_; member in device::HidConnectionTest
131 scoped_refptr<HidConnection> conn = service_->Connect(device_id_); in TEST_F()
/external/chromium_org/media/audio/win/
Daudio_low_latency_input_win.cc50 device_id_(device_id), in WASAPIAudioInputStream()
526 if (endpoint_device_ && device_id_ != AudioManagerBase::kDefaultDeviceId) { in SetCaptureDevice()
529 if (device_id_ != in SetCaptureDevice()
544 if (device_id_ == AudioManagerBase::kDefaultDeviceId) { in SetCaptureDevice()
550 } else if (device_id_ == AudioManagerBase::kLoopbackInputDeviceId) { in SetCaptureDevice()
555 hr = enumerator->GetDevice(base::UTF8ToUTF16(device_id_).c_str(), in SetCaptureDevice()
652 if (device_id_ == AudioManagerBase::kLoopbackInputDeviceId) { in InitializeAudioEngine()
728 if (device_id_ == AudioManagerBase::kLoopbackInputDeviceId) { in InitializeAudioEngine()
Daudio_low_latency_output_win.cc67 device_id_(device_id), in WASAPIAudioOutputStream()
143 if (device_id_.empty() || in Open()
144 CoreAudioUtil::DeviceIsDefault(eRender, device_role_, device_id_)) { in Open()
148 ScopedComPtr<IMMDevice> device(CoreAudioUtil::CreateDevice(device_id_)); in Open()
149 DLOG_IF(ERROR, !device) << "Failed to open device: " << device_id_; in Open()
Dwavein_input_win.cc30 device_id_(device_id), in PCMWaveInAudioInputStream()
249 if (device_id_ == AudioManagerBase::kDefaultDeviceId) { in GetDeviceId()
269 if (it->unique_id.compare(device_id_) == 0) { in GetDeviceId()
/external/chromium_org/chrome/browser/prefs/
Dpref_hash_calculator.cc98 device_id_(device_id), in PrefHashCalculator()
106 GetMessage(device_id_, path, ValueAsString(value))); in Calculate()
114 if (VerifyDigestString(seed_, GetMessage(device_id_, path, value_as_string), in Validate()
Dprofile_pref_store_manager.cc46 device_id_(device_id), in ProfilePrefStoreManager()
210 new PrefHashStoreImpl(seed_, device_id_, true)); in CreateDeprecatedCombinedProfilePrefStore()
233 device_id_, in GetPrefHashStore()
Dpref_hash_calculator.h46 const std::string device_id_; variable
/external/chromium_org/media/audio/
Daudio_output_dispatcher.h68 const std::string& device_id() const { return device_id_; } in device_id()
79 std::string device_id_; variable
Daudio_output_dispatcher_impl.cc136 params_, device_id_); in CreateAndOpenStream()
148 stream_id, params_, device_id_); in CreateAndOpenStream()
Daudio_output_dispatcher.cc18 device_id_(device_id) { in AudioOutputDispatcher()
/external/chromium_org/chrome/browser/supervised_user/
Dsupervised_user_refresh_token_fetcher_unittest.cc120 std::string device_id_; member in SupervisedUserRefreshTokenFetcherTest
137 device_id_ = device_id; in StartFetchingWithDeviceId()
142 device_id_, in StartFetchingWithDeviceId()
173 EXPECT_EQ(!device_id_.empty(), in GetIssueTokenRequest()
175 EXPECT_EQ(device_id_, device_id); in GetIssueTokenRequest()
Dsupervised_user_refresh_token_fetcher.cc100 std::string device_id_; member in __anon99553de30111::SupervisedUserRefreshTokenFetcherImpl
122 device_id_(device_id), in SupervisedUserRefreshTokenFetcherImpl()
175 if (!device_id_.empty()) { in OnGetTokenSuccess()
178 net::EscapeUrlEncodedData(device_id_, true).c_str())); in OnGetTokenSuccess()
/external/chromium_org/components/copresence/rpc/
Drpc_handler.cc175 DCHECK(device_id_.empty()); in Initialize()
200 DCHECK(!device_id_.empty()) in SendReportRequest()
281 device_id_ = response.registered_device_id(); in RegisterResponseHandler()
282 DCHECK(!device_id_.empty()); in RegisterResponseHandler()
283 DVLOG(2) << "Device registration successful: id " << device_id_; in RegisterResponseHandler()
440 header->set_registered_device_id(device_id_); in CreateRequestHeader()
Drpc_handler_unittest.cc77 rpc_handler_.device_id_ = "Device ID"; in RpcHandlerTest()
111 rpc_handler_.device_id_ = device_id; in SetDeviceId()
115 return rpc_handler_.device_id_; in GetDeviceId()
/external/chromium_org/chrome/browser/chromeos/policy/
Dauto_enrollment_client.h106 std::string device_id() const { return device_id_; } in device_id()
184 std::string device_id_; variable
Dauto_enrollment_client.cc99 device_id_(base::GenerateGUID()), in AutoEnrollmentClient()
271 request_job_->SetClientID(device_id_); in SendBucketDownloadRequest()
290 request_job_->SetClientID(device_id_); in SendDeviceStateRequest()
/external/chromium_org/media/audio/pulse/
Dpulse_output.cc45 device_id_(device_id), in PulseAudioOutputStream()
67 params_, device_id_, &StreamNotifyCallback, in Open()
/external/chromium_org/chrome/browser/extensions/api/media_galleries/
Dmedia_galleries_apitest.cc175 device_id_ = StorageInfo::MakeDeviceId( in AttachFakeDevice()
179 StorageInfo(device_id_, kDevicePath, base::ASCIIToUTF16(kDeviceName), in AttachFakeDevice()
185 StorageMonitor::GetInstance()->receiver()->ProcessDetach(device_id_); in DetachFakeDevice()
431 std::string device_id_; member in MediaGalleriesPlatformAppBrowserTest
/external/chromium_org/content/renderer/pepper/
Dpepper_platform_video_capture.h53 const std::string device_id_; variable

12