Home
last modified time | relevance | path

Searched refs:SetSystemRegion (Results 1 - 17 of 17) sorted by relevance

/base/global/i18n/services/test/unittest/src/
H A Di18n_service_test.cpp87 LocaleConfig::SetSystemRegion("CN"); in InitTestEnvironment()
139 * @tc.desc: Test I18nServiceAbilityClient SetSystemRegion: no permission case.
145 I18nErrorCode err = I18nServiceAbilityClient::SetSystemRegion("US"); in HWTEST_F()
151 * @tc.desc: Test I18nServiceAbilityClient SetSystemRegion
158 I18nErrorCode err = I18nServiceAbilityClient::SetSystemRegion("US"); in HWTEST_F()
164 * @tc.desc: Test I18nServiceAbilityClient SetSystemRegion: invalid region tag.
171 I18nErrorCode err = I18nServiceAbilityClient::SetSystemRegion("fake_region_tag"); in HWTEST_F()
211 I18nErrorCode err = I18nServiceAbilityClient::SetSystemRegion("fake_locale_tag"); in HWTEST_F()
/base/global/i18n/services/include/
H A Di18n_service_ability_proxy.h48 I18nErrorCode SetSystemRegion(const std::string &region);
H A Di18n_service_ability_client.h46 static I18nErrorCode SetSystemRegion(const std::string &region);
H A Dii18n_service_ability.h30 virtual I18nErrorCode SetSystemRegion(const std::string &region) = 0;
H A Di18n_service_ability.h36 I18nErrorCode SetSystemRegion(const std::string &region) override;
/base/global/i18n/frameworks/intl/test/fuzztest/localeconfigset_fuzzer/
H A Dlocaleconfigset_fuzzer.cpp29 LocaleConfig::SetSystemRegion(input); in DoSomethingInterestingWithMyAPI()
/base/global/i18n/services/src/
H A Di18n_service_ability.cpp50 I18nErrorCode I18nServiceAbility::SetSystemRegion(const std::string &region) in SetSystemRegion() function in OHOS::Global::I18n::I18nServiceAbility
52 return LocaleConfig::SetSystemRegion(region); in SetSystemRegion()
H A Di18n_service_ability_client.cpp50 I18nErrorCode I18nServiceAbilityClient::SetSystemRegion(const std::string &region) in SetSystemRegion() function in OHOS::Global::I18n::I18nServiceAbilityClient
57 return i18nServiceAbilityObj->SetSystemRegion(region); in SetSystemRegion()
H A Di18n_service_ability_proxy.cpp42 I18nErrorCode I18nServiceAbilityProxy::SetSystemRegion(const std::string &region) in SetSystemRegion() function in OHOS::Global::I18n::I18nServiceAbilityProxy
H A Di18n_service_ability_stub.cpp148 err = SetSystemRegion(region); in SetSystemRegionInner()
/base/global/i18n/frameworks/intl/test/unittest/
H A Dlocale_config_test.cpp50 LocaleConfig::SetSystemRegion("CN"); in SetUpTestCase()
57 LocaleConfig::SetSystemRegion(originalRegion); in TearDownTestCase()
137 * @tc.desc: Test LocaleConfig SetSystemRegion
145 status = LocaleConfig::SetSystemRegion("HK"); in HWTEST_F()
149 status = LocaleConfig::SetSystemRegion("@*%"); in HWTEST_F()
391 I18nErrorCode status = LocaleConfig::SetSystemRegion(region); in HWTEST_F()
H A Dintl_test.cpp73 LocaleConfig::SetSystemRegion("CN"); in SetUpTestCase()
80 LocaleConfig::SetSystemRegion(originalRegion); in TearDownTestCase()
H A Dintl_test_extent.cpp108 status = LocaleConfig::SetSystemRegion("CN"); in HWTEST_F()
/base/global/i18n/interfaces/js/kits/include/
H A Di18n_system_addon.h55 static napi_value SetSystemRegion(napi_env env, napi_callback_info info);
/base/global/i18n/frameworks/intl/include/
H A Dlocale_config.h54 static I18nErrorCode SetSystemRegion(const std::string &regionTag);
/base/global/i18n/interfaces/js/kits/src/
H A Di18n_system_addon.cpp185 napi_value I18nSystemAddon::SetSystemRegion(napi_env env, napi_callback_info info) in SetSystemRegion() function in OHOS::Global::I18n::I18nSystemAddon
652 I18nErrorCode err = I18nServiceAbilityClient::SetSystemRegion(regionBuf.data()); in SetSystemRegionImpl()
/base/global/i18n/frameworks/intl/src/
H A Dlocale_config.cpp1219 I18nErrorCode LocaleConfig::SetSystemRegion(const std::string &regionTag) in SetSystemRegion() function in OHOS::Global::I18n::LocaleConfig
1222 HILOG_ERROR_I18N("LocaleConfig::SetSystemRegion %{public}s is not valid region tag.", regionTag.c_str()); in SetSystemRegion()

Completed in 22 milliseconds