/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityTaskManagerServiceTests.java | 679 config.setLocales(LocaleList.forLanguageTags("en-XC")); in testPackageConfigUpdate_locales_successfullyApplied() 686 packageConfigUpdater.setLocales(LocaleList.forLanguageTags("en-XA,ar-XB")).commit(); in testPackageConfigUpdate_locales_successfullyApplied() 699 config.setLocales(LocaleList.forLanguageTags("en-XC")); in testPackageConfigUpdate_nightMode_successfullyApplied() 718 config.setLocales(LocaleList.forLanguageTags("en-XC")); in testPackageConfigUpdate_multipleLocaleUpdates_successfullyApplied() 726 packageConfigUpdater.setLocales(LocaleList.forLanguageTags("en-XA,ar-XB")) in testPackageConfigUpdate_multipleLocaleUpdates_successfullyApplied() 737 packageConfigUpdater.setLocales(LocaleList.forLanguageTags("ja-XC,en-XC")).commit(); in testPackageConfigUpdate_multipleLocaleUpdates_successfullyApplied() 752 config.setLocales(LocaleList.forLanguageTags("en-XC")); in testPackageConfigUpdate_multipleNightModeUpdates_successfullyApplied() 759 packageConfigUpdater.setLocales(LocaleList.forLanguageTags("en-XA,ar-XB")) in testPackageConfigUpdate_multipleNightModeUpdates_successfullyApplied() 780 config.setLocales(LocaleList.forLanguageTags("en-XC")); in testPackageConfigUpdate_onPackageUninstall_configShouldNotApply() 787 packageConfigUpdater.setLocales(LocaleList.forLanguageTags("en-XA,ar-XB")) in testPackageConfigUpdate_onPackageUninstall_configShouldNotApply() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesLocaleTest.java | 75 config.setLocales(preferredLocales); in testEnglishIsAlwaysConsideredSupported() 92 config.setLocales(preferredLocales); in testSelectFirstSupportedLanguage() 117 config.setLocales(locales); in assertResGetString()
|
D | ResourcesManagerTest.java | 207 expectedConfig.setLocales(LocaleList.getAdjustedDefault()); in testUpdateConfigurationUpdatesAllAssetManagers() 294 expectedConfig1.setLocales(LocaleList.getAdjustedDefault()); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates() 302 expectedConfig2.setLocales(LocaleList.getAdjustedDefault()); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
|
D | ConfigurationTest.java | 98 write.setLocales(new LocaleList(arabic, urdu, urduExtension)); in testReadWriteProto()
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | DateUtilsTest.java | 52 setLocales(LOCALE_LIST_US); in setup() 59 setLocales(mOriginalLocales); in teardown() 155 private void setLocales(LocaleList locales) { in setLocales() method in DateUtilsTest 158 config.setLocales(locales); in setLocales()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locales/ |
D | FakePackageConfigurationUpdater.java | 44 public PackageConfigurationUpdater setLocales(LocaleList locales) { in setLocales() method in FakePackageConfigurationUpdater
|
/frameworks/base/core/java/android/app/ |
D | LocaleManager.java | 184 conf.setLocales(locales); in setSystemLocales()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PackageConfigurationUpdaterImpl.java | 66 setLocales(LocaleList locales) { in setLocales() method in PackageConfigurationUpdaterImpl
|
D | ActivityTaskManagerInternal.java | 726 PackageConfigurationUpdater setLocales(LocaleList locales); in setLocales() method
|
D | ConfigurationContainer.java | 686 requestsTmpConfig.setLocales(overrideLocales); in setOverrideLocales()
|
D | ActivityTaskManagerService.java | 1062 mTempConfig.setLocales(LocaleList.getDefault()); in setWindowManager()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ConfigurationControllerImplTest.kt | 215 config.setLocales(LocaleList(Locale.CANADA, Locale.GERMANY)) in localeListChanged_listenerNotified() 221 config.setLocales(LocaleList(Locale.FRANCE, Locale.JAPAN, Locale.CHINESE)) in localeListChanged_listenerNotified()
|
/frameworks/base/core/tests/coretests/src/android/text/util/ |
D | LinkifyTest.java | 105 overrideConfig.setLocales(LOCALE_LIST_US); in createUsEnglishContext()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | SystemZenRulesTest.java | 66 config.setLocales(new LocaleList(Locale.US)); in setUp()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesImpl.java | 456 mConfiguration.setLocales(locales); in updateConfigurationImpl() 467 mConfiguration.setLocales(new LocaleList(intersection)); in updateConfigurationImpl() 496 mConfiguration.setLocales( in updateConfigurationImpl() 607 mTmpConfig.setLocales(LocaleList.getDefault()); in calcConfigChanges()
|
D | Configuration.java | 1486 setLocales(LocaleList.forLanguageTags(protoInputStream.readString( in readFromProto() 1504 setLocales(new LocaleList(list.toArray(new Locale[list.size()]))); in readFromProto() 2358 public void setLocales(@Nullable LocaleList locales) { in setLocales() method in Configuration 2377 setLocales(loc == null ? LocaleList.getEmptyLocaleList() : new LocaleList(loc)); in setLocale()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaCarouselControllerTest.kt | 156 context.resources.configuration.setLocales(LocaleList(Locale.US, Locale.UK)) in setup() 774 context.resources.configuration.setLocales(LocaleList(Locale.US, Locale.UK, Locale.CANADA)) in testOnLocaleListChanged_playersAreAddedBack() 780 context.resources.configuration.setLocales(LocaleList(Locale.UK, Locale.US, Locale.CANADA)) in testOnLocaleListChanged_playersAreAddedBack()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocalePicker.java | 318 config.setLocales(locales);
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityWindowInfo.java | 574 public void setLocales(@NonNull LocaleList locales) { in setLocales() method in AccessibilityWindowInfo
|
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/ |
D | OverlayBaseTest.java | 102 config.setLocales(locales); in setLocale()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 649 config.setLocales(merged); in setLocaleData()
|
/frameworks/base/services/core/java/com/android/server/locales/ |
D | LocaleManagerService.java | 285 boolean isConfigChanged = updater.setLocales(locales).commit(); in setApplicationLocalesUnchecked()
|
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ |
D | InputMethodUtilsTest.java | 927 resourceConfiguration.setLocales(locales); in createTargetContextWithLocales()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityWindowManager.java | 1022 reportedWindow.setLocales(window.locales); in populateReportedWindowLocked()
|
/frameworks/base/core/java/android/provider/ |
D | Settings.java | 4626 outConfig.setLocales(LocaleList.forLanguageTags(localeValue)); in adjustConfigurationForUser()
|