Home
last modified time | relevance | path

Searched refs:access_count_map_ (Results 1 – 4 of 4) sorted by relevance

/system/keymaster/android_keymaster/
Dkeymaster_enforcement.cpp109 access_count_map_(new (std::nothrow) AccessCountMap(max_access_count_map_size)) {} in KeymasterEnforcement()
113 delete access_count_map_; in ~KeymasterEnforcement()
418 if (!access_count_map_) { in AuthorizeBegin()
423 if (!access_count_map_->IncrementKeyAccessCount(keyid)) { in AuthorizeBegin()
443 if (!access_count_map_) in MaxUsesPerBootNotExceeded()
447 if (!access_count_map_->KeyAccessCount(keyid, &key_access_count)) in MaxUsesPerBootNotExceeded()
/system/keymaster/include/keymaster/
Dkeymaster_enforcement.h219 AccessCountMap* access_count_map_; variable
/system/security/keystore/
Dkeymaster_enforcement.h208 AccessCountMap access_count_map_; variable
Dkeymaster_enforcement.cpp67 : access_time_map_(max_access_time_map_size), access_count_map_(max_access_count_map_size) {} in KeymasterEnforcement()
354 if (!access_count_map_.IncrementKeyAccessCount(keyid)) { in AuthorizeBegin()
400 if (!access_count_map_.KeyAccessCount(keyid, &key_access_count)) return true; in MaxUsesPerBootNotExceeded()