Home
last modified time | relevance | path

Searched refs:MAX_AUTH_VALID_PERIOD (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_manager_test.cpp297 auth->lastActiveTime = MAX_AUTH_VALID_PERIOD - GetCurrentTimeMs() - 1000; in HWTEST_F()
304 auth->lastActiveTime = MAX_AUTH_VALID_PERIOD - GetCurrentTimeMs() + 1000; in HWTEST_F()
337 auth->lastActiveTime = MAX_AUTH_VALID_PERIOD - GetCurrentTimeMs() + 1000; in HWTEST_F()
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_manager.c47 #define MAX_AUTH_VALID_PERIOD (30 * 60 * 1000L) /* 30 mins */ macro
575 && (currentTime - auth[i]->lastActiveTime >= MAX_AUTH_VALID_PERIOD)) { in GetActiveAuthIdByConnInfo()

Completed in 6 milliseconds