Home
last modified time | relevance | path

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

/system/extras/simpleperf/
DIOEventLoop.cpp27 IOEventLoop* loop;
33 IOEvent(IOEventLoop* loop, const std::function<bool()>& callback) in IOEvent()
43 IOEventLoop::IOEventLoop() in IOEventLoop() function in simpleperf::IOEventLoop
46 IOEventLoop::~IOEventLoop() { in ~IOEventLoop()
53 bool IOEventLoop::UsePreciseTimer() { in UsePreciseTimer()
61 bool IOEventLoop::EnsureInit() { in EnsureInit()
96 void IOEventLoop::EventCallbackFn(int, int16_t, void* arg) { in EventCallbackFn()
113 IOEventRef IOEventLoop::AddReadEvent(int fd, const std::function<bool()>& callback) { in AddReadEvent()
120 IOEventRef IOEventLoop::AddWriteEvent(int fd, const std::function<bool()>& callback) { in AddWriteEvent()
127 bool IOEventLoop::AddSignalEvent(int sig, const std::function<bool()>& callback) { in AddSignalEvent()
[all …]
DIOEventLoop_test.cpp29 TEST(IOEventLoop, read) { in TEST() argument
32 IOEventLoop loop; in TEST()
68 TEST(IOEventLoop, write) { in TEST() argument
71 IOEventLoop loop; in TEST()
104 TEST(IOEventLoop, signal) { in TEST() argument
105 IOEventLoop loop; in TEST()
131 IOEventLoop loop; in TestPeriodicEvents()
153 TEST(IOEventLoop, periodic) { in TEST() argument
157 TEST(IOEventLoop, periodic_precise) { in TEST() argument
161 TEST(IOEventLoop, read_and_del_event) { in TEST() argument
[all …]
DIOEventLoop.h37 class IOEventLoop {
39 IOEventLoop();
40 ~IOEventLoop();
Dworkload_test.cpp28 IOEventLoop loop; in TEST()
45 IOEventLoop loop; in run_signaled_workload()
64 IOEventLoop loop; in run_exit_nonzero_workload()
DRecordReadThread.h141 bool RegisterDataCallback(IOEventLoop& loop, const std::function<bool()>& data_callback);
172 bool HandleCmd(IOEventLoop& loop);
173 bool HandleAddEventFds(IOEventLoop& loop, const std::vector<EventFd*>& event_fds);
DRecordReadThread_test.cpp129 MOCK_METHOD2(StartPolling, bool(IOEventLoop&, const std::function<bool()>&));
259 IOEventLoop loop; in TEST_F()
278 IOEventLoop loop; in TEST_F()
313 IOEventLoop loop; in TEST_F()
364 IOEventLoop loop; in TEST_F()
392 IOEventLoop loop; in TEST_F()
433 IOEventLoop loop; in TEST_F()
509 IOEventLoop loop; in TEST_F()
Devent_selection_set.h156 IOEventLoop* GetIOEventLoop() { return loop_.get(); } in GetIOEventLoop()
209 std::unique_ptr<IOEventLoop> loop_;
Devent_fd.h108 virtual bool StartPolling(IOEventLoop& loop, const std::function<bool()>& callback);
Devent_fd.cpp315 bool EventFd::StartPolling(IOEventLoop& loop, const std::function<bool()>& callback) { in StartPolling()
321 return IOEventLoop::DelEvent(ioevent_ref_); in StopPolling()
DJITDebugReader.cpp259 bool JITDebugReader::RegisterDebugInfoCallback(IOEventLoop* loop, in RegisterDebugInfoCallback()
264 return (read_event_ != nullptr && IOEventLoop::DisableEvent(read_event_)); in RegisterDebugInfoCallback()
272 if (!IOEventLoop::EnableEvent(read_event_)) { in MonitorProcess()
331 if (!IOEventLoop::DisableEvent(read_event_)) { in ReadAllProcesses()
351 return IOEventLoop::EnableEvent(read_event_); in ReadAllProcesses()
DRecordReadThread.cpp240 bool RecordReadThread::RegisterDataCallback(IOEventLoop& loop, in RegisterDataCallback()
324 IOEventLoop loop; in RunReadThread()
346 bool RecordReadThread::HandleCmd(IOEventLoop& loop) { in HandleCmd()
375 bool RecordReadThread::HandleAddEventFds(IOEventLoop& loop, in HandleAddEventFds()
DJITDebugReader.h117 bool RegisterDebugInfoCallback(IOEventLoop* loop, const debug_info_callback_t& callback);
Dcmd_monitor.cpp267 IOEventLoop* loop = event_selection_set_.GetIOEventLoop(); in PrepareMonitoring()
DAndroid.bp251 "IOEventLoop.cpp",
Dcmd_record.cpp360 bool ProcessControlCmd(IOEventLoop* loop);
591 IOEventLoop* loop = event_selection_set_.GetIOEventLoop(); in PrepareRecording()
1483 bool RecordCommand::ProcessControlCmd(IOEventLoop* loop) { in ProcessControlCmd()
Devent_selection_set.cpp166 : for_stat_cmd_(for_stat_cmd), loop_(new IOEventLoop) {} in EventSelectionSet()
Dcmd_stat.cpp556 IOEventLoop* loop = event_selection_set_.GetIOEventLoop(); in Run()
Denvironment.cpp634 IOEventLoop loop; in RunCmdInApp()