Home
last modified time | relevance | path

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

/system/nvram/core/tests/
Dnvram_manager_test.cpp246 CreateSpaceRequest create_space_request; in TEST_F() local
247 create_space_request.index = 1; in TEST_F()
248 create_space_request.size = 32; in TEST_F()
249 ASSERT_TRUE(create_space_request.controls.Resize(5)); in TEST_F()
250 create_space_request.controls[0] = NV_CONTROL_BOOT_WRITE_LOCK; in TEST_F()
251 create_space_request.controls[1] = NV_CONTROL_BOOT_READ_LOCK; in TEST_F()
252 create_space_request.controls[2] = NV_CONTROL_WRITE_AUTHORIZATION; in TEST_F()
253 create_space_request.controls[3] = NV_CONTROL_READ_AUTHORIZATION; in TEST_F()
254 create_space_request.controls[4] = NV_CONTROL_WRITE_EXTEND; in TEST_F()
258 nvram.CreateSpace(create_space_request, &create_space_response)); in TEST_F()
[all …]
/system/nvram/hal/
Dnvram_device_adapter.cpp180 nvram::CreateSpaceRequest create_space_request; in device_create_space() local
181 create_space_request.index = index; in device_create_space()
182 create_space_request.size = size_in_bytes; in device_create_space()
183 if (!create_space_request.controls.Resize(list_size)) { in device_create_space()
187 create_space_request.controls[i] = control_list[i]; in device_create_space()
189 if (!create_space_request.authorization_value.Assign( in device_create_space()
195 device, std::move(create_space_request), &create_space_response); in device_create_space()