Home
last modified time | relevance | path

Searched refs:sec (Results 1 - 25 of 41) sorted by relevance

12

/drivers/hdf_core/framework/support/posix/src/
H A Dosal_time.c30 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 Dosal_time.c50 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 Dosal_time.c49 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 Dosal_time.c50 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 Dosal_time.c45 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 Dosal_time.h44 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 Dbluetooth_audio_device.h41 typedef void (*ReadMmapPositionFunc)(int64_t &sec, int64_t &nSec, uint64_t &frames);
H A Daudio_bluetooth_manager.h55 void FastReadMmapPosition(int64_t &sec, int64_t &nSec, uint64_t &frames);
/drivers/hdf_core/framework/test/unittest/model/network/wifi/unittest/message/
H A Dhdf_single_node_message_test.c216 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 Dosal_all_test.c71 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 Dosal_all_test.c79 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 Dfast_audio_render.cpp335 int64_t sec = 0; in FastRenderGetMmapPosition() local
338 OHOS::Bluetooth::FastReadMmapPosition(sec, nSec, readFrames); in FastRenderGetMmapPosition()
340 time->tvSec = sec; in FastRenderGetMmapPosition()
H A Daudio_common.cpp39 int32_t ret = snprintf_s(s, len, len - 1, "[%llu.%llu]", time.sec, time.usec); in AudioGetSysTime()
H A Daudio_bluetooth_manager.cpp312 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 Devent_hub.c55 package.time = time.sec * SEC_TO_USEC + time.usec; in PushOnePackage()
/drivers/peripheral/sensor/chipset/humidity/
H A Dhumidity_aht20.c44 *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 Dhumidity_sht30.c56 *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 Dtemperature_aht20.c44 *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 Dtemperature_sht30.c56 *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 Daudio_common.c49 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 Daudio_common.c58 int32_t ret = snprintf_s(s, len, len - 1, "[%llu.%llu]", time.sec, time.usec); in AudioGetSysTime()
/drivers/liteos/hievent/src/
H A Dhievent_driver.c64 int32_t sec; member
245 header->sec = now.tv_sec; in HieventHeadInit()
/drivers/peripheral/sensor/chipset/als/
H A Dals_bh1750.c42 *timestamp = time.sec * SENSOR_SECOND_CONVERT_NANOSECOND + time.usec * SENSOR_CONVERT_UNIT; /* unit nanosecond */ in ReadBh1750RawData()
/drivers/peripheral/sensor/chipset/pedometer/
H A Dpedometer_bmi160.c41 *timestamp = time.sec * SENSOR_SECOND_CONVERT_NANOSECOND + time.usec * SENSOR_CONVERT_UNIT; in ReadBmi160PedometerRawData()
/drivers/peripheral/sensor/chipset/proximity/
H A Dproximity_apds9960.c41 *timestamp = time.sec * SENSOR_SECOND_CONVERT_NANOSECOND + time.usec * SENSOR_CONVERT_UNIT; /* unit nanosecond */ in ReadApds9960RawData()

Completed in 11 milliseconds

12