/external/chromium_org/media/audio/ |
D | audio_manager_unittest.cc | 83 static void CheckDeviceNames(const AudioDeviceNames& device_names) { in CheckDeviceNames() argument 84 VLOG(2) << "Got " << device_names.size() << " audio devices."; in CheckDeviceNames() 85 if (!device_names.empty()) { in CheckDeviceNames() 86 AudioDeviceNames::const_iterator it = device_names.begin(); in CheckDeviceNames() 96 while (it != device_names.end()) { in CheckDeviceNames() 170 AudioDeviceNames device_names; in TEST_F() local 174 &device_names)); in TEST_F() 175 CheckDeviceNames(device_names); in TEST_F() 183 AudioDeviceNames device_names; in TEST_F() local 187 &device_names)); in TEST_F() [all …]
|
D | audio_input_volume_unittest.cc | 113 AudioDeviceNames device_names; in TEST_F() local 114 audio_manager_->GetAudioInputDeviceNames(&device_names); in TEST_F() 115 if (device_names.empty()) { in TEST_F() 121 for (AudioDeviceNames::const_iterator it = device_names.begin(); in TEST_F() 122 it != device_names.end(); in TEST_F()
|
/external/chromium_org/media/audio/win/ |
D | device_enumeration_win.cc | 29 AudioDeviceNames* device_names) { in GetDeviceNamesWinImpl() argument 91 device_names->push_back(device); in GetDeviceNamesWinImpl() 105 static bool GetDeviceNamesWinXPImpl(AudioDeviceNames* device_names) { in GetDeviceNamesWinXPImpl() argument 134 device_names->push_back(device); in GetDeviceNamesWinXPImpl() 140 bool GetInputDeviceNamesWin(AudioDeviceNames* device_names) { in GetInputDeviceNamesWin() argument 141 return GetDeviceNamesWinImpl(eCapture, device_names); in GetInputDeviceNamesWin() 144 bool GetOutputDeviceNamesWin(AudioDeviceNames* device_names) { in GetOutputDeviceNamesWin() argument 145 return GetDeviceNamesWinImpl(eRender, device_names); in GetOutputDeviceNamesWin() 148 bool GetInputDeviceNamesWinXP(AudioDeviceNames* device_names) { in GetInputDeviceNamesWinXP() argument 150 waveInGetNumDevs, WAVEINCAPSW, waveInGetDevCapsW>(device_names); in GetInputDeviceNamesWinXP() [all …]
|
D | device_enumeration_win.h | 21 bool GetInputDeviceNamesWin(media::AudioDeviceNames* device_names); 22 bool GetOutputDeviceNamesWin(media::AudioDeviceNames* device_names); 30 bool GetInputDeviceNamesWinXP(media::AudioDeviceNames* device_names); 31 bool GetOutputDeviceNamesWinXP(media::AudioDeviceNames* device_names);
|
D | audio_manager_win.cc | 267 AudioDeviceNames* device_names) { in GetAudioDeviceNamesImpl() argument 268 DCHECK(device_names->empty()); in GetAudioDeviceNamesImpl() 273 GetInputDeviceNamesWinXP(device_names); in GetAudioDeviceNamesImpl() 275 GetOutputDeviceNamesWinXP(device_names); in GetAudioDeviceNamesImpl() 279 GetInputDeviceNamesWin(device_names); in GetAudioDeviceNamesImpl() 281 GetOutputDeviceNamesWin(device_names); in GetAudioDeviceNamesImpl() 285 if (!device_names->empty()) { in GetAudioDeviceNamesImpl() 289 device_names->push_front(name); in GetAudioDeviceNamesImpl() 293 void AudioManagerWin::GetAudioInputDeviceNames(AudioDeviceNames* device_names) { in GetAudioInputDeviceNames() argument 294 GetAudioDeviceNamesImpl(true, device_names); in GetAudioInputDeviceNames() [all …]
|
D | audio_manager_win.h | 29 AudioDeviceNames* device_names) OVERRIDE; 31 AudioDeviceNames* device_names) OVERRIDE; 89 void GetAudioDeviceNamesImpl(bool input, AudioDeviceNames* device_names);
|
D | wavein_input_win.cc | 255 AudioDeviceNames device_names; in GetDeviceId() local 256 if (!media::GetInputDeviceNamesWinXP(&device_names)) in GetDeviceId() 259 if (device_names.empty()) in GetDeviceId() 267 AudioDeviceNames::const_iterator it = device_names.begin(); in GetDeviceId() 268 while (it != device_names.end()) { in GetDeviceId()
|
/external/chromium_org/media/video/capture/mac/ |
D | video_capture_device_factory_mac.mm | 37 scoped_ptr<VideoCaptureDevice::Names> device_names( 53 device_names->push_back(name); 55 return device_names.Pass(); 61 scoped_ptr<media::VideoCaptureDevice::Names> device_names) { 62 callback.Run(device_names.Pass()); 88 scoped_ptr<VideoCaptureDevice::Names> device_names( 90 GetDeviceNames(device_names.get()); 92 VideoCaptureDevice::Names::iterator it = device_names->begin(); 93 for (; it != device_names->end(); ++it) { 97 if (it == device_names->end()) [all …]
|
/external/chromium_org/media/audio/alsa/ |
D | audio_manager_alsa.cc | 99 AudioDeviceNames* device_names) { in GetAudioInputDeviceNames() argument 100 DCHECK(device_names->empty()); in GetAudioInputDeviceNames() 101 GetAlsaAudioDevices(kStreamCapture, device_names); in GetAudioInputDeviceNames() 105 AudioDeviceNames* device_names) { in GetAudioOutputDeviceNames() argument 106 DCHECK(device_names->empty()); in GetAudioOutputDeviceNames() 107 GetAlsaAudioDevices(kStreamPlayback, device_names); in GetAudioOutputDeviceNames() 121 media::AudioDeviceNames* device_names) { in GetAlsaAudioDevices() argument 131 GetAlsaDevicesInfo(type, hints, device_names); in GetAlsaAudioDevices() 145 media::AudioDeviceNames* device_names) { in GetAlsaDevicesInfo() argument 165 if (device_names->empty()) { in GetAlsaDevicesInfo() [all …]
|
D | audio_manager_alsa.h | 29 AudioDeviceNames* device_names) OVERRIDE; 31 AudioDeviceNames* device_names) OVERRIDE; 61 media::AudioDeviceNames* device_names); 67 media::AudioDeviceNames* device_names);
|
/external/chromium_org/media/audio/cras/ |
D | audio_manager_cras.cc | 25 static void AddDefaultDevice(AudioDeviceNames* device_names) { in AddDefaultDevice() argument 26 DCHECK(device_names->empty()); in AddDefaultDevice() 29 device_names->push_back( in AddDefaultDevice() 70 AudioDeviceNames* device_names) { in GetAudioInputDeviceNames() argument 71 AddDefaultDevice(device_names); in GetAudioInputDeviceNames() 75 AudioDeviceNames* device_names) { in GetAudioOutputDeviceNames() argument 76 AddDefaultDevice(device_names); in GetAudioOutputDeviceNames()
|
/external/chromium_org/media/video/capture/ |
D | file_video_capture_device_factory.cc | 40 VideoCaptureDevice::Names* const device_names) { in GetDeviceNames() argument 42 DCHECK(device_names->empty()); in GetDeviceNames() 45 device_names->push_back(VideoCaptureDevice::Name( in GetDeviceNames() 49 device_names->push_back(VideoCaptureDevice::Name( in GetDeviceNames() 54 device_names->push_back(VideoCaptureDevice::Name( in GetDeviceNames()
|
D | video_capture_device_factory.cc | 70 scoped_ptr<VideoCaptureDevice::Names> device_names( in EnumerateDeviceNames() local 72 GetDeviceNames(device_names.get()); in EnumerateDeviceNames() 73 callback.Run(device_names.Pass()); in EnumerateDeviceNames()
|
D | fake_video_capture_device_factory.cc | 28 VideoCaptureDevice::Names* const device_names) { in GetDeviceNames() argument 30 DCHECK(device_names->empty()); in GetDeviceNames() 40 device_names->push_back(name); in GetDeviceNames()
|
/external/chromium_org/media/audio/pulse/ |
D | audio_manager_pulse.cc | 97 bool input, media::AudioDeviceNames* device_names) { in GetAudioDeviceNames() argument 98 DCHECK(device_names->empty()); in GetAudioDeviceNames() 102 devices_ = device_names; in GetAudioDeviceNames() 114 if (!device_names->empty()) { in GetAudioDeviceNames() 115 device_names->push_front( in GetAudioDeviceNames() 122 AudioDeviceNames* device_names) { in GetAudioInputDeviceNames() argument 123 GetAudioDeviceNames(true, device_names); in GetAudioInputDeviceNames() 127 AudioDeviceNames* device_names) { in GetAudioOutputDeviceNames() argument 128 GetAudioDeviceNames(false, device_names); in GetAudioOutputDeviceNames()
|
D | audio_manager_pulse.h | 29 AudioDeviceNames* device_names) OVERRIDE; 31 AudioDeviceNames* device_names) OVERRIDE; 55 void GetAudioDeviceNames(bool input, media::AudioDeviceNames* device_names);
|
/external/chromium_org/content/browser/renderer_host/media/ |
D | audio_input_device_manager.cc | 163 media::AudioDeviceNames device_names; in EnumerateOnDeviceThread() local 166 GetFakeDeviceNames(&device_names); in EnumerateOnDeviceThread() 171 audio_manager_->GetAudioInputDeviceNames(&device_names); in EnumerateOnDeviceThread() 175 for (media::AudioDeviceNames::iterator it = device_names.begin(); in EnumerateOnDeviceThread() 176 it != device_names.end(); ++it) { in EnumerateOnDeviceThread() 284 media::AudioDeviceNames* device_names) { in GetFakeDeviceNames() argument 289 DCHECK(device_names->empty()); in GetFakeDeviceNames() 291 device_names->push_back(media::AudioDeviceName(kFakeDeviceName1, in GetFakeDeviceNames() 293 device_names->push_back(media::AudioDeviceName(kFakeDeviceName2, in GetFakeDeviceNames()
|
D | media_stream_manager_unittest.cc | 61 media::AudioDeviceNames* device_names) OVERRIDE { in GetAudioInputDeviceNames() argument 62 DCHECK(device_names->empty()); in GetAudioInputDeviceNames() 64 AudioManagerBase::GetAudioInputDeviceNames(device_names); in GetAudioInputDeviceNames() 66 device_names->push_back(media::AudioDeviceName("fake_device_name", in GetAudioInputDeviceNames()
|
/external/chromium_org/media/audio/android/ |
D | audio_manager_android.cc | 31 static void AddDefaultDevice(AudioDeviceNames* device_names) { in AddDefaultDevice() argument 32 DCHECK(device_names->empty()); in AddDefaultDevice() 33 device_names->push_front( in AddDefaultDevice() 81 AudioDeviceNames* device_names) { in GetAudioInputDeviceNames() argument 85 DCHECK(device_names->empty()); in GetAudioInputDeviceNames() 86 AddDefaultDevice(device_names); in GetAudioInputDeviceNames() 109 device_names->push_back(device); in GetAudioInputDeviceNames() 114 AudioDeviceNames* device_names) { in GetAudioOutputDeviceNames() argument 116 AddDefaultDevice(device_names); in GetAudioOutputDeviceNames()
|
/external/chromium_org/media/video/capture/win/ |
D | video_capture_device_factory_win.cc | 96 Names* device_names) { in GetDeviceNamesDirectShow() argument 97 DCHECK(device_names); in GetDeviceNamesDirectShow() 155 device_names->push_back(Name(device_name, id, capture_api_type)); in GetDeviceNamesDirectShow() 159 static void GetDeviceNamesMediaFoundation(Names* device_names) { in GetDeviceNamesMediaFoundation() argument 178 device_names->push_back(Name( in GetDeviceNamesMediaFoundation() 395 void VideoCaptureDeviceFactoryWin::GetDeviceNames(Names* device_names) { in GetDeviceNames() argument 398 GetDeviceNamesMediaFoundation(device_names); in GetDeviceNames() 402 device_names); in GetDeviceNames() 414 for (Names::const_iterator device_it = device_names->begin(); in GetDeviceNames() 415 device_it != device_names->end(); ++device_it) { in GetDeviceNames() [all …]
|
/external/chromium_org/ppapi/examples/audio_input/ |
D | audio_input.cc | 247 std::string device_names = "Enumerate:"; in EnumerateDevicesFinished() local 253 device_names += kDelimiter; in EnumerateDevicesFinished() 254 device_names += name.AsString(); in EnumerateDevicesFinished() 256 PostMessage(pp::Var(device_names)); in EnumerateDevicesFinished() 292 std::string device_names = "Monitor:"; in MonitorDeviceChangeCallback() local 301 device_names += kDelimiter; in MonitorDeviceChangeCallback() 302 device_names += name.AsString(); in MonitorDeviceChangeCallback() 304 thiz->PostMessage(pp::Var(device_names)); in MonitorDeviceChangeCallback()
|
/external/chromium_org/ppapi/examples/enumerate_devices/ |
D | enumerate_devices.cc | 101 std::string device_names; in EnumerateDevicesFinished() local 107 device_names += kDelimiter; in EnumerateDevicesFinished() 108 device_names += name.AsString(); in EnumerateDevicesFinished() 110 PostMessage(pp::Var("EnumerationSuccess" + device_names)); in EnumerateDevicesFinished()
|
/external/chromium_org/media/audio/mac/ |
D | audio_manager_mac.cc | 60 media::AudioDeviceNames* device_names) { in GetAudioDeviceInfo() argument 141 device_names->push_back(device_name); in GetAudioDeviceInfo() 152 if (!device_names->empty()) { in GetAudioDeviceInfo() 159 device_names->push_front(name); in GetAudioDeviceInfo() 424 media::AudioDeviceNames* device_names) { in GetAudioInputDeviceNames() argument 425 DCHECK(device_names->empty()); in GetAudioInputDeviceNames() 426 GetAudioDeviceInfo(true, device_names); in GetAudioInputDeviceNames() 430 media::AudioDeviceNames* device_names) { in GetAudioOutputDeviceNames() argument 431 DCHECK(device_names->empty()); in GetAudioOutputDeviceNames() 432 GetAudioDeviceInfo(false, device_names); in GetAudioOutputDeviceNames()
|
/external/chromium_org/ppapi/examples/video_capture/ |
D | video_capture.cc | 450 std::string device_names = "Enumerate:"; in EnumerateDevicesFinished() local 456 device_names += kDelimiter; in EnumerateDevicesFinished() 457 device_names += name.AsString(); in EnumerateDevicesFinished() 459 PostMessage(pp::Var(device_names)); in EnumerateDevicesFinished() 478 std::string device_names = "Monitor:"; in MonitorDeviceChangeCallback() local 487 device_names += kDelimiter; in MonitorDeviceChangeCallback() 488 device_names += name.AsString(); in MonitorDeviceChangeCallback() 490 thiz->PostMessage(pp::Var(device_names)); in MonitorDeviceChangeCallback()
|
/external/chromium_org/chrome/browser/extensions/api/webrtc_audio_private/ |
D | webrtc_audio_private_api.cc | 120 scoped_ptr<AudioDeviceNames> device_names(new AudioDeviceNames); in GetOutputDeviceNames() local 121 AudioManager::Get()->GetAudioOutputDeviceNames(device_names.get()); in GetOutputDeviceNames() 128 Passed(&device_names))); in GetOutputDeviceNames() 132 scoped_ptr<AudioDeviceNames> device_names) { in OnOutputDeviceNames() argument 344 scoped_ptr<AudioDeviceNames> device_names) { in OnOutputDeviceNames() argument 352 for (AudioDeviceNames::const_iterator it = device_names->begin(); in OnOutputDeviceNames() 353 it != device_names->end(); in OnOutputDeviceNames()
|