Searched refs:aux_data (Results 1 – 1 of 1) sorted by relevance
/system/extras/simpleperf/ |
D | RecordReadThread_test.cpp | 465 std::vector<FakeAuxData> aux_data; in TEST_F() local 466 aux_data.emplace_back(40, 0, '0', 0, false); // one buffer in TEST_F() 467 aux_data.emplace_back(40, 40, '1', 0, false); // two buffers in TEST_F() 468 aux_data.emplace_back(36, 0, '2', 4, false); // one buffer needs padding to 8 bytes alignment in TEST_F() 469 aux_data.emplace_back(1024, 0, '3', 0, true); // one buffer too big to fit into RecordReadThread in TEST_F() 473 *buf1 = aux_data[test_index].buf1.data(); in TEST_F() 477 *size1 = aux_data[test_index].buf1.size(); in TEST_F() 481 *buf2 = aux_data[test_index].buf2.data(); in TEST_F() 485 *size2 = aux_data[test_index].buf2.size(); in TEST_F() 489 return size == aux_data[test_index].buf1.size() + aux_data[test_index].buf2.size(); in TEST_F() [all …]
|