Home
last modified time | relevance | path

Searched refs:current_time (Results 1 – 7 of 7) sorted by relevance

/system/keymaster/
Dkeymaster_enforcement.cpp45 bool UpdateKeyAccessTime(km_id_t keyid, uint32_t current_time, uint32_t timeout);
526 bool AccessTimeMap::UpdateKeyAccessTime(km_id_t keyid, uint32_t current_time, uint32_t timeout) { in UpdateKeyAccessTime() argument
530 iter->access_time = current_time; in UpdateKeyAccessTime()
535 assert(current_time >= iter->access_time); in UpdateKeyAccessTime()
536 if (current_time - iter->access_time >= iter->timeout) in UpdateKeyAccessTime()
547 new_entry.access_time = current_time; in UpdateKeyAccessTime()
Dkeymaster_enforcement_test.cpp62 uint32_t current_time() { return current_time_; } in current_time() function in keymaster::test::TestKeymasterEnforcement
763 token.timestamp = hton(kmen.current_time()); in TEST_F()
788 token.timestamp = hton(static_cast<uint64_t>(kmen.current_time())); in TEST_F()
837 token.timestamp = hton(static_cast<uint64_t>(kmen.current_time())); in TEST_F()
/system/security/keystore/
Dkeymaster_enforcement.cpp44 bool UpdateKeyAccessTime(km_id_t keyid, uint32_t current_time, uint32_t timeout);
552 bool AccessTimeMap::UpdateKeyAccessTime(km_id_t keyid, uint32_t current_time, uint32_t timeout) { in UpdateKeyAccessTime() argument
555 iter->access_time = current_time; in UpdateKeyAccessTime()
560 assert(current_time >= iter->access_time); in UpdateKeyAccessTime()
561 if (current_time - iter->access_time >= iter->timeout) in UpdateKeyAccessTime()
571 new_entry.access_time = current_time; in UpdateKeyAccessTime()
Dauth_token_table.cpp206 AuthTokenTable::Entry::Entry(const HardwareAuthToken* token, time_t current_time) in Entry() argument
207 : token_(token), time_received_(current_time), last_use_(current_time), in Entry()
Dauth_token_table.h100 Entry(const HardwareAuthToken* token, time_t current_time);
/system/bt/btif/src/
Dbtif_config.cc182 time_t current_time = time(NULL); in init() local
183 struct tm* time_created = localtime(&current_time); in init()
/system/tpm/trunks/
Dmock_tpm.h1375 TPM_RC(TPMS_TIME_INFO* current_time,