Home
last modified time | relevance | path

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

/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_HILOGI(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/services/loopevent/timer/
Dle_timer.c29 time_t sec = timeout / TIMEOUT_BASE; in SetTimer_() local
30 timeValue.it_interval.tv_sec = sec; in SetTimer_()
33 timeValue.it_value.tv_sec = sec; in SetTimer_()
35 LE_LOGV("SetTimer_ sec %llu tv_nsec %lu", sec, nsec); in SetTimer_()
/base/startup/init/test/unittest/init/
Dutils_unittest.cpp70 float sec = ConvertMicrosecondToSecond(1000000); // 1000000 microseconds variable
71 EXPECT_EQ(sec, 1);
/base/security/device_security_level/baselib/utils/include/
Dutils_datetime.h29 uint16_t sec; member
/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/security/device_security_level/baselib/utils/src/
Dutils_datetime.c59 datetime->sec = (uint16_t)tm.tm_sec; in GetDateTimeByMillisecondSince1970()
/base/hiviewdfx/hilog_lite/interfaces/native/innerkits/hilog/
Dhiview_log.h322 unsigned int sec; member
/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/time/time_service/services/
Dtime_system_ability.h88 int SetRtcTime(time_t sec);
Dtime_system_ability.cpp455 int TimeSystemAbility::SetRtcTime(time_t sec) in SetRtcTime() argument
477 gmtime_res = gmtime_r(&sec, &tm); in SetRtcTime()
/base/telephony/sms_mms/services/
Dsms_sender.cpp192 seconds sec = duration_cast<seconds>(timePoint); in SendCacheMapTimeoutCheck() local
193 long timeStamp = sec.count(); in SendCacheMapTimeoutCheck()
/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/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/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()
/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/notification/common_event_service/test/systemtest/common/acts/actsCESDataTest/
DactsCESDataTest.cpp142 void Delay(int sec) in Delay() argument
148 } while ((curtime - starttimeDelay) < sec); in Delay()
/base/update/updater/test/unittest/test_data/applypatch/
DTestGZipModeImagePatch.old.gz