Home
last modified time | relevance | path

Searched refs:currentTime (Results 1 - 19 of 19) sorted by relevance

/drivers/hdf_core/framework/model/network/wifi/core/components/eapol/
H A 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/
H A Didm_session.c226 uint64_t currentTime = GetSystemTime(); in CheckSessionTimeout() local
227 if (currentTime < g_session->time) { in CheckSessionTimeout()
228 LOG_ERROR("bad time, currentTime: %{public}" PRIu64 ", sessionTime: %{public}" PRIu64, in CheckSessionTimeout()
229 currentTime, g_session->time); in CheckSessionTimeout()
232 if (currentTime - g_session->time > SESSION_VALIDITY_PERIOD) { in CheckSessionTimeout()
233 LOG_ERROR("timeout, currentTime: %{public}" PRIu64 ", sessionTime: %{public}" PRIu64, in CheckSessionTimeout()
234 currentTime, g_session->time); in CheckSessionTimeout()
/drivers/hdf_core/framework/utils/src/
H A Dosal_msg_queue.c61 uint64_t currentTime = OsalGetSysTimeMs(); in HdfMessageQueueNext() local
67 if (message->timeStamp <= currentTime) { in HdfMessageQueueNext()
/drivers/peripheral/thermal/interfaces/hdi_service/include/
H A Dthermal_dfx.h49 void WriteToEmptyFile(std::ofstream& wStream, std::string& currentTime);
50 void WriteToFile(std::ofstream& wStream, std::string& currentTime);
/drivers/hdf_core/interfaces/inner_api/hdi/base/
H A Dhdi_smq.h449 int64_t currentTime = startTime; in Write() local
452 currentTime = GetNanoTime(); in Write()
453 waitTimeNanoSec -= (currentTime - startTime); in Write()
454 startTime = currentTime; in Write()
494 int64_t currentTime; in Read() local
497 currentTime = GetNanoTime(); in Read()
498 waitTimeNanoSec -= (currentTime - startTime); in Read()
499 startTime = currentTime; in Read()
/drivers/peripheral/thermal/interfaces/hdi_service/src/
H A Dthermal_dfx.cpp306 std::string currentTime = GetCurrentTime(TIME_FORMAT_2); in ProcessLogInfo() local
310 WriteToEmptyFile(wStream, currentTime); in ProcessLogInfo()
314 WriteToFile(wStream, currentTime); in ProcessLogInfo()
319 void ThermalDfx::WriteToEmptyFile(std::ofstream& wStream, std::string& currentTime) in WriteToEmptyFile() argument
337 WriteToFile(wStream, currentTime); in WriteToEmptyFile()
341 void ThermalDfx::WriteToFile(std::ofstream& wStream, std::string& currentTime) in WriteToFile() argument
343 wStream << currentTime; in WriteToFile() local
344 for (uint8_t i = 0; i < width_ + TIMESTAMP_TITLE.length() - currentTime.length(); ++i) { in WriteToFile()
/drivers/peripheral/audio/hdi_service/primary_impl/include/
H A Daudio_adapter_info_common.h56 int32_t GetCurrentTime(char *currentTime);
H A Daudio_internal.h249 char *currentTime; member
/drivers/peripheral/user_auth/hdi_service/common/src/
H A Duser_sign_centre.c38 uint64_t currentTime = GetSystemTime(); in IsTimeValid() local
39 if (currentTime < userAuthToken->tokenDataPlain.time) { in IsTimeValid()
42 if (currentTime - userAuthToken->tokenDataPlain.time > TOKEN_VALIDITY_PERIOD) { in IsTimeValid()
/drivers/peripheral/audio/hal/hdi_passthrough/include/
H A Daudio_adapter_info_common.h67 int32_t GetCurrentTime(char *currentTime);
H A Daudio_internal.h255 char *currentTime; member
/drivers/peripheral/user_auth/hdi_service/user_auth/src/
H A Duser_auth_funcs.c107 uint64_t currentTime = GetReeTime(); in GetExpiredInfoForResult() local
108 if (currentTime < context->authExpiredSysTime) { in GetExpiredInfoForResult()
112 if (context->authExpiredSysTime - currentTime < MAX_JS_NUMBER_VALUE) { in GetExpiredInfoForResult()
113 result->pinExpiredInfo = context->authExpiredSysTime - currentTime; in GetExpiredInfoForResult()
/drivers/peripheral/audio/hdi_service/primary_impl/src/
H A Daudio_render.c752 if (hwRender->errorLog.errorDump[hwRender->errorLog.iter].currentTime == NULL) { in LogErrorGetRensonAndTime()
753 hwRender->errorLog.errorDump[hwRender->errorLog.iter].currentTime = in LogErrorGetRensonAndTime()
755 if (hwRender->errorLog.errorDump[hwRender->errorLog.iter].currentTime == NULL) { in LogErrorGetRensonAndTime()
763 memset_s(hwRender->errorLog.errorDump[hwRender->errorLog.iter].currentTime, ERROR_REASON_DESC_LEN, 0, in LogErrorGetRensonAndTime()
772 ret = GetCurrentTime(hwRender->errorLog.errorDump[hwRender->errorLog.iter].currentTime); in LogErrorGetRensonAndTime()
1164 render->errorLog.errorDump[i].currentTime); in AudioRenderAudioDevDump()
1171 render->errorLog.errorDump[i].currentTime); in AudioRenderAudioDevDump()
H A Daudio_capture.c678 if (hwCapture->errorLog.errorDump[hwCapture->errorLog.iter].currentTime == NULL) { in LogErrorGetRensonAndTime()
679 hwCapture->errorLog.errorDump[hwCapture->errorLog.iter].currentTime = in LogErrorGetRensonAndTime()
681 if (hwCapture->errorLog.errorDump[hwCapture->errorLog.iter].currentTime == NULL) { in LogErrorGetRensonAndTime()
689 memset_s(hwCapture->errorLog.errorDump[hwCapture->errorLog.iter].currentTime, ERROR_REASON_DESC_LEN, 0, in LogErrorGetRensonAndTime()
698 ret = GetCurrentTime(hwCapture->errorLog.errorDump[hwCapture->errorLog.iter].currentTime); in LogErrorGetRensonAndTime()
992 capture->errorLog.errorDump[i].currentTime); in AudioCaptureAudioDevDump()
999 capture->errorLog.errorDump[i].currentTime); in AudioCaptureAudioDevDump()
H A 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()
H A Daudio_adapter.c698 AudioMemFree((void **)&hwRender->errorLog.errorDump[i].currentTime); in AudioAdapterDestroyRender()
1065 AudioMemFree((void **)&hwCapture->errorLog.errorDump[i].currentTime); in AudioAdapterDestroyCapture()
/drivers/peripheral/audio/hal/hdi_passthrough/src/
H A Daudio_adapter_info_common.c576 int32_t GetCurrentTime(char *currentTime) in GetCurrentTime() argument
578 if (currentTime == NULL) { in GetCurrentTime()
579 AUDIO_FUNC_LOGE("param currentTime is null!"); in GetCurrentTime()
591 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/
H A Daudio_render.cpp551 render->errorLog.errorDump[i].currentTime); in AudioRenderAudioDevDump()
560 render->errorLog.errorDump[i].currentTime); in AudioRenderAudioDevDump()
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/
H A Daudio_internal.h292 char* currentTime; member

Completed in 19 milliseconds