Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DVenueNameElementTest.java45 private static final Locale TEST_LOCALE = Locale.forLanguageTag(TEST_LANGUAGE); field in VenueNameElementTest
126 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_VENUE_NAME1)); in parseBufferWithValidVenueNames()
127 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_VENUE_NAME2)); in parseBufferWithValidVenueNames()
151 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, text)); in parseBufferWithMaxLengthVenueName()
DHSFriendlyNameElementTest.java45 private static final Locale TEST_LOCALE = Locale.forLanguageTag(TEST_LANGUAGE); field in HSFriendlyNameElementTest
122 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_OPERATOR_NAME1)); in parseBufferWithDefaultTestData()
123 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_OPERATOR_NAME2)); in parseBufferWithDefaultTestData()
148 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, text)); in parseBufferWithMaxLengthOperatoreName()
DI18NameTest.java41 private static final Locale TEST_LOCALE = Locale.forLanguageTag(TEST_LANGUAGE); field in I18NameTest
134 I18Name expectedName = new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_TEXT); in parseBufferWithDefaultTestData()
165 I18Name expectedName = new I18Name(TEST_LANGUAGE, TEST_LOCALE, ""); in parseBufferWithEmptyText()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPDataTest.java61 private static final Locale TEST_LOCALE = Locale.forLanguageTag(TEST_LANGUAGE); field in ANQPDataTest
120 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_VENUE_NAME1)); in createWithElementsAndUpdate()
140 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_VENUE_NAME2)); in createWithElementsAndUpdate()
160 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_VENUE_NAME1)); in testDataLifetime()
DAnqpCacheTest.java57 private static final Locale TEST_LOCALE = Locale.forLanguageTag(TEST_LANGUAGE); field in AnqpCacheTest
153 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_VENUE_NAME1)); in addThenUpdateAndGetEntry()
154 nameList.add(new I18Name(TEST_LANGUAGE, TEST_LOCALE, TEST_VENUE_NAME2)); in addThenUpdateAndGetEntry()
DServiceProviderVerifierTest.java65 private static final Locale TEST_LOCALE = new Locale.Builder().setLanguage( field in ServiceProviderVerifierTest
67 private static final Pair<Locale, String> EXPECTED_RESULT = Pair.create(TEST_LOCALE,
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DProvisioningParamsTest.java67 private static final Locale TEST_LOCALE = Locale.UK; field in ProvisioningParamsTest
170 .setLocale(TEST_LOCALE) in testNotEquals()
186 .setLocale(TEST_LOCALE) in testNotEquals()
514 .setLocale(TEST_LOCALE) in getCompleteProvisioningParams()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecStringReferenceTests.java41 private static final Locale TEST_LOCALE = Locale.ENGLISH; field in MoreKeySpecStringReferenceTests
50 mTextsSet.setLocale(TEST_LOCALE, testRes, testPackageName); in setUp()
DMoreKeySpecSplitTests.java41 private static final Locale TEST_LOCALE = Locale.ENGLISH; field in MoreKeySpecSplitTests
50 mTextsSet.setLocale(TEST_LOCALE, targetRes, targetPackageName); in setUp()
DKeySpecParserTestsBase.java30 private final static Locale TEST_LOCALE = Locale.ENGLISH; field in KeySpecParserTestsBase
50 mTextsSet.setLocale(TEST_LOCALE, getContext()); in setUp()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java57 private static final String TEST_LOCALE = "test"; field in BinaryDictionaryTests
110 Locale.getDefault(), TEST_LOCALE, true /* isUpdatable */); in getBinaryDictionary()
117 Locale.getDefault(), TEST_LOCALE, true /* isUpdatable */); in getEmptyBinaryDictionary()
142 true /* useFullEditDistance */, Locale.getDefault(), TEST_LOCALE, in testConstructingDictionaryOnMemory()
418 Locale.getDefault(), TEST_LOCALE, true /* isUpdatable */); in testFlushDictionary()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParserTest.java143 private static final Locale TEST_LOCALE = Locale.UK; field in PropertiesProvisioningDataParserTest
265 .setLocale(TEST_LOCALE) in testParse_nfcProvisioningIntent()
593 props.setProperty(EXTRA_PROVISIONING_LOCALE, StoreUtils.localeToString(TEST_LOCALE)); in setTestTimeTimeZoneAndLocale()
603 EXTRA_PROVISIONING_LOCALE_SHORT, StoreUtils.localeToString(TEST_LOCALE)); in setShortTestTimeTimeZoneAndLocale()
DExtrasProvisioningDataParserTest.java169 private static final Locale TEST_LOCALE = Locale.UK; field in ExtrasProvisioningDataParserTest
301 .setLocale(TEST_LOCALE) in testParse_trustedSourceProvisioningIntent()
1155 return StoreUtils.localeToString(TEST_LOCALE); in buildTestLocaleString()