Searched refs:timeZoneId (Results 1 – 7 of 7) sorted by relevance
31 …int32_t SetTimeZone(const std::string &timeZoneId, APIVersion apiVersion = APIVersion::API_VERSION…32 int32_t GetTimeZone(std::string &timeZoneId) override;
102 std::string timeZoneId = data.ReadString(); in OnSetTimeZone() local114 int32_t ret = SetTimeZone(timeZoneId); in OnSetTimeZone()122 std::string timeZoneId; in OnGetTimeZone() local123 int32_t ret = GetTimeZone(timeZoneId); in OnGetTimeZone()128 reply.WriteString(timeZoneId); in OnGetTimeZone()
48 …int32_t SetTimeZone(const std::string &timeZoneId, APIVersion apiVersion = APIVersion::API_VERSION…49 int32_t GetTimeZone(std::string &timeZoneId) override;
578 int32_t TimeSystemAbility::SetTimeZone(const std::string &timeZoneId, APIVersion apiVersion) in SetTimeZone() argument580 if (!DelayedSingleton<TimeZoneInfo>::GetInstance()->SetTimezone(timeZoneId)) { in SetTimeZone()581 TIME_HILOGE(TIME_MODULE_SERVICE, "Set timezone failed :%{public}s", timeZoneId.c_str()); in SetTimeZone()590 int32_t TimeSystemAbility::GetTimeZone(std::string &timeZoneId) in GetTimeZone() argument592 if (!DelayedSingleton<TimeZoneInfo>::GetInstance()->GetTimezone(timeZoneId)) { in GetTimeZone()596 TIME_HILOGD(TIME_MODULE_SERVICE, "Current timezone : %{public}s", timeZoneId.c_str()); in GetTimeZone()
149 int32_t TimeServiceProxy::SetTimeZone(const std::string &timeZoneId, APIVersion apiVersion) in SetTimeZone() argument157 if (!data.WriteString(timeZoneId)) { in SetTimeZone()174 int32_t TimeServiceProxy::GetTimeZone(std::string &timeZoneId) in GetTimeZone() argument188 timeZoneId = reply.ReadString(); in GetTimeZone()
287 std::string timeZoneId; in GetTimeZone() local295 if (proxy->GetTimeZone(timeZoneId) != ERR_OK) { in GetTimeZone()299 return timeZoneId; in GetTimeZone()
72 TIME_API bool SetTimeZone(const std::string timeZoneId);