Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 25 of 30) sorted by relevance

12

/base/powermgr/thermal_manager/services/native/src/thermal_observer/
Dthermal_service_subscriber.cpp90 int32_t sec = 0; in SetHistoryTypeTempMap() local
92 sec = static_cast<int32_t>(difftime(endTime_, startTime_)) / magnification_; in SetHistoryTypeTempMap()
94 THERMAL_HILOGD(COMP_SVC, "SetHistoryTypeTempMap: sec=%{public}d", sec); in SetHistoryTypeTempMap()
101 if (sec == SEC_MIN_NUM) { in SetHistoryTypeTempMap()
102 rate = (sum / THOUSAND_UNIT / sec) * SEC_MIN_NUM; in SetHistoryTypeTempMap()
/base/powermgr/powermgr_lite/utils/include/
Dpower_mgr_time_util.h84 static inline int64_t SecToNsec(int64_t sec) in SecToNsec() argument
86 return sec * NSEC_PER_SEC; in SecToNsec()
89 static inline int64_t SecToMsec(int64_t sec) in SecToMsec() argument
91 return sec * MSEC_PER_SEC; in SecToMsec()
/base/hiviewdfx/hilog/frameworks/libhilog/utils/include/
Dlog_timestamp.h41 explicit LogTimeStamp(uint32_t sec, uint32_t nsec = 0)
42 : tv_sec(sec), tv_nsec(nsec) {} in tv_sec() argument
102 void SetTimeStamp(uint32_t sec, uint32_t nsec) in SetTimeStamp() argument
104 this->tv_sec = sec; in SetTimeStamp()
/base/hiviewdfx/hilog_lite/services/hilogcat/
Dhiview_logcat.c60 unsigned int sec = head->sec; in main() local
61 rawtime = (time_t)sec; in main()
/base/startup/init/test/unittest/init/
Dutils_unittest.cpp71 float sec = ConvertMicrosecondToSecond(1000000); // 1000000 microseconds variable
72 EXPECT_EQ(sec, 1);
/base/hiviewdfx/hicollie/frameworks/native/
Dthread_sampler_utils.cpp39 time_t sec = static_cast<time_t>(time / SEC_TO_NANOSEC); in TimeFormat() local
41 struct tm* localTime = localtime(&sec); in TimeFormat()
/base/security/device_security_level/baselib/utils/include/
Dutils_datetime.h29 uint16_t sec; member
/base/security/device_security_level/profile/
Ddslm_service.cfg16 "ohos.permission.sec.ACCESS_UDID",
/base/hiviewdfx/hilog_lite/services/apphilogcat/
Dhiview_applogcat.c207 unsigned int sec = head->sec; in main() local
208 rawtime = (time_t)sec; in main()
/base/useriam/user_auth_framework/sa_profile/
Duseriam.cfg20 "ohos.permission.sec.ACCESS_UDID"
/base/tee/tee_client/
DREADME_zh.md59 context.ta_path = (uint8_t *)"/data/58dbb3b9-4a0c-42d2-a84d-7c7ab17539fc.sec"
62 …如果CA不通过ta_path指定TA的文件路径,则TEE Client会从缺省路径下读取uuid.sec(uuid需要替换为TA的真实uuid)命名的TA文件。缺省路径有两个:/system/bi…
DREADME.md59 context.ta_path = (uint8_t *)"/data/58dbb3b9-4a0c-42d2-a84d-7c7ab17539fc.sec"
62 …o specify the file path of TA, TEE Client will read the TA file named uuid.sec (uuid needs to be r…
/base/hiviewdfx/faultloggerd/frameworks/localhandler/
Ddfx_crash_local_handler.cpp115 time_t sec = static_cast<time_t>(currentTime / TIME_DIV); in PrintTimeStamp() local
117 struct tm* t = localtime(&sec); in PrintTimeStamp()
/base/hiviewdfx/hilog_lite/interfaces/native/innerkits/hilog/
Dhiview_log.h322 unsigned int sec; member
/base/security/device_security_level/baselib/utils/src/
Dutils_datetime.c69 datetime->sec = (uint16_t)tm.tm_sec; in GetDateTimeByMillisecondSince1970()
/base/hiviewdfx/hievent_lite/frameworks/
Dhiview_output_event.c416 uint32 time, hour, mte, sec; in EventContentFmt() local
422 sec = time % SECONDS_PER_MINUTE; in EventContentFmt()
426 hour, mte, sec, event->common.eventId, event->type); in EventContentFmt()
430 hour, mte, sec, event->common.eventId, event->type, event->payload); in EventContentFmt()
/base/hiviewdfx/faultloggerd/test/resource/testdata/
Dphdrs_from_readelf_6442 03 .init .plt .plt.got .plt.sec .text .fini
Dphdrs_from_readelf_3227 03 .init .plt .plt.got .plt.sec .text .fini
Dshdrs_from_readelf_6436 [15] .plt.sec PROGBITS 00000000000021a0 000021a0
Dshdrs_from_readelf_3220 [15] .plt.sec PROGBITS 000011c0 0011c0 000160 10 AX 0 0 16
/base/hiviewdfx/hilog_lite/frameworks/mini/
Dhiview_output_log.c402 uint32 month, day, hour, min, sec; in LogCommonFmt() local
412 sec = nowTime.tm_sec; in LogCommonFmt()
418 …month, day, hour, min, sec, commonContentPtr->milli, commonContentPtr->task, g_logLevelInfo[level], in LogCommonFmt()
/base/hiviewdfx/hilog/services/hilogtool/
Dlog_display.cpp134 uint32_t sec = tmp - (min * MIN2SEC); in DurationStr() local
137 ret = snprintf_s(buffer, TIME_W, TIME_W - 1, "%uh%um%us.%u", hour, min, sec, msec); in DurationStr()
/base/time/time_service/services/
Dtime_system_ability.h112 int SetRtcTime(time_t sec);
/base/global/i18n_lite/frameworks/i18n/src/
Ddate_time_format_impl.cpp521 int32_t sec = milliseconds % MINUTE_IN_MILLIS / SECOND_IN_MILLIS; in FormatElapsedDuration() local
529 const struct ElapsedTime time = { hour, min, sec, mil }; in FormatElapsedDuration()
/base/security/device_security_level/services/dfx/
Ddslm_hidumper.c55 …teTime.year, dateTime.mon, dateTime.day, dateTime.hour, dateTime.min, dateTime.sec, dateTime.msec); in GetTimeStringFromTimeStamp()

12