/drivers/hdf_core/framework/model/network/wifi/core/components/eapol/ |
H A D | eapol.c | 130 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 D | idm_session.c | 226 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 D | osal_msg_queue.c | 61 uint64_t currentTime = OsalGetSysTimeMs(); in HdfMessageQueueNext() local 67 if (message->timeStamp <= currentTime) { in HdfMessageQueueNext()
|
/drivers/peripheral/thermal/interfaces/hdi_service/include/ |
H A D | thermal_dfx.h | 49 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 D | hdi_smq.h | 449 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 D | thermal_dfx.cpp | 306 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 D | audio_adapter_info_common.h | 56 int32_t GetCurrentTime(char *currentTime);
|
H A D | audio_internal.h | 249 char *currentTime; member
|
/drivers/peripheral/user_auth/hdi_service/common/src/ |
H A D | user_sign_centre.c | 38 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 D | audio_adapter_info_common.h | 67 int32_t GetCurrentTime(char *currentTime);
|
H A D | audio_internal.h | 255 char *currentTime; member
|
/drivers/peripheral/user_auth/hdi_service/user_auth/src/ |
H A D | user_auth_funcs.c | 107 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 D | audio_render.c | 752 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 D | audio_capture.c | 678 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 D | audio_adapter_info_common.c | 575 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 D | audio_adapter.c | 698 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 D | audio_adapter_info_common.c | 576 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 D | audio_render.cpp | 551 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 D | audio_internal.h | 292 char* currentTime; member
|