Home
last modified time | relevance | path

Searched refs:CrasAudioHandler (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/chromeos/audio/
Dcras_audio_handler.cc31 static CrasAudioHandler* g_cras_audio_handler = NULL;
40 CrasAudioHandler::AudioObserver::AudioObserver() { in AudioObserver()
43 CrasAudioHandler::AudioObserver::~AudioObserver() { in ~AudioObserver()
46 void CrasAudioHandler::AudioObserver::OnOutputVolumeChanged() { in OnOutputVolumeChanged()
49 void CrasAudioHandler::AudioObserver::OnInputGainChanged() { in OnInputGainChanged()
52 void CrasAudioHandler::AudioObserver::OnOutputMuteChanged() { in OnOutputMuteChanged()
55 void CrasAudioHandler::AudioObserver::OnInputMuteChanged() { in OnInputMuteChanged()
58 void CrasAudioHandler::AudioObserver::OnAudioNodesChanged() { in OnAudioNodesChanged()
61 void CrasAudioHandler::AudioObserver::OnActiveOutputNodeChanged() { in OnActiveOutputNodeChanged()
64 void CrasAudioHandler::AudioObserver::OnActiveInputNodeChanged() { in OnActiveInputNodeChanged()
[all …]
Dcras_audio_handler.h28 class CHROMEOS_EXPORT CrasAudioHandler : public CrasAudioClient::Observer,
79 static CrasAudioHandler* Get();
162 explicit CrasAudioHandler(
164 virtual ~CrasAudioHandler();
248 base::WeakPtrFactory<CrasAudioHandler> weak_ptr_factory_;
272 DISALLOW_COPY_AND_ASSIGN(CrasAudioHandler);
Dcras_audio_handler_unittest.cc142 class TestObserver : public chromeos::CrasAudioHandler::AudioObserver {
238 CrasAudioHandler::Shutdown(); in TearDown()
249 CrasAudioHandler::Initialize(audio_pref_handler_); in SetUpCrasAudioHandler()
250 cras_audio_handler_ = CrasAudioHandler::Get(); in SetUpCrasAudioHandler()
263 CrasAudioHandler* cras_audio_handler_; // Not owned.
/external/chromium_org/chrome/browser/ui/ash/
Dvolume_controller_chromeos.cc12 using chromeos::CrasAudioHandler;
22 CrasAudioHandler::Get()->AddAudioObserver(this); in VolumeController()
26 if (CrasAudioHandler::IsInitialized()) in ~VolumeController()
27 CrasAudioHandler::Get()->RemoveAudioObserver(this); in ~VolumeController()
34 CrasAudioHandler::Get()->SetOutputMute(true); in HandleVolumeMute()
42 CrasAudioHandler* audio_handler = CrasAudioHandler::Get(); in HandleVolumeDown()
57 CrasAudioHandler* audio_handler = CrasAudioHandler::Get(); in HandleVolumeUp()
69 CrasAudioHandler* audio_handler = CrasAudioHandler::Get(); in OnOutputVolumeChanged()
76 CrasAudioHandler* audio_handler = CrasAudioHandler::Get(); in OnOutputMuteChanged()
Dvolume_controller_browsertest_chromeos.cc22 audio_handler_ = chromeos::CrasAudioHandler::Get(); in SetUpOnMainThread()
38 chromeos::CrasAudioHandler* audio_handler_; // Not owned.
Dvolume_controller_chromeos.h16 public chromeos::CrasAudioHandler::AudioObserver {
/external/chromium_org/ash/system/chromeos/audio/
Dtray_audio.cc41 using chromeos::CrasAudioHandler;
62 return CrasAudioHandler::Get()->IsOutputMuted(); in IsAudioMuted()
66 return CrasAudioHandler::Get()->GetOutputVolumePercent() / 100.0f; in GetVolumeLevel()
272 CrasAudioHandler* audio_handler = CrasAudioHandler::Get(); in UpdateDeviceTypeAndMore()
294 CrasAudioHandler* audio_handler = CrasAudioHandler::Get(); in HandleVolumeUp()
302 CrasAudioHandler* audio_handler = CrasAudioHandler::Get(); in HandleVolumeDown()
367 CrasAudioHandler::Get()->SetOutputMute(mute_on); in ButtonPressed()
369 CrasAudioHandler::Get()->AdjustOutputVolumeToAudibleLevel(); in ButtonPressed()
379 int old_volume = CrasAudioHandler::Get()->GetOutputVolumePercent(); in SliderValueChanged()
447 CrasAudioHandler::Get()->GetAudioDevices(&devices); in UpdateAudioDevices()
[all …]
Dtray_audio.h20 public chromeos::CrasAudioHandler::AudioObserver {
/external/chromium_org/chrome/browser/extensions/api/audio/
Daudio_service_chromeos.cc25 public chromeos::CrasAudioHandler::AudioObserver {
71 chromeos::CrasAudioHandler* cras_audio_handler_;
88 if (chromeos::CrasAudioHandler::IsInitialized()) { in AudioServiceImpl()
89 cras_audio_handler_ = chromeos::CrasAudioHandler::Get(); in AudioServiceImpl()
96 if (cras_audio_handler_ && chromeos::CrasAudioHandler::IsInitialized()) { in ~AudioServiceImpl()
/external/chromium_org/ash/test/
Dash_test_helper.cc70 chromeos::CrasAudioHandler::InitializeForTesting(); in SetUp()
106 chromeos::CrasAudioHandler::Shutdown(); in TearDown()
/external/chromium_org/ash/shell/content_client/
Dshell_browser_main_parts.cc118 chromeos::CrasAudioHandler::InitializeForTesting(); in PreMainMessageLoopRun()
153 chromeos::CrasAudioHandler::Shutdown(); in PostMainMessageLoopRun()
/external/chromium_org/chrome/browser/automation/
Dtesting_automation_provider_chromeos.cc556 chromeos::CrasAudioHandler* audio_handler = chromeos::CrasAudioHandler::Get(); in GetVolumeInfo()
574 chromeos::CrasAudioHandler* audio_handler = chromeos::CrasAudioHandler::Get(); in SetVolume()
591 chromeos::CrasAudioHandler* audio_handler = chromeos::CrasAudioHandler::Get(); in SetMute()
/external/chromium_org/chrome/test/base/
Dview_event_test_base.cc121 chromeos::CrasAudioHandler::InitializeForTesting(); in SetUp()
160 chromeos::CrasAudioHandler::Shutdown(); in TearDown()
/external/chromium_org/chrome/browser/chromeos/
Dchrome_browser_main_chromeos.cc228 if (chromeos::CrasAudioHandler::IsInitialized()) in OptionallyRunChromeOSLoginManager()
229 chromeos::CrasAudioHandler::Get()->LogErrors(); in OptionallyRunChromeOSLoginManager()
410 CrasAudioHandler::Initialize( in PreMainMessageLoopRun()
713 CrasAudioHandler::Shutdown(); in PostMainMessageLoopRun()
/external/chromium_org/chrome/browser/chromeos/login/
Dlogin_display_host_impl.h48 public chromeos::CrasAudioHandler::AudioObserver {
Dlogin_display_host_impl.cc270 CrasAudioHandler::Get()->AddAudioObserver(this); in LoginDisplayHostImpl()
368 CrasAudioHandler::Get()->RemoveAudioObserver(this); in ~LoginDisplayHostImpl()
1033 !CrasAudioHandler::Get()->GetActiveOutputNode()) { in TryToPlayStartupSound()
/external/chromium_org/chrome/browser/policy/
Dpolicy_browsertest.cc461 class TestAudioObserver : public chromeos::CrasAudioHandler::AudioObserver {
2101 chromeos::CrasAudioHandler* audio_handler = chromeos::CrasAudioHandler::Get(); in IN_PROC_BROWSER_TEST_F()