Searched refs:TtsController (Results 1 – 14 of 14) sorted by relevance
115 TtsController* TtsController::GetInstance() { in GetInstance()116 return Singleton<TtsController>::get(); in GetInstance()119 TtsController::TtsController() in TtsController() function in TtsController125 TtsController::~TtsController() { in ~TtsController()135 void TtsController::SpeakOrEnqueue(Utterance* utterance) { in SpeakOrEnqueue()152 void TtsController::SpeakNow(Utterance* utterance) { in SpeakNow()214 void TtsController::Stop() { in Stop()232 void TtsController::Pause() { in Pause()244 void TtsController::Resume() { in Resume()258 void TtsController::OnTtsEvent(int utterance_id, in OnTtsEvent()[all …]
21 TtsController::GetInstance()->AddVoicesChangedDelegate(this); in TtsMessageFilter()59 TtsController* tts_controller = TtsController::GetInstance(); in OnInitializeVoiceList()93 TtsController::GetInstance()->SpeakOrEnqueue(utterance.release()); in OnSpeak()98 TtsController::GetInstance()->Pause(); in OnPause()103 TtsController::GetInstance()->Resume(); in OnResume()108 TtsController::GetInstance()->Stop(); in OnCancel()158 TtsController::GetInstance()->RemoveVoicesChangedDelegate(this); in OnChannelClosingInUIThread()
248 class TtsController {251 static TtsController* GetInstance();305 TtsController();306 virtual ~TtsController();331 friend struct DefaultSingletonTraits<TtsController>;349 DISALLOW_COPY_AND_ASSIGN(TtsController);
145 TtsController::GetInstance()->OnTtsEvent( in Pause()154 TtsController::GetInstance()->OnTtsEvent( in Resume()191 TtsController* controller = TtsController::GetInstance(); in OnSpeechEvent()
106 TtsController::GetInstance()->VoicesChanged(); in VoicesChanged()125 TtsController::GetInstance()->OnTtsEvent( in OnStartEvent()134 TtsController::GetInstance()->OnTtsEvent( in SendFinalTtsEvent()
167 TtsController* controller = TtsController::GetInstance();186 TtsController::GetInstance()->OnTtsEvent(195 TtsController::GetInstance()->OnTtsEvent(275 TtsController* controller = TtsController::GetInstance();
40 class TestableTtsController : public TtsController {
128 TtsController::GetInstance()->RetrySpeakingQueuedUtterances(); in OnListenerAdded()
276 TtsController* controller = TtsController::GetInstance(); in OnSpeechEvent()
284 TtsController* controller = TtsController::GetInstance(); in RunImpl()290 TtsController::GetInstance()->Stop(); in RunImpl()295 TtsController::GetInstance()->Pause(); in RunImpl()300 TtsController::GetInstance()->Resume(); in RunImpl()306 TtsController::GetInstance()->IsSpeaking())); in RunImpl()312 TtsController::GetInstance()->GetVoices(GetProfile(), &voices); in RunImpl()
131 TtsController* controller = TtsController::GetInstance(); in SendEvent()169 TtsController::GetInstance()->SetPlatformImpl(&mock_platform_impl_); in SetUpInProcessBrowserTestFixture()
245 TtsController* controller = TtsController::GetInstance(); in RunImpl()
128 TtsController::GetInstance()->Stop(); in SilenceSpokenFeedback()
1870 TtsController::GetInstance()->Stop(); in AcceleratorPressed()