/frameworks/base/services/tests/servicestests/src/com/android/server/textservices/ |
D | LocaleUtilsTest.java | 49 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/ |
D | LocaleManagerServiceTest.java | 235 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()
|
D | FakePackageConfigurationUpdater.java | 40 public PackageConfigurationUpdater setLocales(LocaleList locales) { in setLocales()
|
D | SystemAppUpdateTrackerTest.java | 276 private void assertBroadcastSentToInstaller(String packageName, LocaleList locales) { in assertBroadcastSentToInstaller()
|
/frameworks/base/core/java/android/app/ |
D | LocaleManager.java | 73 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()
|
D | ILocaleManager.aidl | 36 void setApplicationLocales(String packageName, int userId, in LocaleList locales); in setApplicationLocales()
|
/frameworks/base/tests/LocalizationTest/java/com/android/internal/app/ |
D | LocalizationTest.kt | 76 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/ |
D | LocaleManagerShellCommand.java | 79 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
|
D | LocaleManagerService.java | 147 @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/ |
D | FontLanguageListCacheTest.cpp | 54 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/ |
D | LocaleListCache.cpp | 128 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
|
D | LocaleListCache.h | 36 static inline uint32_t getId(const std::string& locales) { in getId()
|
/frameworks/base/core/java/android/text/style/ |
D | LocaleSpan.java | 62 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/ |
D | LocaleUtils.java | 100 final ArrayList<Locale> locales = new ArrayList<>(); in getSuitableLocalesForSpellChecker() local
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | TextViewSetTextLocalePerfTest.java | 40 public static Collection locales() { in locales() method in TextViewSetTextLocalePerfTest
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | StreamingServiceInfo.java | 45 List<Locale> locales, String serviceId, Date start, Date end) { in StreamingServiceInfo()
|
D | ServiceInfo.java | 46 private final List<Locale> locales; field in ServiceInfo
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | TimeMigrationUtilsTest.java | 77 Locale[] locales = new Locale[] { in formatMillisAsDateTime_matchesOldBehavior() local
|
D | DateUtilsTest.java | 155 private void setLocales(LocaleList locales) { in setLocales()
|
/frameworks/base/libs/androidfw/tests/ |
D | AssetManager2_bench.cpp | 194 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/ |
D | PackageConfigurationUpdaterImpl.java | 63 setLocales(LocaleList locales) { in setLocales()
|
/frameworks/base/core/java/android/hardware/input/ |
D | KeyboardLayout.java | 53 LocaleList locales, int vid, int pid) { in KeyboardLayout()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | LocaleUtils.java | 88 List<String> locales = new ArrayList<>(Arrays.asList(localeArray)); in getLocaleForLanguageCountry() local
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AppLocaleStore.java | 91 String[] locales = packageManager.getResourcesForApplication( in getAssetLocales() local
|
/frameworks/base/core/proto/android/content/ |
D | configuration.proto | 35 repeated LocaleProto locales = 4 [deprecated = true]; field
|