Home
last modified time | relevance | path

Searched refs:LOCALES (Results 1 – 5 of 5) 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/
DTextClassificationManagerTest.java82 private static final LocaleList LOCALES = LocaleList.forLanguageTags("en"); field in TextClassificationManagerTest
91 .setDefaultLocales(LOCALES)
95 .setDefaultLocales(LOCALES)
170 assertValidResult(mClassifier.suggestSelection(TEXT, START, END, LOCALES)); in testSuggestSelectionWith4Param()
180 assertValidResult(mClassifier.classifyText(TEXT, START, END, LOCALES)); in testClassifyTextWith4Param()
DTextClassifierValueObjectsTest.java87 private static final LocaleList LOCALES = LocaleList.forLanguageTags("fr,en,de,es"); field in TextClassifierValueObjectsTest
185 .setDefaultLocales(LOCALES) in testTextSelectionRequest()
191 assertEquals(LOCALES, request.getDefaultLocales()); in testTextSelectionRequest()
323 .setDefaultLocales(LOCALES) in testTextClassificationRequest()
327 assertEquals(LOCALES, request.getDefaultLocales()); in testTextClassificationRequest()
525 .setDefaultLocales(LOCALES) in testTextLinksRequest_full()
533 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()