Home
last modified time | relevance | path

Searched refs:timeVal (Results 1 – 2 of 2) sorted by relevance

/base/security/device_security_level/services/dfx/
Ddslm_hidumper.c256 struct timeval timeVal = {0}; in PrintDefaultStatus() local
257 gettimeofday(&timeVal, NULL); in PrintDefaultStatus()
258 char *notice = timeVal.tv_sec <= YEAR_TIME_2022 ? "(please check the system time)" : ""; in PrintDefaultStatus()
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_test.cpp70 struct timeval timeVal = {0}; in SetUpTestCase() local
71 gettimeofday(&timeVal, nullptr); in SetUpTestCase()
72 if (timeVal.tv_sec <= yearTimeLeast) { in SetUpTestCase()
73 timeVal.tv_sec = yearTimeValid; in SetUpTestCase()
74 settimeofday(&timeVal, nullptr); in SetUpTestCase()