Home
last modified time | relevance | path

Searched refs:mem_records_ (Results 1 – 2 of 2) sorted by relevance

/trusty/user/app/gatekeeper/
Dtrusty_gatekeeper.cpp332 if (!mem_records_.get()) { in InitMemoryRecords()
335 mem_records_.reset(mem_recs); in InitMemoryRecords()
345 if (mem_records_[i].uid == uid) { in GetMemoryRecord()
346 if (mem_records_[i].failure_record.secure_user_id == user_id) { in GetMemoryRecord()
347 *record = mem_records_[i].failure_record; in GetMemoryRecord()
351 mem_records_[i].failure_record.secure_user_id, user_id, uid); in GetMemoryRecord()
366 if (mem_records_[idx].uid == uid) { in WriteMemoryRecord()
370 if (mem_records_[idx].failure_record.last_checked_timestamp <= min_timestamp) { in WriteMemoryRecord()
371 min_timestamp = mem_records_[idx].failure_record.last_checked_timestamp; in WriteMemoryRecord()
383 mem_records_[idx].uid = uid; in WriteMemoryRecord()
[all …]
Dtrusty_gatekeeper.h109 UniquePtr<mem_failure_record_t[]> mem_records_; variable