Home
last modified time | relevance | path

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

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