Searched refs:CrasAudioHandler (Results 1 – 17 of 17) sorted by relevance
31 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 …]
28 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);
142 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.
12 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()
22 audio_handler_ = chromeos::CrasAudioHandler::Get(); in SetUpOnMainThread()38 chromeos::CrasAudioHandler* audio_handler_; // Not owned.
16 public chromeos::CrasAudioHandler::AudioObserver {
41 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 …]
20 public chromeos::CrasAudioHandler::AudioObserver {
25 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()
70 chromeos::CrasAudioHandler::InitializeForTesting(); in SetUp()106 chromeos::CrasAudioHandler::Shutdown(); in TearDown()
118 chromeos::CrasAudioHandler::InitializeForTesting(); in PreMainMessageLoopRun()153 chromeos::CrasAudioHandler::Shutdown(); in PostMainMessageLoopRun()
556 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()
121 chromeos::CrasAudioHandler::InitializeForTesting(); in SetUp()160 chromeos::CrasAudioHandler::Shutdown(); in TearDown()
228 if (chromeos::CrasAudioHandler::IsInitialized()) in OptionallyRunChromeOSLoginManager()229 chromeos::CrasAudioHandler::Get()->LogErrors(); in OptionallyRunChromeOSLoginManager()410 CrasAudioHandler::Initialize( in PreMainMessageLoopRun()713 CrasAudioHandler::Shutdown(); in PostMainMessageLoopRun()
48 public chromeos::CrasAudioHandler::AudioObserver {
270 CrasAudioHandler::Get()->AddAudioObserver(this); in LoginDisplayHostImpl()368 CrasAudioHandler::Get()->RemoveAudioObserver(this); in ~LoginDisplayHostImpl()1033 !CrasAudioHandler::Get()->GetActiveOutputNode()) { in TryToPlayStartupSound()
461 class TestAudioObserver : public chromeos::CrasAudioHandler::AudioObserver {2101 chromeos::CrasAudioHandler* audio_handler = chromeos::CrasAudioHandler::Get(); in IN_PROC_BROWSER_TEST_F()