SpeechRecognizerImpl 116 content/browser/speech/speech_recognition_browsertest.cc SpeechRecognizerImpl::SetAudioManagerForTesting( SpeechRecognizerImpl 122 content/browser/speech/speech_recognition_browsertest.cc SpeechRecognizerImpl::SetAudioManagerForTesting(NULL); SpeechRecognizerImpl 125 content/browser/speech/speech_recognition_manager_impl.cc SpeechRecognizerImpl::kAudioSampleRate; SpeechRecognizerImpl 127 content/browser/speech/speech_recognition_manager_impl.cc SpeechRecognizerImpl::kNumBitsPerAudioSample; SpeechRecognizerImpl 147 content/browser/speech/speech_recognition_manager_impl.cc session->recognizer = new SpeechRecognizerImpl( SpeechRecognizerImpl 103 content/browser/speech/speech_recognizer_impl.cc const int SpeechRecognizerImpl::kAudioSampleRate = 16000; SpeechRecognizerImpl 104 content/browser/speech/speech_recognizer_impl.cc const ChannelLayout SpeechRecognizerImpl::kChannelLayout = SpeechRecognizerImpl 106 content/browser/speech/speech_recognizer_impl.cc const int SpeechRecognizerImpl::kNumBitsPerAudioSample = 16; SpeechRecognizerImpl 107 content/browser/speech/speech_recognizer_impl.cc const int SpeechRecognizerImpl::kNoSpeechTimeoutMs = 8000; SpeechRecognizerImpl 108 content/browser/speech/speech_recognizer_impl.cc const int SpeechRecognizerImpl::kEndpointerEstimationTimeMs = 300; SpeechRecognizerImpl 109 content/browser/speech/speech_recognizer_impl.cc media::AudioManager* SpeechRecognizerImpl::audio_manager_for_tests_ = NULL; SpeechRecognizerImpl 111 content/browser/speech/speech_recognizer_impl.cc COMPILE_ASSERT(SpeechRecognizerImpl::kNumBitsPerAudioSample % 8 == 0, SpeechRecognizerImpl 116 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::OnDataConverter::OnDataConverter( SpeechRecognizerImpl 128 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::OnDataConverter::~OnDataConverter() { SpeechRecognizerImpl 134 content/browser/speech/speech_recognizer_impl.cc scoped_refptr<AudioChunk> SpeechRecognizerImpl::OnDataConverter::Convert( SpeechRecognizerImpl 156 content/browser/speech/speech_recognizer_impl.cc double SpeechRecognizerImpl::OnDataConverter::ProvideInput( SpeechRecognizerImpl 173 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::SpeechRecognizerImpl( SpeechRecognizerImpl 214 content/browser/speech/speech_recognizer_impl.cc void SpeechRecognizerImpl::StartRecognition(const std::string& device_id) { SpeechRecognizerImpl 219 content/browser/speech/speech_recognizer_impl.cc base::Bind(&SpeechRecognizerImpl::DispatchEvent, SpeechRecognizerImpl 223 content/browser/speech/speech_recognizer_impl.cc void SpeechRecognizerImpl::AbortRecognition() { SpeechRecognizerImpl 225 content/browser/speech/speech_recognizer_impl.cc base::Bind(&SpeechRecognizerImpl::DispatchEvent, SpeechRecognizerImpl 229 content/browser/speech/speech_recognizer_impl.cc void SpeechRecognizerImpl::StopAudioCapture() { SpeechRecognizerImpl 231 content/browser/speech/speech_recognizer_impl.cc base::Bind(&SpeechRecognizerImpl::DispatchEvent, SpeechRecognizerImpl 235 content/browser/speech/speech_recognizer_impl.cc bool SpeechRecognizerImpl::IsActive() const { SpeechRecognizerImpl 242 content/browser/speech/speech_recognizer_impl.cc bool SpeechRecognizerImpl::IsCapturingAudio() const { SpeechRecognizerImpl 252 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::recognition_engine() const { SpeechRecognizerImpl 256 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::~SpeechRecognizerImpl() { SpeechRecognizerImpl 265 content/browser/speech/speech_recognizer_impl.cc void SpeechRecognizerImpl::OnError(AudioInputController* controller, SpeechRecognizerImpl 269 content/browser/speech/speech_recognizer_impl.cc base::Bind(&SpeechRecognizerImpl::DispatchEvent, SpeechRecognizerImpl 273 content/browser/speech/speech_recognizer_impl.cc void SpeechRecognizerImpl::OnData(AudioInputController* controller, SpeechRecognizerImpl 283 content/browser/speech/speech_recognizer_impl.cc base::Bind(&SpeechRecognizerImpl::DispatchEvent, SpeechRecognizerImpl 287 content/browser/speech/speech_recognizer_impl.cc void SpeechRecognizerImpl::OnAudioClosed(AudioInputController*) {} SpeechRecognizerImpl 289 content/browser/speech/speech_recognizer_impl.cc void SpeechRecognizerImpl::OnSpeechRecognitionEngineResults( SpeechRecognizerImpl 294 content/browser/speech/speech_recognizer_impl.cc base::Bind(&SpeechRecognizerImpl::DispatchEvent, SpeechRecognizerImpl 298 content/browser/speech/speech_recognizer_impl.cc void SpeechRecognizerImpl::OnSpeechRecognitionEngineError( SpeechRecognizerImpl 303 content/browser/speech/speech_recognizer_impl.cc base::Bind(&SpeechRecognizerImpl::DispatchEvent, SpeechRecognizerImpl 319 content/browser/speech/speech_recognizer_impl.cc void SpeechRecognizerImpl::DispatchEvent(const FSMEventArgs& event_args) { SpeechRecognizerImpl 330 content/browser/speech/speech_recognizer_impl.cc scoped_refptr<SpeechRecognizerImpl> me(this); SpeechRecognizerImpl 343 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::FSMState SpeechRecognizerImpl 344 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::ExecuteTransitionAndGetNextState( SpeechRecognizerImpl 469 content/browser/speech/speech_recognizer_impl.cc void SpeechRecognizerImpl::ProcessAudioPipeline(const AudioChunk& raw_audio) { SpeechRecognizerImpl 493 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::FSMState SpeechRecognizerImpl 494 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::StartRecording(const FSMEventArgs&) { SpeechRecognizerImpl 585 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::FSMState SpeechRecognizerImpl 586 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::StartRecognitionEngine(const FSMEventArgs& event_args) { SpeechRecognizerImpl 600 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::FSMState SpeechRecognizerImpl 601 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::WaitEnvironmentEstimationCompletion(const FSMEventArgs&) { SpeechRecognizerImpl 612 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::FSMState SpeechRecognizerImpl 613 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::DetectUserSpeechOrTimeout(const FSMEventArgs&) { SpeechRecognizerImpl 623 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::FSMState SpeechRecognizerImpl 624 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::DetectEndOfSpeech(const FSMEventArgs& event_args) { SpeechRecognizerImpl 630 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::FSMState SpeechRecognizerImpl 631 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::StopCaptureAndWaitForResult(const FSMEventArgs&) { SpeechRecognizerImpl 645 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::FSMState SpeechRecognizerImpl 646 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::AbortSilently(const FSMEventArgs& event_args) { SpeechRecognizerImpl 652 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::FSMState SpeechRecognizerImpl 653 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::AbortWithError(const FSMEventArgs& event_args) { SpeechRecognizerImpl 662 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::FSMState SpeechRecognizerImpl::Abort( SpeechRecognizerImpl 689 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::FSMState SpeechRecognizerImpl::ProcessIntermediateResult( SpeechRecognizerImpl 713 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::FSMState SpeechRecognizerImpl 714 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::ProcessFinalResult(const FSMEventArgs& event_args) { SpeechRecognizerImpl 756 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::FSMState SpeechRecognizerImpl 757 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::DoNothing(const FSMEventArgs&) const { SpeechRecognizerImpl 761 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::FSMState SpeechRecognizerImpl 762 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::NotFeasible(const FSMEventArgs& event_args) { SpeechRecognizerImpl 768 content/browser/speech/speech_recognizer_impl.cc void SpeechRecognizerImpl::CloseAudioControllerAsynchronously() { SpeechRecognizerImpl 775 content/browser/speech/speech_recognizer_impl.cc audio_controller_->Close(base::Bind(&SpeechRecognizerImpl::OnAudioClosed, SpeechRecognizerImpl 780 content/browser/speech/speech_recognizer_impl.cc int SpeechRecognizerImpl::GetElapsedTimeMs() const { SpeechRecognizerImpl 784 content/browser/speech/speech_recognizer_impl.cc void SpeechRecognizerImpl::UpdateSignalAndNoiseLevels(const float& rms, SpeechRecognizerImpl 806 content/browser/speech/speech_recognizer_impl.cc void SpeechRecognizerImpl::SetAudioManagerForTesting( SpeechRecognizerImpl 811 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::FSMEventArgs::FSMEventArgs(FSMEvent event_value) SpeechRecognizerImpl 817 content/browser/speech/speech_recognizer_impl.cc SpeechRecognizerImpl::FSMEventArgs::~FSMEventArgs() { SpeechRecognizerImpl 29 content/browser/speech/speech_recognizer_impl.h class CONTENT_EXPORT SpeechRecognizerImpl SpeechRecognizerImpl 42 content/browser/speech/speech_recognizer_impl.h SpeechRecognizerImpl(SpeechRecognitionEventListener* listener, SpeechRecognizerImpl 90 content/browser/speech/speech_recognizer_impl.h virtual ~SpeechRecognizerImpl(); SpeechRecognizerImpl 159 content/browser/speech/speech_recognizer_impl.h scoped_ptr<SpeechRecognizerImpl::OnDataConverter> audio_converter_; SpeechRecognizerImpl 161 content/browser/speech/speech_recognizer_impl.h DISALLOW_COPY_AND_ASSIGN(SpeechRecognizerImpl); SpeechRecognizerImpl 51 content/browser/speech/speech_recognizer_impl_unittest.cc SpeechRecognizerImpl::kNumBitsPerAudioSample; SpeechRecognizerImpl 52 content/browser/speech/speech_recognizer_impl_unittest.cc config.audio_sample_rate = SpeechRecognizerImpl::kAudioSampleRate; SpeechRecognizerImpl 57 content/browser/speech/speech_recognizer_impl_unittest.cc recognizer_ = new SpeechRecognizerImpl( SpeechRecognizerImpl 64 content/browser/speech/speech_recognizer_impl_unittest.cc (SpeechRecognizerImpl::kAudioSampleRate * SpeechRecognizerImpl 66 content/browser/speech/speech_recognizer_impl_unittest.cc ChannelLayoutToChannelCount(SpeechRecognizerImpl::kChannelLayout) * SpeechRecognizerImpl 67 content/browser/speech/speech_recognizer_impl_unittest.cc SpeechRecognizerImpl::kNumBitsPerAudioSample) / (8 * 1000); SpeechRecognizerImpl 168 content/browser/speech/speech_recognizer_impl_unittest.cc scoped_refptr<SpeechRecognizerImpl> recognizer_; SpeechRecognizerImpl 402 content/browser/speech/speech_recognizer_impl_unittest.cc int num_packets = (SpeechRecognizerImpl::kNoSpeechTimeoutMs) / SpeechRecognizerImpl 430 content/browser/speech/speech_recognizer_impl_unittest.cc int num_packets = (SpeechRecognizerImpl::kNoSpeechTimeoutMs) / SpeechRecognizerImpl 469 content/browser/speech/speech_recognizer_impl_unittest.cc int num_packets = SpeechRecognizerImpl::kEndpointerEstimationTimeMs /