Searched refs:current_time (Results 1 – 7 of 7) sorted by relevance
/system/keymaster/ |
D | keymaster_enforcement.cpp | 45 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()
|
D | keymaster_enforcement_test.cpp | 62 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/ |
D | keymaster_enforcement.cpp | 44 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()
|
D | auth_token_table.cpp | 206 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()
|
D | auth_token_table.h | 100 Entry(const HardwareAuthToken* token, time_t current_time);
|
/system/bt/btif/src/ |
D | btif_config.cc | 182 time_t current_time = time(NULL); in init() local 183 struct tm* time_created = localtime(¤t_time); in init()
|
/system/tpm/trunks/ |
D | mock_tpm.h | 1375 TPM_RC(TPMS_TIME_INFO* current_time,
|