Home
last modified time | relevance | path

Searched refs:setLocale (Results 1 – 25 of 119) sorted by relevance

12345

/packages/apps/TvSystemUI/tests/src/com/android/systemui/tv/hdmi/
DHdmiCecSetMenuLanguageHelperTest.java67 mHdmiCecSetMenuLanguageHelper.setLocale("en"); in testSetGetLocale()
73 mHdmiCecSetMenuLanguageHelper.setLocale("en"); in testIsLocaleDenylisted_EmptyByDefault()
79 mHdmiCecSetMenuLanguageHelper.setLocale("de"); in testIsLocaleDenylisted_AcceptLanguage()
87 mHdmiCecSetMenuLanguageHelper.setLocale("de"); in testIsLocaleDenylisted_DeclineLanguage()
97 mHdmiCecSetMenuLanguageHelper.setLocale("de"); in testIsLocaleDenylisted_DeclineTwoLanguages()
103 mHdmiCecSetMenuLanguageHelper.setLocale("pl"); in testIsLocaleDenylisted_DeclineTwoLanguages()
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleUtils.java41 .setLocale(Locale.forLanguageTag(languageTag)) in isInSystemLocale()
46 new Locale.Builder().setLocale(systemLocales.get(i)).clearExtensions().build(); in isInSystemLocale()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsSet.java44 public void setLocale(final Locale locale, final Context context) { in setLocale() method in KeyboardTextsSet
49 setLocale(locale, res, resourcePackageName); in setLocale()
53 public void setLocale(final Locale locale, final Resources res, in setLocale() method in KeyboardTextsSet
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DUserDictionaryListControllerTest.java93 mController.setLocale(null); in createUserDictSettings_emptyLocaleSetWithNewScreen_shouldAddOnePreference()
107 mController.setLocale(null); in createUserDictSettings_emptyLocaleSetWithOldScreen_shouldNotAddNewPreference()
124 mController.setLocale("en"); in createUserDictSettings_threeLocales_shouldAddFourPreference()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDeviceOwnerInitializeProvisioningTask.java41 setLocale(mProvisioningParams.locale); in run()
61 private void setLocale(Locale locale) { in setLocale() method in DeviceOwnerInitializeProvisioningTask
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/
DStepsFormatterTest.kt21 import com.android.healthconnect.controller.tests.utils.setLocale
46 context.setLocale(Locale.US) in setup()
DHeartRateVariabilityRmssdFormatterTest.kt28 import com.android.healthconnect.controller.tests.utils.setLocale
52 context.setLocale(Locale.US) in setup()
DIntermenstrualBleedingFormatterTest.kt28 import com.android.healthconnect.controller.tests.utils.setLocale
52 context.setLocale(Locale.US) in setup()
DFloorsFormatterTest.kt25 import com.android.healthconnect.controller.tests.utils.setLocale
50 context.setLocale(Locale.US) in setup()
DRespiratoryRateFormatterTest.kt25 import com.android.healthconnect.controller.tests.utils.setLocale
50 context.setLocale(Locale.US) in setup()
DRestingHeartRateFormatterTest.kt25 import com.android.healthconnect.controller.tests.utils.setLocale
50 context.setLocale(Locale.US) in setup()
DWheelchairPushesFormatterTest.kt25 import com.android.healthconnect.controller.tests.utils.setLocale
50 context.setLocale(Locale.US) in setup()
DBasalMetabolicRateFormatterTest.kt27 import com.android.healthconnect.controller.tests.utils.setLocale
51 context.setLocale(Locale.US) in setup()
DBodyFatFormatterTest.kt26 import com.android.healthconnect.controller.tests.utils.setLocale
52 context.setLocale(Locale.US) in setup()
DActiveCaloriesBurnedFormatterTest.kt26 import com.android.healthconnect.controller.tests.utils.setLocale
49 InstrumentationRegistry.getInstrumentation().context.setLocale(Locale.US) in setup()
DMenstruationFlowFormatterTest.kt30 import com.android.healthconnect.controller.tests.utils.setLocale
55 context.setLocale(Locale.US) in setup()
DTotalCaloriesBurnedFormatterTest.kt26 import com.android.healthconnect.controller.tests.utils.setLocale
49 InstrumentationRegistry.getInstrumentation().context.setLocale(Locale.US) in setup()
DSexualActivityFormatterTest.kt29 import com.android.healthconnect.controller.tests.utils.setLocale
54 context.setLocale(Locale.US) in setup()
DHeartRateFormatterTest.kt25 import com.android.healthconnect.controller.tests.utils.setLocale
50 context.setLocale(Locale.UK) in setup()
DElevationFormatterTest.kt26 import com.android.healthconnect.controller.tests.utils.setLocale
51 context.setLocale(Locale.US) in setup()
DOvulationTestFormatterTest.kt29 import com.android.healthconnect.controller.tests.utils.setLocale
54 context.setLocale(Locale.US) in setup()
DOxygenSaturationFormatterTest.kt26 import com.android.healthconnect.controller.tests.utils.setLocale
51 context.setLocale(Locale.US) in setup()
DHydrationFormatterTest.kt26 import com.android.healthconnect.controller.tests.utils.setLocale
51 context.setLocale(Locale.US) in setup()
DDistanceFormatterTest.kt28 import com.android.healthconnect.controller.tests.utils.setLocale
54 context.setLocale(Locale.US) in setup()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsSetTests.java76 textsSet.setLocale(locale, context); in testSwitchToAlphaKeyLabel()
103 textsSet.setLocale(locale, context); in testTextFromResources()

12345