Home
last modified time | relevance | path

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

/system/extras/simpleperf/
DIOEventLoop.cpp25 IOEventLoop* loop;
30 IOEvent(IOEventLoop* loop, const std::function<bool()>& callback) in IOEvent()
40 IOEventLoop::IOEventLoop() : ebase_(nullptr), has_error_(false) {} in IOEventLoop() function in IOEventLoop
42 IOEventLoop::~IOEventLoop() { in ~IOEventLoop()
49 bool IOEventLoop::EnsureInit() { in EnsureInit()
60 void IOEventLoop::EventCallbackFn(int, short, void* arg) { in EventCallbackFn()
77 IOEventRef IOEventLoop::AddReadEvent(int fd, in AddReadEvent()
85 IOEventRef IOEventLoop::AddWriteEvent(int fd, in AddWriteEvent()
93 bool IOEventLoop::AddSignalEvent(int sig, in AddSignalEvent()
98 bool IOEventLoop::AddSignalEvents(std::vector<int> sigs, in AddSignalEvents()
[all …]
DIOEventLoop_test.cpp25 TEST(IOEventLoop, read) { in TEST() argument
28 IOEventLoop loop; in TEST()
64 TEST(IOEventLoop, write) { in TEST() argument
67 IOEventLoop loop; in TEST()
100 TEST(IOEventLoop, signal) { in TEST() argument
101 IOEventLoop loop; in TEST()
122 TEST(IOEventLoop, periodic) { in TEST() argument
127 IOEventLoop loop; in TEST()
147 TEST(IOEventLoop, read_and_del_event) { in TEST() argument
150 IOEventLoop loop; in TEST()
[all …]
DIOEventLoop.h33 class IOEventLoop {
35 IOEventLoop();
36 ~IOEventLoop();
Dworkload_test.cpp26 IOEventLoop loop; in TEST()
45 IOEventLoop loop; in run_signaled_workload()
66 IOEventLoop loop; in run_exit_nonzero_workload()
DInplaceSamplerClient.h36 bool StartPolling(IOEventLoop& loop, const std::function<bool(Record*)>& record_callback,
38 bool StopProfiling(IOEventLoop& loop, const std::function<bool()>& close_callback);
DUnixSocket_test.cpp83 IOEventLoop loop; in ClientToTestUndelayedMessage()
112 IOEventLoop loop; in TEST()
146 IOEventLoop loop; in ClientToTestBufferedMessage()
181 IOEventLoop loop; in TEST()
Devent_selection_set.h70 : for_stat_cmd_(for_stat_cmd), mmap_pages_(0), loop_(new IOEventLoop) {} in EventSelectionSet()
108 IOEventLoop* GetIOEventLoop() { in GetIOEventLoop()
164 std::unique_ptr<IOEventLoop> loop_;
DUnixSocket.h157 bool PrepareForIO(IOEventLoop& loop,
195 if (!IOEventLoop::EnableEvent(write_event_)) { in EnableWriteEventWithLock()
205 if (!IOEventLoop::DisableEvent(write_event_)) { in DisableWriteEventWithLock()
DUnixSocket.cpp106 IOEventLoop& loop, const std::function<bool(const UnixSocketMessage&)>& in PrepareForIO()
211 if (!IOEventLoop::DisableEvent(read_event_)) { in CloseConnection()
DInplaceSamplerClient.cpp70 bool InplaceSamplerClient::StartPolling(IOEventLoop& loop, in StartPolling()
125 bool InplaceSamplerClient::StopProfiling(IOEventLoop& loop, in StopProfiling()
Devent_fd.h82 bool StartPolling(IOEventLoop& loop, const std::function<bool()>& callback);
Devent_fd.cpp264 bool EventFd::StartPolling(IOEventLoop& loop, in StartPolling()
270 bool EventFd::StopPolling() { return IOEventLoop::DelEvent(ioevent_ref_); } in StopPolling()
Dinplace_sampler_lib.cpp93 IOEventLoop loop_;
DAndroid.mk114 IOEventLoop.cpp \
Dcmd_stat.cpp397 IOEventLoop* loop = event_selection_set_.GetIOEventLoop(); in Run()
Devent_selection_set.cpp640 loop_.reset(new IOEventLoop); in FinishReadMmapEventData()
Dcmd_record.cpp304 IOEventLoop* loop = event_selection_set_.GetIOEventLoop(); in Run()