Home
last modified time | relevance | path

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

/system/nvram/core/tests/
Dnvram_manager_test.cpp42 ASSERT_TRUE(header.allocated_indices.Resize(1)); in SetupHeader()
43 header.allocated_indices[0] = index; in SetupHeader()
94 ASSERT_TRUE(header.allocated_indices.Resize(1)); in TEST_F()
95 header.allocated_indices[0] = 1; in TEST_F()
133 ASSERT_TRUE(header.allocated_indices.Resize(3)); in TEST_F()
134 header.allocated_indices[0] = 1; in TEST_F()
135 header.allocated_indices[1] = 2; in TEST_F()
136 header.allocated_indices[2] = 3; in TEST_F()
179 ASSERT_TRUE(header.allocated_indices.Resize(2)); in TEST_F()
180 header.allocated_indices[0] = 1; in TEST_F()
[all …]
/system/nvram/core/include/nvram/core/
Dpersistence.h68 Vector<uint32_t> allocated_indices; member
/system/nvram/core/
Dnvram_manager.cpp715 if (header.allocated_indices.size() > kMaxSpaces) { in Initialize()
717 header.allocated_indices.size()); in Initialize()
723 for (uint32_t index : header.allocated_indices) { in Initialize()
825 if (!header.allocated_indices.Resize(num_spaces_)) { in WriteHeader()
830 header.allocated_indices[i] = spaces_[i].index; in WriteHeader()
Dpersistence.cpp85 MakeField(3, &NvramHeader::allocated_indices),