Home
last modified time | relevance | path

Searched refs:hour (Results 1 - 9 of 9) sorted by relevance

/drivers/hdf_core/framework/support/platform/src/rtc/
H A Drtc_base.c50 IS_INVALID_HOUR(time->hour) || IS_INVALID_MIN(time->minute) || in RtcIsInvalid()
96 PLAT_LOGV("RtcToTimestamp: year-month-day hour:min:second ms %04u-%02u-%02u %02u:%02u:%02u .%03u", in RtcTimeToTimestamp()
97 time->year, time->month, time->day, time->hour, time->minute, time->second, time->millisecond); in RtcTimeToTimestamp()
103 seconds = ((uint64_t)time->hour * RTC_MAX_MINUTE + time->minute) * RTC_MAX_SECOND + time->second; in RtcTimeToTimestamp()
145 time->hour = daySeconds / RTC_HOUR_SECONDS; in TimestampToRtcTime()
149 PLAT_LOGV("TimestampToRtc: year-month-day weekday hour:min:second ms %04u-%02u-%02u %u %02u:%02u:%02u .%03u", in TimestampToRtcTime()
150 time->year, time->month, time->day, time->weekday, time->hour, time->minute, time->second, time->millisecond); in TimestampToRtcTime()
/drivers/hdf_core/framework/test/unittest/platform/common/
H A Drtc_test.c126 (readTime->hour != writeTime->hour) || (readTime->minute != writeTime->minute) || in IsSameRtcTestTime()
168 tester->time.hour = tester->config.hour; in RtcReadWriteTimeTest()
190 tester->time.hour = RTC_DAY_HOURS; in RtcReadWriteMaxTimeTest()
212 tester->time.hour = 0; in RtcReadWriteMinTimeTest()
261 tester->time.hour = tester->config.hour + RTC_UNIT_DIFF; in RtcReadWriteAlarmTimeTest()
283 tester->time.hour = RTC_DAY_HOURS; in RtcReadWriteAlarmMaxTimeTest()
305 tester->time.hour in RtcReadWriteAlarmMinTimeTest()
[all...]
H A Drtc_test.h28 uint32_t hour; member
H A Drtc_driver_test.c78 ret = drsOps->GetUint32(node, "hour", &config->hour, 0); in RtcTestReadConfig()
80 HDF_LOGE("RtcTestReadConfig: read hour fail, ret: %d!", ret); in RtcTestReadConfig()
/drivers/hdf_core/framework/include/platform/
H A Drtc_base.h47 #define IS_INVALID_HOUR(hour) ((hour) >= RTC_MAX_HOUR)
H A Drtc_if.h64 * The RTC information includes the year, month, day, day of the week, hour, minute, second, and millisecond.
71 uint8_t hour; /**< Hour. The value ranges from 0 to 23. */ member
122 * The time information includes the year, month, day, day of the week, hour, minute, second, and millisecond.
/drivers/peripheral/camera/vdi_base/common/utils/exif/
H A Dexif_utils.cpp336 int32_t hour = static_cast<int32_t>(number); in ConvertGpsDataToDms() local
337 int32_t minute = static_cast<int32_t>((number - hour) * timePeriod); in ConvertGpsDataToDms()
338 int32_t second = static_cast<int32_t>(((number - hour) * timePeriod - minute) * timePeriod); in ConvertGpsDataToDms()
340 approximateNumber = ((number - hour) * timePeriod - minute) * timePeriod - second; in ConvertGpsDataToDms()
350 hour = hour + 1; in ConvertGpsDataToDms()
352 *degrees = hour; in ConvertGpsDataToDms()
/drivers/hdf_core/adapter/khdf/linux/platform/rtc/
H A Drtc_adapter.c33 linuxTime->tm_hour = hdfTime->hour; in HdfTimeToLinuxTime()
45 hdfTime->hour = linuxTime->tm_hour; in LinuxTimeToHdfTime()
/drivers/hdf_core/framework/tools/idl-gen/testcase/
H A Dtest_header_parser.py497 hour = stack["properties"]["public"][2]
498 params = parser._checkout_function_pointer_param(hour["type"])

Completed in 5 milliseconds