Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DOsuProviderInfoTest.java97 Locale defaultLocale = Locale.getDefault(); in getFriendlyNameMatchingDefaultLocale() local
99 if (defaultLocale.equals(nonDefaultLocale)) { in getFriendlyNameMatchingDefaultLocale()
106 friendlyNames.add(new I18Name(defaultLocale.getLanguage(), defaultLocale, defaultString)); in getFriendlyNameMatchingDefaultLocale()
157 Locale defaultLocale = Locale.getDefault(); in getServiceDescriptionMatchingDefaultLocale() local
159 if (defaultLocale.equals(nonDefaultLocale)) { in getServiceDescriptionMatchingDefaultLocale()
167 new I18Name(defaultLocale.getLanguage(), defaultLocale, defaultString)); in getServiceDescriptionMatchingDefaultLocale()
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java161 Locale defaultLocale = Locale.getDefault(); in testDefaultLanguage_setsVoiceName() local
168 defaultLocale.getISO3Language(), in testDefaultLanguage_setsVoiceName()
169 defaultLocale.getISO3Country().toUpperCase(), in testDefaultLanguage_setsVoiceName()
170 defaultLocale.getVariant()); in testDefaultLanguage_setsVoiceName()
173 defaultLocale.getISO3Language(), in testDefaultLanguage_setsVoiceName()
174 defaultLocale.getISO3Country(), in testDefaultLanguage_setsVoiceName()
175 defaultLocale.getVariant()); in testDefaultLanguage_setsVoiceName()
182 assertEquals(defaultLocale.getISO3Language(), req.getValue().getLanguage()); in testDefaultLanguage_setsVoiceName()
183 assertEquals(defaultLocale.getISO3Country(), req.getValue().getCountry()); in testDefaultLanguage_setsVoiceName()
185 assertEquals(defaultLocale.toLanguageTag(), req.getValue().getVoiceName()); in testDefaultLanguage_setsVoiceName()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerUtils.java72 final Locale defaultLocale = Locale.getDefault(); in getGmtDisplayName() local
73 if (!defaultLocale.equals(mDefaultLocale)) { in getGmtDisplayName()
76 mDefaultLocale = defaultLocale; in getGmtDisplayName()
DTimeZoneData.java483 final Locale defaultLocale = Locale.getDefault(); in getCountryNames() local
488 countryDisplayName = new Locale(lang, countryCode).getDisplayCountry(defaultLocale); in getCountryNames()
495 if (mBackupCountryCodes == null || !defaultLocale.equals(mBackupCountryLocale)) { in getCountryNames()
496 mBackupCountryLocale = defaultLocale; in getCountryNames()
/frameworks/base/core/java/android/os/
DLocaleList.java493 final Locale defaultLocale = Locale.getDefault(); in getDefault() local
495 if (!defaultLocale.equals(sLastDefaultLocale)) { in getDefault()
496 sLastDefaultLocale = defaultLocale; in getDefault()
501 && defaultLocale.equals(sDefaultLocaleList.get(0))) { in getDefault()
506 sDefaultLocaleList = new LocaleList(defaultLocale, sLastExplicitlySetLocaleList); in getDefault()
/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp45 Locale defaultLocale; in TEST() local
55 EXPECT_TRUE(defaultLocale != defaultLocale); in TEST()
57 EXPECT_TRUE(defaultLocale != emptyLocale); in TEST()
58 EXPECT_TRUE(defaultLocale != und); in TEST()
60 EXPECT_TRUE(english != defaultLocale); in TEST()
68 EXPECT_TRUE(defaultLocale.isUnsupported()); in TEST()
/frameworks/base/services/core/java/com/android/server/location/
DComprehensiveCountryDetector.java255 Locale defaultLocale = Locale.getDefault(); in getLocaleCountry() local
256 if (defaultLocale != null) { in getLocaleCountry()
257 return new Country(defaultLocale.getCountry(), Country.COUNTRY_SOURCE_LOCALE); in getLocaleCountry()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java141 String[] defaultLocale = getSettingsLocale(); in onCreate() local
144 onLoadLanguage(defaultLocale[0], defaultLocale[1], defaultLocale[2]); in onCreate()
/frameworks/base/tools/aapt/
DResourceTable.cpp2707 const String8 defaultLocale; in addSymbols() local
2804 const String8 defaultLocale; in validateLocalizations() local
2811 if (configSrcMap.count(defaultLocale) == 0) { in validateLocalizations()
2853 configSrcMap.count(defaultLocale) == 0) { in validateLocalizations()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt32388 Landroid/icu/util/ULocale;->defaultLocale:Ljava/util/Locale;
110376 Ljava/util/Locale$NoImagePreloadHolder;->defaultLocale:Ljava/util/Locale;