Home
last modified time | relevance | path

Searched refs:setLocales (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTaskManagerServiceTests.java679 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/
DResourcesLocaleTest.java75 config.setLocales(preferredLocales); in testEnglishIsAlwaysConsideredSupported()
92 config.setLocales(preferredLocales); in testSelectFirstSupportedLanguage()
117 config.setLocales(locales); in assertResGetString()
DResourcesManagerTest.java207 expectedConfig.setLocales(LocaleList.getAdjustedDefault()); in testUpdateConfigurationUpdatesAllAssetManagers()
294 expectedConfig1.setLocales(LocaleList.getAdjustedDefault()); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
302 expectedConfig2.setLocales(LocaleList.getAdjustedDefault()); in testMultipleResourcesForOneActivityGetUpdatedWhenActivityBaseUpdates()
DConfigurationTest.java98 write.setLocales(new LocaleList(arabic, urdu, urduExtension)); in testReadWriteProto()
/frameworks/base/core/tests/coretests/src/android/text/format/
DDateUtilsTest.java52 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/
DFakePackageConfigurationUpdater.java44 public PackageConfigurationUpdater setLocales(LocaleList locales) { in setLocales() method in FakePackageConfigurationUpdater
/frameworks/base/core/java/android/app/
DLocaleManager.java184 conf.setLocales(locales); in setSystemLocales()
/frameworks/base/services/core/java/com/android/server/wm/
DPackageConfigurationUpdaterImpl.java66 setLocales(LocaleList locales) { in setLocales() method in PackageConfigurationUpdaterImpl
DActivityTaskManagerInternal.java726 PackageConfigurationUpdater setLocales(LocaleList locales); in setLocales() method
DConfigurationContainer.java686 requestsTmpConfig.setLocales(overrideLocales); in setOverrideLocales()
DActivityTaskManagerService.java1062 mTempConfig.setLocales(LocaleList.getDefault()); in setWindowManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImplTest.kt215 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/
DLinkifyTest.java105 overrideConfig.setLocales(LOCALE_LIST_US); in createUsEnglishContext()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DSystemZenRulesTest.java66 config.setLocales(new LocaleList(Locale.US)); in setUp()
/frameworks/base/core/java/android/content/res/
DResourcesImpl.java456 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()
DConfiguration.java1486 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/
DMediaCarouselControllerTest.kt156 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/
DLocalePicker.java318 config.setLocales(locales);
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityWindowInfo.java574 public void setLocales(@NonNull LocaleList locales) { in setLocales() method in AccessibilityWindowInfo
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
DOverlayBaseTest.java102 config.setLocales(locales); in setLocale()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java649 config.setLocales(merged); in setLocaleData()
/frameworks/base/services/core/java/com/android/server/locales/
DLocaleManagerService.java285 boolean isConfigChanged = updater.setLocales(locales).commit(); in setApplicationLocalesUnchecked()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DInputMethodUtilsTest.java927 resourceConfiguration.setLocales(locales); in createTargetContextWithLocales()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityWindowManager.java1022 reportedWindow.setLocales(window.locales); in populateReportedWindowLocked()
/frameworks/base/core/java/android/provider/
DSettings.java4626 outConfig.setLocales(LocaleList.forLanguageTags(localeValue)); in adjustConfigurationForUser()

12