| /base/global/i18n/frameworks/intl/test/unittest/ |
| D | locale_config_test.cpp | 51 LocaleConfig::SetSystemLocale("zh-Hans-CN"); in SetUpTestCase() 58 LocaleConfig::SetSystemLocale(originalLocale); in TearDownTestCase() 128 I18nErrorCode status = LocaleConfig::SetSystemLocale(locale); 130 status = LocaleConfig::SetSystemLocale("zh-Hans-CN"); 142 I18nErrorCode status = LocaleConfig::SetSystemLocale(locale); 146 status = LocaleConfig::SetSystemLocale("zh-Hans-CN"); 387 I18nErrorCode status = LocaleConfig::SetSystemLocale(locale);
|
| D | intl_test.cpp | 78 LocaleConfig::SetSystemLocale("zh-Hans-CN"); in SetUpTestCase() 85 LocaleConfig::SetSystemLocale(originalLocale); in TearDownTestCase()
|
| D | i18n_test.cpp | 64 I18nErrorCode status = LocaleConfig::SetSystemLocale(systemLocale);
|
| /base/global/i18n/services/src/ |
| D | i18n_service_ability.cpp | 53 I18nErrorCode I18nServiceAbility::SetSystemLocale(const std::string &locale) in SetSystemLocale() function in OHOS::Global::I18n::I18nServiceAbility 55 return LocaleConfig::SetSystemLocale(locale); in SetSystemLocale()
|
| D | i18n_service_ability_client.cpp | 63 I18nErrorCode I18nServiceAbilityClient::SetSystemLocale(const std::string &locale) in SetSystemLocale() function in OHOS::Global::I18n::I18nServiceAbilityClient 70 return i18nServiceAbilityObj->SetSystemLocale(locale); in SetSystemLocale()
|
| D | i18n_service_ability_proxy.cpp | 56 I18nErrorCode I18nServiceAbilityProxy::SetSystemLocale(const std::string &locale) in SetSystemLocale() function in OHOS::Global::I18n::I18nServiceAbilityProxy
|
| D | i18n_service_ability_stub.cpp | 156 err = SetSystemLocale(locale); in SetSystemLocaleInner()
|
| /base/global/i18n/frameworks/intl/test/fuzztest/localeconfigset_fuzzer/ |
| D | localeconfigset_fuzzer.cpp | 30 LocaleConfig::SetSystemLocale(input); in DoSomethingInterestingWithMyAPI()
|
| /base/global/i18n/services/include/ |
| D | i18n_service_ability_client.h | 54 static I18nErrorCode SetSystemLocale(const std::string &locale);
|
| D | i18n_service_ability_proxy.h | 56 I18nErrorCode SetSystemLocale(const std::string &locale);
|
| D | ii18n_service_ability.h | 31 virtual I18nErrorCode SetSystemLocale(const std::string &locale) = 0;
|
| D | i18n_service_ability.h | 36 I18nErrorCode SetSystemLocale(const std::string &locale) override;
|
| /base/global/i18n/services/test/unittest/src/ |
| D | i18n_service_test.cpp | 86 LocaleConfig::SetSystemLocale("zh-Hans-CN"); in InitTestEnvironment() 181 I18nErrorCode err = I18nServiceAbilityClient::SetSystemLocale("en-US"); 194 I18nErrorCode err = I18nServiceAbilityClient::SetSystemLocale("en-US");
|
| /base/global/i18n/interfaces/js/kits/include/ |
| D | i18n_system_addon.h | 57 static napi_value SetSystemLocale(napi_env env, napi_callback_info info);
|
| /base/global/i18n/frameworks/intl/include/ |
| D | locale_config.h | 60 static I18nErrorCode SetSystemLocale(const std::string &localeTag);
|
| /base/global/i18n/frameworks/intl/src/ |
| D | locale_config.cpp | 1033 if (SetSystemLocale(newLocaleTag) == I18nErrorCode::SUCCESS) { in SetSystemLanguage() 1048 return SetSystemLocale(UpdateRegionOfLocale(regionTag)); in SetSystemRegion() 1051 I18nErrorCode LocaleConfig::SetSystemLocale(const std::string &localeTag) in SetSystemLocale() function in OHOS::Global::I18n::LocaleConfig 1106 return SetSystemLocale(UpdateNumberSystemOfLocale(it->second, flag)); in SetUsingLocalDigit()
|
| /base/global/i18n/interfaces/js/kits/src/ |
| D | i18n_system_addon.cpp | 209 napi_value I18nSystemAddon::SetSystemLocale(napi_env env, napi_callback_info info) in SetSystemLocale() function in OHOS::Global::I18n::I18nSystemAddon 683 I18nErrorCode err = I18nServiceAbilityClient::SetSystemLocale(localeBuf.data()); in SetSystemLocaleImpl()
|