Home
last modified time | relevance | path

Searched refs:SetSystemRegion (Results 1 – 16 of 16) sorted by relevance

/base/global/i18n/services/test/unittest/src/
Di18n_service_test.cpp85 LocaleConfig::SetSystemRegion("CN"); in InitTestEnvironment()
143 I18nErrorCode err = I18nServiceAbilityClient::SetSystemRegion("US");
156 I18nErrorCode err = I18nServiceAbilityClient::SetSystemRegion("US");
169 I18nErrorCode err = I18nServiceAbilityClient::SetSystemRegion("fake_region_tag");
207 I18nErrorCode err = I18nServiceAbilityClient::SetSystemRegion("fake_locale_tag");
/base/global/i18n/services/src/
Di18n_service_ability.cpp48 I18nErrorCode I18nServiceAbility::SetSystemRegion(const std::string &region) in SetSystemRegion() function in OHOS::Global::I18n::I18nServiceAbility
50 return LocaleConfig::SetSystemRegion(region); in SetSystemRegion()
Di18n_service_ability_client.cpp53 I18nErrorCode I18nServiceAbilityClient::SetSystemRegion(const std::string &region) in SetSystemRegion() function in OHOS::Global::I18n::I18nServiceAbilityClient
60 return i18nServiceAbilityObj->SetSystemRegion(region); in SetSystemRegion()
Di18n_service_ability_proxy.cpp44 I18nErrorCode I18nServiceAbilityProxy::SetSystemRegion(const std::string &region) in SetSystemRegion() function in OHOS::Global::I18n::I18nServiceAbilityProxy
Di18n_service_ability_stub.cpp139 err = SetSystemRegion(region); in SetSystemRegionInner()
/base/global/i18n/frameworks/intl/test/fuzztest/localeconfigset_fuzzer/
Dlocaleconfigset_fuzzer.cpp29 LocaleConfig::SetSystemRegion(input); in DoSomethingInterestingWithMyAPI()
/base/global/i18n/services/include/
Di18n_service_ability_client.h46 static I18nErrorCode SetSystemRegion(const std::string &region);
Di18n_service_ability_proxy.h48 I18nErrorCode SetSystemRegion(const std::string &region);
Dii18n_service_ability.h30 virtual I18nErrorCode SetSystemRegion(const std::string &region) = 0;
Di18n_service_ability.h35 I18nErrorCode SetSystemRegion(const std::string &region) override;
/base/global/i18n/frameworks/intl/test/unittest/
Dlocale_config_test.cpp50 LocaleConfig::SetSystemRegion("CN"); in SetUpTestCase()
57 LocaleConfig::SetSystemRegion(originalRegion); in TearDownTestCase()
144 status = LocaleConfig::SetSystemRegion("HK");
371 I18nErrorCode status = LocaleConfig::SetSystemRegion(region);
Dintl_test.cpp77 LocaleConfig::SetSystemRegion("CN"); in SetUpTestCase()
84 LocaleConfig::SetSystemRegion(originalRegion); in TearDownTestCase()
1964 status = LocaleConfig::SetSystemRegion("CN");
/base/global/i18n/interfaces/js/kits/include/
Di18n_system_addon.h55 static napi_value SetSystemRegion(napi_env env, napi_callback_info info);
/base/global/i18n/frameworks/intl/include/
Dlocale_config.h52 static I18nErrorCode SetSystemRegion(const std::string &regionTag);
/base/global/i18n/interfaces/js/kits/src/
Di18n_system_addon.cpp187 napi_value I18nSystemAddon::SetSystemRegion(napi_env env, napi_callback_info info) in SetSystemRegion() function in OHOS::Global::I18n::I18nSystemAddon
641 I18nErrorCode err = I18nServiceAbilityClient::SetSystemRegion(regionBuf.data()); in SetSystemRegionImpl()
/base/global/i18n/frameworks/intl/src/
Dlocale_config.cpp1042 I18nErrorCode LocaleConfig::SetSystemRegion(const std::string &regionTag) in SetSystemRegion() function in OHOS::Global::I18n::LocaleConfig