Searched refs:space_index_list (Results 1 – 5 of 5) sorted by relevance
/system/nvram/hal/tests/ |
D | nvram_hal_test.cc | 146 std::vector<uint32_t> space_index_list; in CleanBurnSpaces() local 147 if (device->GetSpaceList(&space_index_list) != NV_RESULT_SUCCESS) { in CleanBurnSpaces() 150 for (uint32_t index : space_index_list) { in CleanBurnSpaces() 179 std::vector<uint32_t> space_index_list; in GetNextBurnSpace() local 180 if (device->GetSpaceList(&space_index_list) != NV_RESULT_SUCCESS) { in GetNextBurnSpace() 184 while (Contains(*index, space_index_list)) { in GetNextBurnSpace() 240 std::vector<uint32_t> space_index_list; in TEST() local 241 ASSERT_EQ(NV_RESULT_SUCCESS, device.GetSpaceList(&space_index_list)); in TEST() 242 ASSERT_LE(space_index_list.size(), max_spaces); in TEST() 249 ASSERT_EQ(space_index_list.size() + 1, space_index_list2.size()); in TEST() [all …]
|
D | scoped_nvram_device.cc | 99 std::vector<uint32_t>* space_index_list) { in GetSpaceList() argument 108 space_index_list->resize(max_spaces); in GetSpaceList() 111 space_index_list->data(), &list_size); in GetSpaceList() 115 space_index_list->resize(list_size); in GetSpaceList()
|
/system/nvram/client/ |
D | nvram_client.c | 159 uint32_t* space_index_list = calloc(list_size, sizeof(uint32_t)); in HandleGetSpaceList() local 160 if (!space_index_list) { in HandleGetSpaceList() 165 device->get_space_list(device, list_size, space_index_list, &list_size); in HandleGetSpaceList() 167 free(space_index_list); in HandleGetSpaceList() 175 printf("%" PRIu32, space_index_list[i]); in HandleGetSpaceList() 179 free(space_index_list); in HandleGetSpaceList()
|
/system/nvram/hal/ |
D | nvram_device_adapter.cpp | 103 uint32_t* space_index_list, in device_get_space_list() argument 110 if (space_index_list) { in device_get_space_list() 114 space_index_list[i] = get_info_response.space_list[i]; in device_get_space_list()
|
/system/nvram/hal/include/nvram/hal/tests/ |
D | scoped_nvram_device.h | 47 virtual nvram_result_t GetSpaceList(std::vector<uint32_t>* space_index_list);
|