Home
last modified time | relevance | path

Searched defs:locales (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/textservices/
DLocaleUtilsTest.java49 final ArrayList<Locale> locales = in testGetSuitableLocalesForSpellChecker() local
58 final ArrayList<Locale> locales = in testGetSuitableLocalesForSpellChecker() local
67 final ArrayList<Locale> locales = in testGetSuitableLocalesForSpellChecker() local
76 final ArrayList<Locale> locales = in testGetSuitableLocalesForSpellChecker() local
86 final ArrayList<Locale> locales = in testGetSuitableLocalesForSpellChecker() local
98 final ArrayList<Locale> locales = in testGetSuitableLocalesForSpellChecker() local
110 final ArrayList<Locale> locales = in testGetSuitableLocalesForSpellChecker() local
130 final ArrayList<Locale> locales = in testGetSuitableLocalesForSpellChecker() local
/frameworks/base/services/tests/servicestests/src/com/android/server/locales/
DLocaleManagerServiceTest.java235 LocaleList locales = mLocaleManagerService.getApplicationLocales( in testGetApplicationLocales_appSpecificConfigAbsent_returnsEmptyList() local
238 assertEquals(LocaleList.getEmptyLocaleList(), locales); in testGetApplicationLocales_appSpecificConfigAbsent_returnsEmptyList() local
250 LocaleList locales = mLocaleManagerService.getApplicationLocales( in testGetApplicationLocales_appSpecificLocalesAbsent_returnsEmptyList() local
253 assertEquals(LocaleList.getEmptyLocaleList(), locales); in testGetApplicationLocales_appSpecificLocalesAbsent_returnsEmptyList() local
264 LocaleList locales = in testGetApplicationLocales_callerOwnsAppAndConfigPresent_returnsLocales() local
279 LocaleList locales = in testGetApplicationLocales_arbitraryCallerWithPermissions_returnsLocales() local
295 LocaleList locales = in testGetApplicationLocales_callerIsInstaller_returnsLocales() local
302 private static void assertNoLocalesStored(LocaleList locales) { in assertNoLocalesStored()
DFakePackageConfigurationUpdater.java40 public PackageConfigurationUpdater setLocales(LocaleList locales) { in setLocales()
DSystemAppUpdateTrackerTest.java276 private void assertBroadcastSentToInstaller(String packageName, LocaleList locales) { in assertBroadcastSentToInstaller()
/frameworks/base/core/java/android/app/
DLocaleManager.java73 public void setApplicationLocales(@NonNull LocaleList locales) { in setApplicationLocales()
74 setApplicationLocales(mContext.getPackageName(), locales); in setApplicationLocales() local
102 public void setApplicationLocales(@NonNull String appPackageName, @NonNull LocaleList locales) { in setApplicationLocales()
174 public void setSystemLocales(@NonNull LocaleList locales) { in setSystemLocales()
DILocaleManager.aidl36 void setApplicationLocales(String packageName, int userId, in LocaleList locales); in setApplicationLocales()
/frameworks/base/tests/LocalizationTest/java/com/android/internal/app/
DLocalizationTest.kt76 val locales = LocalePicker.getSupportedLocales(mContext) in testGetSupportedLocales_invalidFilter() constant
85 val locales = LocalePicker.getSupportedLocales(mContext) in testGetSupportedLocales_inclusiveFilter() constant
98 val locales = LocalePicker.getSupportedLocales(mContext) in testGetSupportedLocales_exclusiveFilter() constant
/frameworks/base/services/core/java/com/android/server/locales/
DLocaleManagerShellCommand.java79 LocaleList locales = LocaleList.getEmptyLocaleList(); in runSetAppLocales() local
134 LocaleList locales = mBinderService.getApplicationLocales(packageName, userId); in runGetAppLocales() local
156 LocaleList locales = LocaleList.forLanguageTags(inputLocales); in parseLocales() local
DLocaleManagerService.java147 @NonNull LocaleList locales) throws RemoteException { in setApplicationLocales()
178 @NonNull LocaleList locales) throws RemoteException, IllegalArgumentException { in setApplicationLocales()
216 @UserIdInt int userId, @NonNull LocaleList locales, in setApplicationLocalesUnchecked()
251 LocaleList locales) { in notifyRegisteredReceivers()
268 LocaleList locales) { in notifyInstallerOfAppWhoseLocaleChanged()
284 LocaleList locales) { in notifyAppWhoseLocaleChanged()
293 LocaleList locales) { in createBaseIntent()
398 LocaleList locales = appConfig.mLocales; in getApplicationLocalesUnchecked() local
/frameworks/minikin/tests/unittest/
DFontLanguageListCacheTest.cpp54 const LocaleList& locales = LocaleListCache::getById(LocaleListCache::getId("en")); in TEST() local
65 std::string locales[] = {"en", "jp", "en,zh-Hans"}; in TEST() local
/frameworks/minikin/libs/minikin/
DLocaleListCache.cpp128 uint32_t LocaleListCache::getIdInternal(const std::string& locales) { in getIdInternal()
139 uint32_t LocaleListCache::getIdInternal(std::vector<Locale>&& locales) { in getIdInternal()
158 std::vector<Locale> locales; in readFromInternal() local
DLocaleListCache.h36 static inline uint32_t getId(const std::string& locales) { in getId()
/frameworks/base/core/java/android/text/style/
DLocaleSpan.java62 public LocaleSpan(@NonNull LocaleList locales) { in LocaleSpan()
126 private static void apply(@NonNull Paint paint, @NonNull LocaleList locales) { in apply()
/frameworks/base/services/core/java/com/android/server/textservices/
DLocaleUtils.java100 final ArrayList<Locale> locales = new ArrayList<>(); in getSuitableLocalesForSpellChecker() local
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewSetTextLocalePerfTest.java40 public static Collection locales() { in locales() method in TextViewSetTextLocalePerfTest
/frameworks/base/telephony/java/android/telephony/mbms/
DStreamingServiceInfo.java45 List<Locale> locales, String serviceId, Date start, Date end) { in StreamingServiceInfo()
DServiceInfo.java46 private final List<Locale> locales; field in ServiceInfo
/frameworks/base/core/tests/coretests/src/android/text/format/
DTimeMigrationUtilsTest.java77 Locale[] locales = new Locale[] { in formatMillisAsDateTime_matchesOldBehavior() local
DDateUtilsTest.java155 private void setLocales(LocaleList locales) { in setLocales()
/frameworks/base/libs/androidfw/tests/
DAssetManager2_bench.cpp194 std::set<std::string> locales = in BM_AssetManagerGetResourceLocales() local
212 Vector<String8> locales; in BM_AssetManagerGetResourceLocalesOld() local
/frameworks/base/services/core/java/com/android/server/wm/
DPackageConfigurationUpdaterImpl.java63 setLocales(LocaleList locales) { in setLocales()
/frameworks/base/core/java/android/hardware/input/
DKeyboardLayout.java53 LocaleList locales, int vid, int pid) { in KeyboardLayout()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DLocaleUtils.java88 List<String> locales = new ArrayList<>(Arrays.asList(localeArray)); in getLocaleForLanguageCountry() local
/frameworks/base/core/java/com/android/internal/app/
DAppLocaleStore.java91 String[] locales = packageManager.getResourcesForApplication( in getAssetLocales() local
/frameworks/base/core/proto/android/content/
Dconfiguration.proto35 repeated LocaleProto locales = 4 [deprecated = true]; field

123