/drivers/hdf_core/framework/support/posix/src/ |
H A D | osal_time.c | 30 time->sec = (uint64_t)ts.tv_sec; in OsalGetTime() 39 uint32_t sec = 0; in OsalDiffTime() local 45 if ((start->sec > end->sec) || ((end->sec == start->sec) && (end->usec < start->usec))) { in OsalDiffTime() 52 sec = 1; in OsalDiffTime() 55 if ((start->sec > UINT64_MAX - sec) || (end->usec > UINT64_MAX - usec) || in OsalDiffTime() 56 (end->sec < star in OsalDiffTime() 66 OsalSleep(uint32_t sec) OsalSleep() argument [all...] |
/drivers/hdf_core/adapter/khdf/liteos/osal/src/ |
H A D | osal_time.c | 50 time->sec = ms / HDF_KILO_UNIT; in OsalGetTime() 59 uint32_t sec = 0; in OsalDiffTime() local 66 if (start->sec > end->sec) { in OsalDiffTime() 73 sec = 1; in OsalDiffTime() 76 diff->sec = end->sec - start->sec - sec; in OsalDiffTime() 86 void OsalSleep(uint32_t sec) in OsalSleep() argument [all...] |
/drivers/hdf_core/adapter/khdf/liteos_m/osal/src/ |
H A D | osal_time.c | 49 time->sec = ms / HDF_KILO_UNIT; in OsalGetTime() 58 uint32_t sec = 0; in OsalDiffTime() local 65 if (start->sec > end->sec) { in OsalDiffTime() 72 sec = 1; in OsalDiffTime() 75 diff->sec = end->sec - start->sec - sec; in OsalDiffTime() 85 void OsalSleep(uint32_t sec) in OsalSleep() argument [all...] |
/drivers/hdf_core/adapter/khdf/uniproton/osal/src/ |
H A D | osal_time.c | 50 time->sec = ms / HDF_KILO_UNIT; in OsalGetTime() 59 uint32_t sec = 0; in OsalDiffTime() local 66 if (start->sec > end->sec) { in OsalDiffTime() 73 sec = 1; in OsalDiffTime() 76 diff->sec = end->sec - start->sec - sec; in OsalDiffTime() 86 void OsalSleep(uint32_t sec) in OsalSleep() argument [all...] |
/drivers/hdf_core/adapter/khdf/linux/osal/src/ |
H A D | osal_time.c | 45 time->sec = ts.tv_sec; in OsalGetTime() 55 uint32_t sec = 0; in OsalDiffTime() local 61 if (start->sec > end->sec) { in OsalDiffTime() 68 sec = 1; in OsalDiffTime() 71 diff->sec = end->sec - start->sec - sec; in OsalDiffTime() 77 void OsalSleep(uint32_t sec) in OsalSleep() argument [all...] |
/drivers/hdf_core/interfaces/inner_api/osal/shared/ |
H A D | osal_time.h | 44 uint64_t sec; /**< Second */ member 53 * @param sec Indicates the sleep time, in seconds. 57 void OsalSleep(uint32_t sec);
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/ |
H A D | bluetooth_audio_device.h | 41 typedef void (*ReadMmapPositionFunc)(int64_t &sec, int64_t &nSec, uint64_t &frames);
|
H A D | audio_bluetooth_manager.h | 55 void FastReadMmapPosition(int64_t &sec, int64_t &nSec, uint64_t &frames);
|
/drivers/hdf_core/framework/test/unittest/model/network/wifi/unittest/message/ |
H A D | hdf_single_node_message_test.c | 216 HDF_LOGI("Process time %llu \n", diffTime.sec); in MessageSingleNodeTest003() 217 MSG_BREAK_IF(errCode, diffTime.sec > SYNC_MESSAGE_TIMEOUT); in MessageSingleNodeTest003() 322 HDF_LOGW("Process time %llu \n", diffTime.sec); in MessageSingleNodeTest005() 323 MSG_BREAK_IF(errCode, diffTime.sec > ASYNC_MESSAGE_TIMEOUT); in MessageSingleNodeTest005()
|
/drivers/hdf_core/framework/test/unittest/osal/ |
H A D | osal_all_test.c | 71 uint64_t t1 = time->sec * HDF_KILO_UNIT * HDF_KILO_UNIT + time->usec; in OsalCheckTime() 180 (uint32_t)hdfTsDiff.sec, (uint32_t)hdfTsDiff.usec); in ThreadTest2() 291 HDF_LOGE("%s %d %d %d %d %d", __func__, g_timer1Cnt, para, (int32_t)hdfTsDiff.sec, in TimerLoopTest1() 337 HDF_LOGE("%s %d %d %d %d %d", __func__, g_timer2Cnt, para, (int32_t)hdfTsDiff.sec, in TimerLoopTest2() 491 HDF_LOGI("[OSAL_UT_TEST]%s **** All case test end, use %ds****", __func__, (uint32_t)diffTime.sec); in OsaCheckRun() 511 (int32_t)(hdfTsDiff.sec), (int32_t)(hdfTsDiff.usec)); in IRQHandle() 739 HDF_LOGE("%s %us %uus", __func__, (uint32_t)hdfTsDiff.sec, (uint32_t)hdfTsDiff.usec); in OsaTimeTest() 746 HDF_LOGE("%s %us %uus", __func__, (uint32_t)hdfTsDiff.sec, (uint32_t)hdfTsDiff.usec); in OsaTimeTest() 752 HDF_LOGE("%s %us %uus", __func__, (uint32_t)hdfTsDiff.sec, (uint32_t)hdfTsDiff.usec); in OsaTimeTest() 759 HDF_LOGE("%s %us %uus", __func__, (uint32_t)hdfTsDiff.sec, (uint32_ in OsaTimeTest() [all...] |
/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/src/ |
H A D | osal_all_test.c | 79 uint64_t t1 = time->sec * HDF_KILO_UNIT * HDF_KILO_UNIT + time->usec; in OsalCheckTime() 176 HDF_LOGI("%s %us %uus", __func__, (uint32_t)hdfTsDiff.sec, (uint32_t)hdfTsDiff.usec); in ThreadTest2() 225 (int32_t)hdfTsDiff.sec, in TimerLoopTest1() 275 (int32_t)hdfTsDiff.sec, in TimerLoopTest2() 388 HDF_LOGI("[OSAL_UT_TEST]%s **** All case test end, use %ds****", __func__, (uint32_t)diffTime.sec); in OsaCheckRun() 524 HDF_LOGI("%s %us %uus", __func__, (uint32_t)hdfTsDiff.sec, (uint32_t)hdfTsDiff.usec); in OsaTimeTest() 533 HDF_LOGI("%s %us %uus", __func__, (uint32_t)hdfTsDiff.sec, (uint32_t)hdfTsDiff.usec); in OsaTimeTest()
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/ |
H A D | fast_audio_render.cpp | 335 int64_t sec = 0;
in FastRenderGetMmapPosition() local 338 OHOS::Bluetooth::FastReadMmapPosition(sec, nSec, readFrames);
in FastRenderGetMmapPosition() 340 time->tvSec = sec;
in FastRenderGetMmapPosition()
|
H A D | audio_common.cpp | 39 int32_t ret = snprintf_s(s, len, len - 1, "[%llu.%llu]", time.sec, time.usec); in AudioGetSysTime()
|
H A D | audio_bluetooth_manager.cpp | 312 void FastReadMmapPosition(int64_t &sec, int64_t &nSec, uint64_t &frames)
in FastReadMmapPosition() argument 314 fastReadMmapPositionFunc(sec, nSec, frames);
in FastReadMmapPosition()
|
/drivers/hdf_core/framework/model/input/driver/ |
H A D | event_hub.c | 55 package.time = time.sec * SEC_TO_USEC + time.usec; in PushOnePackage()
|
/drivers/peripheral/sensor/chipset/humidity/ |
H A D | humidity_aht20.c | 44 *timestamp = time.sec * SENSOR_SECOND_CONVERT_NANOSECOND + time.usec * SENSOR_CONVERT_UNIT; /* unit nanosecond */ in ReadAht20RawData() 91 event.timestamp = time.sec * SENSOR_SECOND_CONVERT_NANOSECOND + time.usec * SENSOR_CONVERT_UNIT; in ReadAht20Data()
|
H A D | humidity_sht30.c | 56 *timestamp = time.sec * SENSOR_SECOND_CONVERT_NANOSECOND + time.usec * SENSOR_CONVERT_UNIT; /* unit nanosecond */ in ReadSht30RawData() 92 event.timestamp = time.sec * SENSOR_SECOND_CONVERT_NANOSECOND + time.usec * SENSOR_CONVERT_UNIT; in ReadSht30Data()
|
/drivers/peripheral/sensor/chipset/temperature/ |
H A D | temperature_aht20.c | 44 *timestamp = time.sec * SENSOR_SECOND_CONVERT_NANOSECOND + time.usec * SENSOR_CONVERT_UNIT; /* unit nanosecond */ in ReadAht20RawData() 90 event.timestamp = time.sec * SENSOR_SECOND_CONVERT_NANOSECOND + time.usec * SENSOR_CONVERT_UNIT; in ReadAht20Data()
|
H A D | temperature_sht30.c | 56 *timestamp = time.sec * SENSOR_SECOND_CONVERT_NANOSECOND + time.usec * SENSOR_CONVERT_UNIT; /* unit nanosecond */ in ReadSht30RawData() 91 event.timestamp = time.sec * SENSOR_SECOND_CONVERT_NANOSECOND + time.usec * SENSOR_CONVERT_UNIT; in ReadSht30Data()
|
/drivers/peripheral/audio/hal/hdi_passthrough/src/ |
H A D | audio_common.c | 49 int32_t ret = snprintf_s(s, len, len - 1, "[%llu.%llu]", time.sec, time.usec); in AudioGetSysTime()
|
/drivers/peripheral/audio/hdi_service/primary_impl/src/ |
H A D | audio_common.c | 58 int32_t ret = snprintf_s(s, len, len - 1, "[%llu.%llu]", time.sec, time.usec); in AudioGetSysTime()
|
/drivers/liteos/hievent/src/ |
H A D | hievent_driver.c | 64 int32_t sec; member 245 header->sec = now.tv_sec; in HieventHeadInit()
|
/drivers/peripheral/sensor/chipset/als/ |
H A D | als_bh1750.c | 42 *timestamp = time.sec * SENSOR_SECOND_CONVERT_NANOSECOND + time.usec * SENSOR_CONVERT_UNIT; /* unit nanosecond */ in ReadBh1750RawData()
|
/drivers/peripheral/sensor/chipset/pedometer/ |
H A D | pedometer_bmi160.c | 41 *timestamp = time.sec * SENSOR_SECOND_CONVERT_NANOSECOND + time.usec * SENSOR_CONVERT_UNIT; in ReadBmi160PedometerRawData()
|
/drivers/peripheral/sensor/chipset/proximity/ |
H A D | proximity_apds9960.c | 41 *timestamp = time.sec * SENSOR_SECOND_CONVERT_NANOSECOND + time.usec * SENSOR_CONVERT_UNIT; /* unit nanosecond */ in ReadApds9960RawData()
|