Home
last modified time | relevance | path

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

/system/nvram/core/
Dnvram_manager.cpp297 SpaceRecord space_record; in GetSpaceInfo() local
299 if (!LoadSpaceRecord(index, &space_record, &result)) { in GetSpaceInfo()
303 response->size = space_record.persistent.contents.size(); in GetSpaceInfo()
305 result = GetControlsVector(space_record.persistent, &response->controls); in GetSpaceInfo()
310 if (space_record.persistent.HasControl(NV_CONTROL_BOOT_READ_LOCK)) { in GetSpaceInfo()
311 response->read_locked = space_record.transient->read_locked; in GetSpaceInfo()
314 if (space_record.persistent.HasControl(NV_CONTROL_PERSISTENT_WRITE_LOCK)) { in GetSpaceInfo()
316 space_record.persistent.HasFlag(NvramSpace::kFlagWriteLocked); in GetSpaceInfo()
317 } else if (space_record.persistent.HasControl(NV_CONTROL_BOOT_WRITE_LOCK)) { in GetSpaceInfo()
318 response->write_locked = space_record.transient->write_locked; in GetSpaceInfo()
[all …]
/system/nvram/core/include/nvram/core/
Dnvram_manager.h132 SpaceRecord* space_record,