Home
last modified time | relevance | path

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

/system/extras/simpleperf/
DRecordReadThread_test.cpp461 std::vector<FakeAuxData> aux_data; in TEST_F() local
462 aux_data.emplace_back(40, 0, '0', 0, false); // one buffer in TEST_F()
463 aux_data.emplace_back(40, 40, '1', 0, false); // two buffers in TEST_F()
464 aux_data.emplace_back(36, 0, '2', 4, false); // one buffer needs padding to 8 bytes alignment in TEST_F()
465 aux_data.emplace_back(1024, 0, '3', 0, true); // one buffer too big to fit into RecordReadThread in TEST_F()
469 *buf1 = aux_data[test_index].buf1.data(); in TEST_F()
473 *size1 = aux_data[test_index].buf1.size(); in TEST_F()
477 *buf2 = aux_data[test_index].buf2.data(); in TEST_F()
481 *size2 = aux_data[test_index].buf2.size(); in TEST_F()
485 return size == aux_data[test_index].buf1.size() + aux_data[test_index].buf2.size(); in TEST_F()
[all …]