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()
100 void IOEventLoop::EventCallbackFn(int, int16_t, void* arg) { in EventCallbackFn()
117 IOEventRef IOEventLoop::AddReadEvent(int fd, const std::function<bool()>& callback, in AddReadEvent()
125 IOEventRef IOEventLoop::AddWriteEvent(int fd, const std::function<bool()>& callback, in AddWriteEvent()
133 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.h44 class IOEventLoop {
46 IOEventLoop();
47 ~IOEventLoop();
Dworkload_test.cpp28 IOEventLoop loop; in TEST()
45 IOEventLoop loop; in run_signaled_workload()
64 IOEventLoop loop; in run_exit_nonzero_workload()
DRecordReadThread.h144 bool RegisterDataCallback(IOEventLoop& loop, const std::function<bool()>& data_callback);
175 bool HandleCmd(IOEventLoop& loop);
176 bool HandleAddEventFds(IOEventLoop& loop, const std::vector<EventFd*>& event_fds);
DRecordReadThread_test.cpp148 MOCK_METHOD2(StartPolling, bool(IOEventLoop&, const std::function<bool()>&));
278 IOEventLoop loop; in TEST_F()
297 IOEventLoop loop; in TEST_F()
332 IOEventLoop loop; in TEST_F()
383 IOEventLoop loop; in TEST_F()
411 IOEventLoop loop; in TEST_F()
452 IOEventLoop loop; in TEST_F()
528 IOEventLoop loop; in TEST_F()
Devent_selection_set.h159 IOEventLoop* GetIOEventLoop() { return loop_.get(); } in GetIOEventLoop()
212 std::unique_ptr<IOEventLoop> loop_;
DJITDebugReader.cpp213 bool JITDebugReader::RegisterDebugInfoCallback(IOEventLoop* loop, in RegisterDebugInfoCallback()
218 return (read_event_ != nullptr && IOEventLoop::DisableEvent(read_event_)); in RegisterDebugInfoCallback()
226 if (!IOEventLoop::EnableEvent(read_event_)) { in MonitorProcess()
285 if (!IOEventLoop::DisableEvent(read_event_)) { in ReadAllProcesses()
305 return IOEventLoop::EnableEvent(read_event_); in ReadAllProcesses()
Devent_fd.h108 virtual bool StartPolling(IOEventLoop& loop, const std::function<bool()>& callback);
Devent_fd.cpp320 bool EventFd::StartPolling(IOEventLoop& loop, const std::function<bool()>& callback) { in StartPolling()
326 return IOEventLoop::DelEvent(ioevent_ref_); in StopPolling()
DRecordReadThread.cpp253 bool RecordReadThread::RegisterDataCallback(IOEventLoop& loop, in RegisterDataCallback()
338 IOEventLoop loop; in RunReadThread()
360 bool RecordReadThread::HandleCmd(IOEventLoop& loop) { in HandleCmd()
389 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()
Dcmd_record.cpp370 bool ProcessControlCmd(IOEventLoop* loop);
631 IOEventLoop* loop = event_selection_set_.GetIOEventLoop(); in PrepareRecording()
1552 bool RecordCommand::ProcessControlCmd(IOEventLoop* loop) { in ProcessControlCmd()
DAndroid.bp264 "IOEventLoop.cpp",
Devent_selection_set.cpp191 : for_stat_cmd_(for_stat_cmd), loop_(new IOEventLoop) {} in EventSelectionSet()
Dcmd_stat.cpp560 IOEventLoop* loop = event_selection_set_.GetIOEventLoop(); in Run()
Denvironment.cpp635 IOEventLoop loop; in RunCmdInApp()