Home
last modified time | relevance | path

Searched refs:currentTime (Results 1 – 18 of 18) sorted by relevance

/drivers/hdf_core/framework/model/network/wifi/core/components/eapol/
Deapol.c130 int64_t currentTime = 0; in HandleEapolQueue() local
141 currentTime = timeSpec.sec; in HandleEapolQueue()
146 eapol->enqueueTime = currentTime; in HandleEapolQueue()
152 if (currentTime > eapol->enqueueTime) { in HandleEapolQueue()
153 intervalTime = currentTime - eapol->enqueueTime; in HandleEapolQueue()
164 eapol->enqueueTime = currentTime; in HandleEapolQueue()
/drivers/peripheral/user_auth/hdi_service/idm/src/
Didm_session.c215 uint64_t currentTime = GetSystemTime(); in IsSessionTimeout() local
216 if (currentTime < g_session->time || currentTime - g_session->time > SESSION_VALIDITY_PERIOD) { in IsSessionTimeout()
218 currentTime, g_session->time); in IsSessionTimeout()
/drivers/peripheral/thermal/interfaces/hdi_service/include/
Dthermal_dfx.h48 void WriteToEmptyFile(std::ofstream& wStream, std::string& currentTime);
49 void WriteToFile(std::ofstream& wStream, std::string& currentTime);
/drivers/peripheral/thermal/interfaces/hdi_service/src/
Dthermal_dfx.cpp303 std::string currentTime = GetCurrentTime(TIME_FORMAT_2); in ProcessLogInfo() local
307 WriteToEmptyFile(wStream, currentTime); in ProcessLogInfo()
311 WriteToFile(wStream, currentTime); in ProcessLogInfo()
316 void ThermalDfx::WriteToEmptyFile(std::ofstream& wStream, std::string& currentTime) in WriteToEmptyFile() argument
335 WriteToFile(wStream, currentTime); in WriteToEmptyFile()
339 void ThermalDfx::WriteToFile(std::ofstream& wStream, std::string& currentTime) in WriteToFile() argument
341 wStream << currentTime; in WriteToFile()
342 for (uint8_t i = 0; i < width_ + TIMESTAMP_TITLE.length() - currentTime.length(); ++i) { in WriteToFile()
/drivers/hdf_core/interfaces/inner_api/hdi/base/
Dhdi_smq.h445 int64_t currentTime = startTime; in Write() local
448 currentTime = GetNanoTime(); in Write()
449 waitTimeNanoSec -= (currentTime - startTime); in Write()
450 startTime = currentTime; in Write()
491 int64_t currentTime; in Read() local
494 currentTime = GetNanoTime(); in Read()
495 waitTimeNanoSec -= (currentTime - startTime); in Read()
496 startTime = currentTime; in Read()
/drivers/hdf_core/framework/utils/src/
Dosal_msg_queue.c61 uint64_t currentTime = OsalGetSysTimeMs(); in HdfMessageQueueNext() local
67 if (message->timeStamp <= currentTime) { in HdfMessageQueueNext()
/drivers/peripheral/audio/hdi_service/primary_impl/include/
Daudio_adapter_info_common.h56 int32_t GetCurrentTime(char *currentTime);
Daudio_internal.h249 char *currentTime; member
/drivers/peripheral/audio/hal/hdi_passthrough/include/
Daudio_adapter_info_common.h67 int32_t GetCurrentTime(char *currentTime);
Daudio_internal.h255 char *currentTime; member
/drivers/peripheral/user_auth/hdi_service/user_auth/src/
Duser_sign_centre.c39 uint64_t currentTime = GetSystemTime(); in IsTimeValid() local
40 if (currentTime < userAuthToken->tokenDataPlain.time) { in IsTimeValid()
43 if (currentTime - userAuthToken->tokenDataPlain.time > TOKEN_VALIDITY_PERIOD) { in IsTimeValid()
/drivers/peripheral/audio/hdi_service/primary_impl/src/
Daudio_capture.c660 if (hwCapture->errorLog.errorDump[hwCapture->errorLog.iter].currentTime == NULL) { in LogErrorGetRensonAndTime()
661 hwCapture->errorLog.errorDump[hwCapture->errorLog.iter].currentTime = in LogErrorGetRensonAndTime()
663 if (hwCapture->errorLog.errorDump[hwCapture->errorLog.iter].currentTime == NULL) { in LogErrorGetRensonAndTime()
671 …memset_s(hwCapture->errorLog.errorDump[hwCapture->errorLog.iter].currentTime, ERROR_REASON_DESC_LE… in LogErrorGetRensonAndTime()
680 ret = GetCurrentTime(hwCapture->errorLog.errorDump[hwCapture->errorLog.iter].currentTime); in LogErrorGetRensonAndTime()
968 capture->errorLog.errorDump[i].currentTime); in AudioCaptureAudioDevDump()
975 capture->errorLog.errorDump[i].currentTime); in AudioCaptureAudioDevDump()
Daudio_render.c733 if (hwRender->errorLog.errorDump[hwRender->errorLog.iter].currentTime == NULL) { in LogErrorGetRensonAndTime()
734 hwRender->errorLog.errorDump[hwRender->errorLog.iter].currentTime = in LogErrorGetRensonAndTime()
736 if (hwRender->errorLog.errorDump[hwRender->errorLog.iter].currentTime == NULL) { in LogErrorGetRensonAndTime()
744 …memset_s(hwRender->errorLog.errorDump[hwRender->errorLog.iter].currentTime, ERROR_REASON_DESC_LEN,… in LogErrorGetRensonAndTime()
753 ret = GetCurrentTime(hwRender->errorLog.errorDump[hwRender->errorLog.iter].currentTime); in LogErrorGetRensonAndTime()
1134 render->errorLog.errorDump[i].currentTime); in AudioRenderAudioDevDump()
1141 render->errorLog.errorDump[i].currentTime); in AudioRenderAudioDevDump()
Daudio_adapter_info_common.c575 int32_t GetCurrentTime(char *currentTime) in GetCurrentTime() argument
581 if (currentTime == NULL) { in GetCurrentTime()
593 ret = sprintf_s(currentTime, ERROR_REASON_DESC_LEN - 1, "%d/%d/%d %s %d:%d:%d", in GetCurrentTime()
Daudio_adapter.c695 AudioMemFree((void **)&hwRender->errorLog.errorDump[i].currentTime); in AudioAdapterDestroyRender()
1060 AudioMemFree((void **)&hwCapture->errorLog.errorDump[i].currentTime); in AudioAdapterDestroyCapture()
/drivers/peripheral/audio/hal/hdi_passthrough/src/
Daudio_adapter_info_common.c572 int32_t GetCurrentTime(char *currentTime) in GetCurrentTime() argument
574 if (currentTime == NULL) { in GetCurrentTime()
587 int32_t ret = sprintf_s(currentTime, ERROR_REASON_DESC_LEN - 1, "%d/%d/%d %s %d:%d:%d", in GetCurrentTime()
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
Daudio_render.cpp541 render->errorLog.errorDump[i].currentTime); in AudioRenderAudioDevDump()
550 render->errorLog.errorDump[i].currentTime); in AudioRenderAudioDevDump()
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/
Daudio_internal.h292 char* currentTime; member