Home
last modified time | relevance | path

Searched refs:timeZoneId (Results 1 – 7 of 7) sorted by relevance

/base/time/time_service/services/ipc/proxy/inner_api_include/
Dtime_service_proxy.h31 …int32_t SetTimeZone(const std::string &timeZoneId, APIVersion apiVersion = APIVersion::API_VERSION…
32 int32_t GetTimeZone(std::string &timeZoneId) override;
/base/time/time_service/services/ipc/stub/
Dtime_service_stub.cpp102 std::string timeZoneId = data.ReadString(); in OnSetTimeZone() local
114 int32_t ret = SetTimeZone(timeZoneId); in OnSetTimeZone()
122 std::string timeZoneId; in OnGetTimeZone() local
123 int32_t ret = GetTimeZone(timeZoneId); in OnGetTimeZone()
128 reply.WriteString(timeZoneId); in OnGetTimeZone()
/base/time/time_service/services/
Dtime_system_ability.h48 …int32_t SetTimeZone(const std::string &timeZoneId, APIVersion apiVersion = APIVersion::API_VERSION…
49 int32_t GetTimeZone(std::string &timeZoneId) override;
Dtime_system_ability.cpp578 int32_t TimeSystemAbility::SetTimeZone(const std::string &timeZoneId, APIVersion apiVersion) in SetTimeZone() argument
580 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() argument
592 if (!DelayedSingleton<TimeZoneInfo>::GetInstance()->GetTimezone(timeZoneId)) { in GetTimeZone()
596 TIME_HILOGD(TIME_MODULE_SERVICE, "Current timezone : %{public}s", timeZoneId.c_str()); in GetTimeZone()
/base/time/time_service/services/ipc/proxy/
Dtime_service_proxy.cpp149 int32_t TimeServiceProxy::SetTimeZone(const std::string &timeZoneId, APIVersion apiVersion) in SetTimeZone() argument
157 if (!data.WriteString(timeZoneId)) { in SetTimeZone()
174 int32_t TimeServiceProxy::GetTimeZone(std::string &timeZoneId) in GetTimeZone() argument
188 timeZoneId = reply.ReadString(); in GetTimeZone()
/base/time/time_service/interfaces/inner_api/src/
Dtime_service_client.cpp287 std::string timeZoneId; in GetTimeZone() local
295 if (proxy->GetTimeZone(timeZoneId) != ERR_OK) { in GetTimeZone()
299 return timeZoneId; in GetTimeZone()
/base/time/time_service/interfaces/inner_api/include/
Dtime_service_client.h72 TIME_API bool SetTimeZone(const std::string timeZoneId);