Home
last modified time | relevance | path

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

/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DServiceInfoTest.java39 private static final List<Locale> LOCALES = new ArrayList<Locale>() {{ field in ServiceInfoTest
47 new StreamingServiceInfo(LOCALE_DICT, NAME, LOCALES, ID, BEGIN_DATE, END_DATE);
51 assertEquals(LOCALES.size(), STREAMING_SERVICE_INFO.getLocales().size()); in testDataAccess()
52 for (int i = 0; i < LOCALES.size(); i++) { in testDataAccess()
53 assertTrue(STREAMING_SERVICE_INFO.getLocales().contains(LOCALES.get(i))); in testDataAccess()
54 assertTrue(LOCALES.contains(STREAMING_SERVICE_INFO.getLocales().get(i))); in testDataAccess()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassifierTest.java70 private static final LocaleList LOCALES = LocaleList.forLanguageTags("en"); field in TextClassifierTest
79 .setDefaultLocales(LOCALES)
83 .setDefaultLocales(LOCALES)
163 assertValidResult(mClassifier.suggestSelection(TEXT, START, END, LOCALES)); in testSuggestSelectionWith4Param()
173 assertValidResult(mClassifier.classifyText(TEXT, START, END, LOCALES)); in testClassifyTextWith4Param()
DTextSelectionTest.java55 private static final LocaleList LOCALES = LocaleList.forLanguageTags("fr,en,de,es"); field in TextSelectionTest
170 .setDefaultLocales(LOCALES) in testTextSelectionRequest()
183 assertThat(request.getDefaultLocales()).isEqualTo(LOCALES); in testTextSelectionRequest()
DTextClassificationTest.java60 private static final LocaleList LOCALES = LocaleList.forLanguageTags("fr,en,de,es"); field in TextClassificationTest
179 .setDefaultLocales(LOCALES) in testTextClassificationRequest()
183 assertEquals(LOCALES, request.getDefaultLocales()); in testTextClassificationRequest()
DTextLinksTest.java64 private static final LocaleList LOCALES = LocaleList.forLanguageTags("fr,en,de,es"); field in TextLinksTest
241 .setDefaultLocales(LOCALES) in testTextLinksRequest_full()
249 assertEquals(LOCALES, request.getDefaultLocales()); in testTextLinksRequest_full()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoConstants.java37 public static final String LOCALES = "locales"; field
DDeviceInfoActivity.java189 DeviceInfoInstrument.addResult(DeviceInfoConstants.LOCALES, in onCreate()