/base/hiviewdfx/hiview/plugins/freeze_detector/ |
H A D | resolver.cpp | 138 std::string timeZone = ""; in GetTimeZone() local 143 return timeZone; in GetTimeZone() 147 timeZone = (hour >= 0) ? "+" : "-"; in GetTimeZone() 151 timeZone.append("0"); in GetTimeZone() 153 timeZone.append(std::to_string(absHour)); in GetTimeZone() 158 timeZone.append("0"); in GetTimeZone() 160 timeZone.append(std::to_string(absMinute)); in GetTimeZone() 162 return timeZone; in GetTimeZone()
|
/base/time/time_service/interfaces/kits/c/src/ |
H A D | time_service.c | 22 TimeService_ErrCode OH_TimeService_GetTimeZone(char *timeZone, uint32_t len) in OH_TimeService_GetTimeZone() argument 24 int ret = GetParameter(TIMEZONE_KEY, "", timeZone, len); in OH_TimeService_GetTimeZone()
|
/base/time/time_service/test/fuzztest/timemanager_fuzzer/timesettimezone_fuzzer/ |
H A D | timesettimezone_fuzzer.cpp | 30 std::string timeZone(reinterpret_cast<const char *>(rawData), size); in FuzzTimeSetTimezone() 31 TimeServiceClient::GetInstance()->SetTimeZone(timeZone); in FuzzTimeSetTimezone() 32 TimeServiceClient::GetInstance()->SetTimeZone(timeZone); in FuzzTimeSetTimezone() 33 TimeServiceClient::GetInstance()->SetTimeZoneV9(timeZone); in FuzzTimeSetTimezone() 35 TimeServiceClient::GetInstance()->SetTimeZone(timeZone, code); in FuzzTimeSetTimezone()
|
/base/hiviewdfx/hiview/base/event_store/utility/reader/ |
H A D | content_reader_version_2.cpp | 58 uint8_t timeZone; member 119 header.timeZone = ContentHeaderV2.timeZone; in GetContentHeader()
|
H A D | content_reader_version_1.cpp | 58 uint8_t timeZone;
member 117 header.timeZone = contentHeaderV1.timeZone;
in GetContentHeader()
|
/base/telephony/core_service/services/network_search/src/ |
H A D | nitz_update.cpp | 310 std::string timeZone = util.GetDefaultZone(countryCode.c_str()); in UpdateCountryCode() local 311 if (timeZone.empty()) { in UpdateCountryCode() 313 timeZone = util.GetDefaultZone(countryCode.c_str(), offset); in UpdateCountryCode() 315 if (timeZone.empty()) { in UpdateCountryCode() 319 SaveTimeZone(timeZone); in UpdateCountryCode() 322 void NitzUpdate::SaveTimeZone(std::string &timeZone) in SaveTimeZone() argument 325 if (timeZone == lastTimeZone) { in SaveTimeZone() 327 timeZone.c_str(), slotId_); in SaveTimeZone() 331 timeZone_ = timeZone; in SaveTimeZone() 332 bool result = OHOS::MiscServices::TimeServiceClient::GetInstance()->SetTimeZone(timeZone); in SaveTimeZone() [all...] |
/base/telephony/sms_mms/services/sms/gsm/ |
H A D | gsm_sms_param_encode.cpp | 216 int32_t timeZone = timeStamp->time.absolute.timeZone; in EncodeTimePdu() local 230 if (timeZone < 0) { in EncodeTimePdu() 233 char value = (static_cast<uint8_t>(timeStamp->time.absolute.timeZone % DIGIT_TEN) << HEX_VALUE_04) + in EncodeTimePdu() 234 (timeStamp->time.absolute.timeZone / DIGIT_TEN) + resultValue.front(); in EncodeTimePdu()
|
/base/time/time_service/interfaces/kits/c/include/ |
H A D | time_service.h | 60 * @param timeZone Pointer to an array of characters indicating the time zone ID. On success, the string indicates the 66 * Returns {@link TIMESERVICE_ERR_INVALID_PARAMETER} if <b>timeZone</b> is a null pointer or the length of the 71 TimeService_ErrCode OH_TimeService_GetTimeZone(char *timeZone, uint32_t len);
|
/base/hiviewdfx/hiview/base/event_raw/encoded/ |
H A D | raw_data_builder.cpp | 39 AppendTimeStamp(header.timestamp).AppendTimeZone(header.timeZone).AppendLog(header.log). in RawDataBuilder() 154 RawDataBuilder& RawDataBuilder::AppendTimeZone(const std::string& timeZone) in AppendTimeZone() argument 156 header_.timeZone = static_cast<uint8_t>(ParseTimeZone(timeZone)); in AppendTimeZone() 160 RawDataBuilder& RawDataBuilder::AppendTimeZone(const uint8_t timeZone) in AppendTimeZone() argument 162 header_.timeZone = timeZone; in AppendTimeZone()
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_easy/include/ |
H A D | easy_event_builder.h | 36 uint8_t timeZone; member
|
/base/time/time_service/framework/js/napi/system_time/src/ |
H A D | js_systemtime.cpp | 36 std::string timeZone = ""; member 131 AsyncContext *asyncContext = new (std::nothrow) AsyncContext{ .env = env, .timeZone = timezoneId }; in JSSystemTimeSetTimeZone() 144 asyncContext->isOK = TimeServiceClient::GetInstance()->SetTimeZone(asyncContext->timeZone, errorCode); in JSSystemTimeSetTimeZone() 399 asyncContext->timeZone = TimeServiceClient::GetInstance()->GetTimeZone(); in JSSystemTimeGetTimeZone() 406 if (asyncContext->timeZone == "") { in JSSystemTimeGetTimeZone() 412 napi_create_string_utf8(env, asyncContext->timeZone.c_str(), asyncContext->timeZone.length(), &result); in JSSystemTimeGetTimeZone()
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include/ |
H A D | raw_data_base_def.h | 55 uint8_t timeZone; member
|
/base/hiviewdfx/hiview/base/event_store/include/ |
H A D | base_def.h | 97 uint8_t timeZone;
member
|
/base/telephony/core_service/services/network_search/include/ |
H A D | nitz_update.h | 49 void SaveTimeZone(std::string &timeZone);
|
/base/global/i18n/frameworks/intl/src/ |
H A D | date_time_format.cpp | 379 if (configs.count("timeZone") > 0) { in ParseConfigsPartTwo() 380 timeZone = configs["timeZone"]; in ParseConfigsPartTwo() 574 std::string timezoneStr = timeZone.empty() ? GetSystemTimezone() : timeZone; in Format() 595 std::string timezoneStr = timeZone.empty() ? GetSystemTimezone() : timeZone; in FormatRange() 637 if (!timeZone.empty()) { in GetResolvedOptions() 638 map.insert(std::make_pair("timeZone", timeZone)); in GetResolvedOptions() [all...] |
/base/hiviewdfx/hisysevent/frameworks/native/test/unittest/common/ |
H A D | hisysevent_c_wrapper_test.cpp | 88 const std::string& timeZone) in CreateSysEventRecord() 93 memcpy_s(record.tz, MAX_LENGTH_OF_TIME_ZONE, timeZone.c_str(), timeZone.length() + EXT_BYTE_CNT) != EOK) { in CreateSysEventRecord() 87 CreateSysEventRecord(const std::string& domain, const std::string& name, const std::string& timeZone) CreateSysEventRecord() argument
|
/base/telephony/sms_mms/services/sms/include/ |
H A D | sms_pdu_code_type.h | 76 int32_t timeZone; // gsm member
|
/base/hiviewdfx/hiview/base/event_raw/include/base/ |
H A D | raw_data_base_def.h | 91 uint8_t timeZone; member 194 + sizeof(HiSysEventHeader::timestamp) + sizeof(HiSysEventHeader::timeZone) + sizeof(HiSysEventHeader::uid);
|
/base/hiviewdfx/hiview/base/event_raw/include/encoded/ |
H A D | raw_data_builder.h | 62 RawDataBuilder& AppendTimeZone(const std::string& timeZone); 63 RawDataBuilder& AppendTimeZone(const uint8_t timeZone); 495 val = static_cast<std::decay_t<T>>(header_.timeZone); in ParseTimeZoneFromHeader() 499 val = ParseTimeZone(header_.timeZone); in ParseTimeZoneFromHeader() 525 .timeZone = 0,
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_easy/ |
H A D | hisysevent_easy.c | 83 header->timeZone = ParseTimeZone(timezone); in InitEventHeader()
|
/base/hiviewdfx/hiview/base/event_raw/decoded/ |
H A D | decoded_event.cpp | 108 auto timeZone = ParseTimeZone(static_cast<size_t>(header_.timeZone)); in AppendBaseInfo() local 109 AppendValue(ss, BASE_INFO_KEY_TIME_ZONE, timeZone); in AppendBaseInfo()
|
/base/global/i18n/frameworks/intl/include/ |
H A D | date_time_format.h | 66 std::string timeZone; member in OHOS::Global::I18n::DateTimeFormat
|
/base/hiviewdfx/hiview/base/event_raw/include/decoded/ |
H A D | decoded_event.h | 132 .timeZone = 0,
|
/base/telephony/sms_mms/test/fuzztest/gsmsmsparamcodec_fuzzer/ |
H A D | gsmsmsparamcodec_fuzzer.cpp | 217 stamp->time.absolute.timeZone = size; in EncodePduItemsTest()
|
/base/telephony/sms_mms/test/fuzztest/gsmsmsmessage_fuzzer/ |
H A D | gsmsmsmessage_fuzzer.cpp | 84 times.time.absolute.timeZone = static_cast<uint8_t>(size); in CalcReplyEncodeAddress()
|