/external/chromium_org/chrome/browser/ui/ash/ |
volume_controller_browsertest_chromeos.cc | 69 audio_handler_ = chromeos::CrasAudioHandler::Get(); 85 chromeos::CrasAudioHandler* audio_handler_; // Not owned. member in class:__anon9632::VolumeControllerTest 96 audio_handler_->SetOutputVolumePercent(kInitVolume); 98 EXPECT_EQ(audio_handler_->GetOutputVolumePercent(), kInitVolume); 101 EXPECT_LT(kInitVolume, audio_handler_->GetOutputVolumePercent()); 103 EXPECT_EQ(kInitVolume, audio_handler_->GetOutputVolumePercent()); 105 EXPECT_GT(kInitVolume, audio_handler_->GetOutputVolumePercent()); 110 audio_handler_->SetOutputVolumePercent(1); 113 EXPECT_EQ(0, audio_handler_->GetOutputVolumePercent()); 115 EXPECT_EQ(0, audio_handler_->GetOutputVolumePercent()) [all...] |
/external/chromium_org/ash/ |
ash_touch_exploration_manager_chromeos.cc | 23 audio_handler_(chromeos::CrasAudioHandler::Get()) { 42 if (audio_handler_->IsOutputMuted()) { 43 audio_handler_->SetOutputMute(false); 46 audio_handler_->SetOutputVolumePercent(volume); 48 if (audio_handler_->IsOutputVolumeBelowDefaultMuteLevel()) 49 audio_handler_->SetOutputMute(true); 63 if (!audio_handler_->IsOutputMuted() && 64 audio_handler_->GetOutputVolumePercent() != 100)
|
ash_touch_exploration_manager_chromeos.h | 49 chromeos::CrasAudioHandler* audio_handler_; member in class:ash::AshTouchExplorationManager
|
/external/chromium_org/components/copresence/handlers/ |
directive_handler.cc | 18 audio_handler_.reset(new AudioDirectiveHandler(decode_cb, encode_cb)); 19 audio_handler_->Initialize(); 40 DCHECK(audio_handler_.get()) << "Clients must call Initialize() before " 45 audio_handler_->AddInstruction( 51 DCHECK(audio_handler_.get()) << "Clients must call Initialize() before " 53 audio_handler_->RemoveInstructions(op_id); 57 return audio_handler_->PlayingAudibleToken(); 61 return audio_handler_->PlayingInaudibleToken();
|
directive_handler.h | 27 // Initialize the |audio_handler_| with the appropriate callbacks. 44 scoped_ptr<AudioDirectiveHandler> audio_handler_; member in class:copresence::DirectiveHandler
|
/external/chromium_org/extensions/shell/browser/ |
shell_audio_controller_chromeos_unittest.cc | 35 audio_handler_ = chromeos::CrasAudioHandler::Get(); 72 chromeos::CrasAudioHandler* audio_handler_; // Not owned. member in class:extensions::ShellAudioControllerTest 100 EXPECT_EQ(headphone.id, audio_handler_->GetPrimaryActiveOutputNode()); 101 EXPECT_EQ(external_mic.id, audio_handler_->GetPrimaryActiveInputNode()); 109 EXPECT_EQ(internal_speaker.id, audio_handler_->GetPrimaryActiveOutputNode()); 110 EXPECT_EQ(internal_mic.id, audio_handler_->GetPrimaryActiveInputNode()); 117 EXPECT_EQ(headphone.id, audio_handler_->GetPrimaryActiveOutputNode()); 118 EXPECT_EQ(external_mic.id, audio_handler_->GetPrimaryActiveInputNode()); 128 EXPECT_FALSE(audio_handler_->IsOutputMuted()); 129 EXPECT_FALSE(audio_handler_->IsInputMuted()) [all...] |