Lines Matching refs:I18nServiceAbility
31 REGISTER_SYSTEM_ABILITY_BY_ID(I18nServiceAbility, I18N_SA_ID, false);
35 I18nServiceAbility::I18nServiceAbility(int32_t saId, bool runOnCreate) : SystemAbility(saId, runOnCreate)
37 HILOG_INFO_I18N("I18nServiceAbility object init success.");
40 I18nServiceAbility::~I18nServiceAbility()
42 HILOG_INFO_I18N("I18nServiceAbility object release.");
45 I18nErrorCode I18nServiceAbility::SetSystemLanguage(const std::string &language)
50 I18nErrorCode I18nServiceAbility::SetSystemRegion(const std::string ®ion)
55 I18nErrorCode I18nServiceAbility::SetSystemLocale(const std::string &locale)
60 I18nErrorCode I18nServiceAbility::Set24HourClock(const std::string &flag)
65 I18nErrorCode I18nServiceAbility::SetUsingLocalDigit(bool flag)
70 I18nErrorCode I18nServiceAbility::AddPreferredLanguage(const std::string &language, int32_t index)
75 I18nErrorCode I18nServiceAbility::RemovePreferredLanguage(int32_t index)
80 void I18nServiceAbility::UnloadI18nServiceAbility()
88 HILOG_INFO_I18N("I18nServiceAbility::UnloadI18nServiceAbility start to unload i18n sa.");
97 void I18nServiceAbility::OnStart(const SystemAbilityOnDemandReason& startReason)
99 HILOG_INFO_I18N("I18nServiceAbility start.");
110 HILOG_INFO_I18N("I18nServiceAbility Publish success.");
112 HILOG_INFO_I18N("I18nServiceAbility Publish failed.");
120 void I18nServiceAbility::OnStop()
128 HILOG_INFO_I18N("I18nServiceAbility Stop.");