Home
last modified time | relevance | path

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

/system/extras/simpleperf/
DRecordReadThread_test.cpp229 event_fds_.resize(event_fd_count); in CreateFakeEventFds()
231 event_fds_[i].reset(new MockEventFd(attr, i, buffers_[i].data(), buffer_size, false)); in CreateFakeEventFds()
232 EXPECT_CALL(*event_fds_[i], CreateMappedBuffer(_, _)).Times(1).WillOnce(Return(true)); in CreateFakeEventFds()
233 EXPECT_CALL(*event_fds_[i], StartPolling(_, _)).Times(1).WillOnce(Return(true)); in CreateFakeEventFds()
234 EXPECT_CALL(*event_fds_[i], GetAvailableMmapDataSize(Truly(SetArg(0)))) in CreateFakeEventFds()
237 EXPECT_CALL(*event_fds_[i], DiscardMmapData(Eq(data_size))).Times(1); in CreateFakeEventFds()
238 EXPECT_CALL(*event_fds_[i], StopPolling()).Times(1).WillOnce(Return(true)); in CreateFakeEventFds()
239 EXPECT_CALL(*event_fds_[i], DestroyMappedBuffer()).Times(1); in CreateFakeEventFds()
240 EXPECT_CALL(*event_fds_[i], DestroyAuxBuffer()).Times(1); in CreateFakeEventFds()
243 for (auto& fd : event_fds_) { in CreateFakeEventFds()
[all …]