Home
last modified time | relevance | path

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

/system/nvram/core/tests/
Dnvram_manager_test.cpp75 GetSpaceInfoResponse get_space_info_response; in TEST_F() local
78 nvram.GetSpaceInfo(get_space_info_request, &get_space_info_response)); in TEST_F()
115 GetSpaceInfoResponse get_space_info_response; in TEST_F() local
117 &get_space_info_response)); in TEST_F()
118 EXPECT_EQ(10U, get_space_info_response.size); in TEST_F()
145 GetSpaceInfoResponse get_space_info_response; in TEST_F() local
147 &get_space_info_response)); in TEST_F()
148 EXPECT_EQ(10u, get_space_info_response.size); in TEST_F()
152 &get_space_info_response)); in TEST_F()
153 EXPECT_EQ(20u, get_space_info_response.size); in TEST_F()
[all …]
/system/nvram/hal/
Dnvram_device_adapter.cpp128 nvram::GetSpaceInfoResponse get_space_info_response; in device_get_space_size() local
130 device, std::move(get_space_info_request), &get_space_info_response); in device_get_space_size()
131 *size = get_space_info_response.size; in device_get_space_size()
142 nvram::GetSpaceInfoResponse get_space_info_response; in device_get_space_controls() local
144 device, std::move(get_space_info_request), &get_space_info_response); in device_get_space_controls()
147 *list_size = std::min(get_space_info_response.controls.size(), in device_get_space_controls()
150 control_list[i] = get_space_info_response.controls[i]; in device_get_space_controls()
153 *list_size = get_space_info_response.controls.size(); in device_get_space_controls()
165 nvram::GetSpaceInfoResponse get_space_info_response; in device_is_space_locked() local
167 device, std::move(get_space_info_request), &get_space_info_response); in device_is_space_locked()
[all …]