Home
last modified time | relevance | path

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

/system/keymaster/
Dkeymaster_enforcement.cpp111 access_count_map_(new (std::nothrow) AccessCountMap(max_access_count_map_size)) {} in KeymasterEnforcement()
115 delete access_count_map_; in ~KeymasterEnforcement()
378 if (!access_count_map_) { in AuthorizeBegin()
383 if (!access_count_map_->IncrementKeyAccessCount(keyid)) { in AuthorizeBegin()
431 if (!access_count_map_) in MaxUsesPerBootNotExceeded()
435 if (!access_count_map_->KeyAccessCount(keyid, &key_access_count)) in MaxUsesPerBootNotExceeded()
/system/security/keystore/
Dkeymaster_enforcement.cpp108 access_count_map_(new (std::nothrow) AccessCountMap(max_access_count_map_size)) {} in KeymasterEnforcement()
112 delete access_count_map_; in ~KeymasterEnforcement()
380 if (!access_count_map_) { in AuthorizeBegin()
385 if (!access_count_map_->IncrementKeyAccessCount(keyid)) { in AuthorizeBegin()
431 if (!access_count_map_) return false; in MaxUsesPerBootNotExceeded()
434 if (!access_count_map_->KeyAccessCount(keyid, &key_access_count)) return true; in MaxUsesPerBootNotExceeded()
Dkeymaster_enforcement.h155 AccessCountMap* access_count_map_; variable
/system/keymaster/include/keymaster/
Dkeymaster_enforcement.h160 AccessCountMap* access_count_map_; variable