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;
43 IDelegate passThrough = LittleMock.mock(IDelegate.class); in setUp()
74 IDelegate delegate = LittleMock.mock(IDelegate.class); in testSetLanguage_delegation()
92 IDelegate delegate = LittleMock.mock(IDelegate.class); in testSetLanguage_availableLanguage()
118 IDelegate delegate = LittleMock.mock(IDelegate.class); in testSetLanguage_unavailableLanguage()
142 IDelegate delegate = LittleMock.mock(IDelegate.class); in testIsLanguageAvailable()
155 IDelegate delegate = LittleMock.mock(IDelegate.class); in testDefaultLanguage_setsVoiceName()
185 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()