Searched refs:NvramHeader (Results 1 – 4 of 4) sorted by relevance
/system/nvram/core/ |
D | persistence.cpp | 81 template <> struct DescriptorForType<NvramHeader> { 83 MakeFieldList(MakeField(1, &NvramHeader::version), 84 MakeField(2, &NvramHeader::flags), 85 MakeField(3, &NvramHeader::allocated_indices), 86 MakeField(4, &NvramHeader::provisional_index)); 99 storage::Status LoadHeader(NvramHeader* header) { in LoadHeader() 108 storage::Status StoreHeader(const NvramHeader& header) { in StoreHeader()
|
D | nvram_manager.cpp | 655 NvramHeader header; in Initialize() 667 if (header.version > NvramHeader::kVersion) { in Initialize() 670 header.version, NvramHeader::kVersion); in Initialize() 761 disable_create_ = header.HasFlag(NvramHeader::kFlagDisableCreate); in Initialize() 819 NvramHeader header; in WriteHeader() 820 header.version = NvramHeader::kVersion; in WriteHeader() 822 header.SetFlag(NvramHeader::kFlagDisableCreate); in WriteHeader()
|
/system/nvram/core/tests/ |
D | nvram_manager_test.cpp | 40 NvramHeader header; in SetupHeader() 92 NvramHeader header; in TEST_F() 93 header.version = NvramHeader::kVersion; in TEST_F() 131 NvramHeader header; in TEST_F() 132 header.version = NvramHeader::kVersion; in TEST_F() 177 NvramHeader header; in TEST_F() 178 header.version = NvramHeader::kVersion; in TEST_F() 208 SetupHeader(NvramHeader::kVersion + 1, 1); in TEST_F() 280 SetupHeader(NvramHeader::kVersion, 1); in TEST_F() 452 SetupHeader(NvramHeader::kVersion, 42); in TEST_F() [all …]
|
/system/nvram/core/include/nvram/core/ |
D | persistence.h | 34 struct NvramHeader { struct 131 storage::Status LoadHeader(NvramHeader* header); 134 storage::Status StoreHeader(const NvramHeader& header);
|