Searched refs:read_space_response (Results 1 – 2 of 2) sorted by relevance
/system/nvram/core/tests/ |
D | nvram_manager_test.cpp | 53 ReadSpaceResponse read_space_response; in ReadAndCompareSpaceData() local 55 nvram->ReadSpace(read_space_request, &read_space_response)); in ReadAndCompareSpaceData() 56 ASSERT_EQ(expected_size, read_space_response.buffer.size()); in ReadAndCompareSpaceData() 57 EXPECT_EQ(0, memcmp(read_space_response.buffer.data(), expected_contents, in ReadAndCompareSpaceData() 878 ReadSpaceResponse read_space_response; in TEST_F() local 880 nvram.ReadSpace(read_space_request, &read_space_response)); in TEST_F() 899 ReadSpaceResponse read_space_response; in TEST_F() local 901 nvram.ReadSpace(read_space_request, &read_space_response)); in TEST_F() 902 EXPECT_EQ(0U, read_space_response.buffer.size()); in TEST_F() 1080 ReadSpaceResponse read_space_response; in TEST_F() local [all …]
|
/system/nvram/hal/ |
D | nvram_device_adapter.cpp | 251 nvram::ReadSpaceResponse read_space_response; in device_read_space() local 253 device, std::move(read_space_request), &read_space_response); in device_read_space() 255 read_space_response.buffer.size()); in device_read_space() 256 memcpy(buffer, read_space_response.buffer.data(), *bytes_read); in device_read_space()
|