Home
last modified time | relevance | path

Searched refs:IDelegate (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java24 import com.android.speech.tts.MockableTextToSpeechService.IDelegate;
47 IDelegate passThrough = Mockito.mock(IDelegate.class); in setUp()
78 IDelegate delegate = Mockito.mock(IDelegate.class); in testSetLanguage_delegation()
96 IDelegate delegate = Mockito.mock(IDelegate.class); in testSetLanguage_availableLanguage()
122 IDelegate delegate = Mockito.mock(IDelegate.class); in testSetLanguage_unavailableLanguage()
146 IDelegate delegate = Mockito.mock(IDelegate.class); in testIsLanguageAvailable()
159 IDelegate delegate = Mockito.mock(IDelegate.class); in testDefaultLanguage_setsVoiceName()
189 private void blockingCallSpeak(String speech, IDelegate mock) throws in blockingCallSpeak()
DMockableTextToSpeechService.java29 private static IDelegate sDelegate;
31 public static void setMocker(IDelegate delegate) { in setMocker()
35 static IDelegate getMocker() { in getMocker()
64 public static interface IDelegate { interface in MockableTextToSpeechService
DMockableCheckVoiceData.java31 MockableTextToSpeechService.IDelegate delegate = in onCreate()