Home
last modified time | relevance | path

Searched refs:day (Results 1 - 8 of 8) sorted by relevance

/drivers/hdf_core/framework/support/platform/src/rtc/
H A Drtc_base.c33 uint8_t RtcIsInvalidDay(const uint8_t day, const uint8_t month, const uint16_t year) in RtcIsInvalidDay() argument
38 return ((day == 0) || (day > maxDay)) ? RTC_TRUE : RTC_FALSE; in RtcIsInvalidDay()
49 (RtcIsInvalidDay(time->day, time->month, time->year) == RTC_TRUE) || in RtcIsInvalid()
61 (RtcIsInvalidDay(time->day, time->month, time->year) == RTC_TRUE)) { in RtcGetWeekDay()
66 days = time->day - RTC_UNIT_DIFF; in RtcGetWeekDay()
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()
104 days = time->day - RTC_UNIT_DIFF; in RtcTimeToTimestamp()
142 time->day in TimestampToRtcTime()
[all...]
/drivers/hdf_core/framework/test/unittest/platform/common/
H A Drtc_test.c125 (readTime->day != writeTime->day) || (readTime->weekday != writeTime->weekday) || in IsSameRtcTestTime()
167 tester->time.day = tester->config.day; in RtcReadWriteTimeTest()
189 tester->time.day = RTC_GREAT_MONTH_DAY + 1; in RtcReadWriteMaxTimeTest()
211 tester->time.day = 0; in RtcReadWriteMinTimeTest()
260 tester->time.day = tester->config.day; in RtcReadWriteAlarmTimeTest()
282 tester->time.day = RTC_GREAT_MONTH_DAY + 1; in RtcReadWriteAlarmMaxTimeTest()
304 tester->time.day in RtcReadWriteAlarmMinTimeTest()
[all...]
H A Drtc_test.h25 uint32_t day; member
H A Drtc_driver_test.c73 ret = drsOps->GetUint32(node, "day", &config->day, 0); in RtcTestReadConfig()
75 HDF_LOGE("RtcTestReadConfig: read day fail, ret: %d!", ret); in RtcTestReadConfig()
/drivers/hdf_core/framework/include/platform/
H A Drtc_if.h64 * The RTC information includes the year, month, day, day of the week, hour, minute, second, and millisecond.
72 uint8_t day; /**< Day. The value ranges from 1 to 31. */ member
122 * The time information includes the year, month, day, day of the week, hour, minute, second, and millisecond.
H A Drtc_base.h68 uint8_t RtcIsInvalidDay(const uint8_t day, const uint8_t month, const uint16_t year);
/drivers/hdf_core/adapter/khdf/linux/platform/rtc/
H A Drtc_adapter.c34 linuxTime->tm_mday = hdfTime->day; in HdfTimeToLinuxTime()
46 hdfTime->day = linuxTime->tm_mday; in LinuxTimeToHdfTime()
/drivers/hdf_core/framework/tools/idl-gen/testcase/
H A Dtest_header_parser.py501 day = stack["properties"]["public"][3]
502 params = parser._checkout_function_pointer_param(day["type"])

Completed in 5 milliseconds