Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
H A DTtsEnginesTests.java9 private TtsEngines mTtsHelper; field in TtsEnginesTests
13 mTtsHelper = new TtsEngines(getInstrumentation().getContext()); in setUp()
23 mTtsHelper.parseLocaleString("eng_US-foobar")); in testParseLocaleString()
25 assertNull(mTtsHelper.parseLocaleString("cc_xx_barbar")); in testParseLocaleString()
26 assertNull(mTtsHelper.parseLocaleString("cc--barbar")); in testParseLocaleString()
28 assertEquals(new Locale("en"), mTtsHelper.parseLocaleString("eng")); in testParseLocaleString()
58 mTtsHelper.getLocalePrefForEngine("foo","foo:en-US")); in testGetLocalePrefForEngine()
60 mTtsHelper.getLocalePrefForEngine("foo","foo:eng-usa")); in testGetLocalePrefForEngine()
62 mTtsHelper.getLocalePrefForEngine("foo","foo:eng_USA")); in testGetLocalePrefForEngine()
64 mTtsHelper.getLocalePrefForEngine("foo","foo:deu-deu")); in testGetLocalePrefForEngine()
[all …]