Home
last modified time | relevance | path

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

/system/extras/simpleperf/
DRecordReadThread_test.cpp209 event_fds_.resize(event_fd_count); in CreateFakeEventFds()
211 event_fds_[i].reset(new MockEventFd(attr, i, buffers_[i].data(), buffer_size)); in CreateFakeEventFds()
212 EXPECT_CALL(*event_fds_[i], CreateMappedBuffer(_, _)).Times(1).WillOnce(Return(true)); in CreateFakeEventFds()
213 EXPECT_CALL(*event_fds_[i], StartPolling(_, _)).Times(1).WillOnce(Return(true)); in CreateFakeEventFds()
214 EXPECT_CALL(*event_fds_[i], GetAvailableMmapDataSize(Truly(SetArg(0)))).Times(1) in CreateFakeEventFds()
216 EXPECT_CALL(*event_fds_[i], DiscardMmapData(Eq(data_size))).Times(1); in CreateFakeEventFds()
217 EXPECT_CALL(*event_fds_[i], StopPolling()).Times(1).WillOnce(Return(true)); in CreateFakeEventFds()
218 EXPECT_CALL(*event_fds_[i], DestroyMappedBuffer()).Times(1); in CreateFakeEventFds()
221 for (auto& fd : event_fds_) { in CreateFakeEventFds()
229 std::vector<std::unique_ptr<MockEventFd>> event_fds_; member in RecordReadThreadTest