Home
last modified time | relevance | path

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

/system/extras/simpleperf/
DIOEventLoop.cpp25 IOEventLoop* loop;
31 IOEvent(IOEventLoop* loop, const std::function<bool()>& callback) in IOEvent()
42 IOEventLoop::IOEventLoop() in IOEventLoop() function in IOEventLoop
45 IOEventLoop::~IOEventLoop() { in ~IOEventLoop()
52 bool IOEventLoop::UsePreciseTimer() { in UsePreciseTimer()
60 bool IOEventLoop::EnsureInit() { in EnsureInit()
95 void IOEventLoop::EventCallbackFn(int, int16_t, void* arg) { in EventCallbackFn()
112 IOEventRef IOEventLoop::AddReadEvent(int fd, in AddReadEvent()
120 IOEventRef IOEventLoop::AddWriteEvent(int fd, in AddWriteEvent()
128 bool IOEventLoop::AddSignalEvent(int sig, in AddSignalEvent()
[all …]
DIOEventLoop_test.cpp27 TEST(IOEventLoop, read) { in TEST() argument
30 IOEventLoop loop; in TEST()
66 TEST(IOEventLoop, write) { in TEST() argument
69 IOEventLoop loop; in TEST()
102 TEST(IOEventLoop, signal) { in TEST() argument
103 IOEventLoop loop; in TEST()
129 IOEventLoop loop; in TestPeriodicEvents()
151 TEST(IOEventLoop, periodic) { in TEST() argument
155 TEST(IOEventLoop, periodic_precise) { in TEST() argument
159 TEST(IOEventLoop, read_and_del_event) { in TEST() argument
[all …]
DIOEventLoop.h34 class IOEventLoop {
36 IOEventLoop();
37 ~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);
DRecordReadThread.h128 bool RegisterDataCallback(IOEventLoop& loop, const std::function<bool()>& data_callback);
162 bool HandleCmd(IOEventLoop& loop);
163 bool HandleAddEventFds(IOEventLoop& loop, const std::vector<EventFd*>& event_fds);
DUnixSocket_test.cpp83 IOEventLoop loop; in ClientToTestUndelayedMessage()
112 IOEventLoop loop; in TEST()
146 IOEventLoop loop; in ClientToTestBufferedMessage()
181 IOEventLoop loop; in TEST()
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()
Devent_selection_set.h131 IOEventLoop* GetIOEventLoop() { in GetIOEventLoop()
188 std::unique_ptr<IOEventLoop> loop_;
DRecordReadThread_test.cpp117 MOCK_METHOD2(StartPolling, bool(IOEventLoop&, const std::function<bool()>&));
237 IOEventLoop loop; in TEST_F()
256 IOEventLoop loop; in TEST_F()
291 IOEventLoop loop; in TEST_F()
346 IOEventLoop loop; in TEST_F()
DInplaceSamplerClient.cpp70 bool InplaceSamplerClient::StartPolling(IOEventLoop& loop, in StartPolling()
125 bool InplaceSamplerClient::StopProfiling(IOEventLoop& loop, in StopProfiling()
DJITDebugReader.cpp122 bool JITDebugReader::RegisterDebugInfoCallback(IOEventLoop* loop, in RegisterDebugInfoCallback()
127 return (read_event_ != nullptr && IOEventLoop::DisableEvent(read_event_)); in RegisterDebugInfoCallback()
135 if (!IOEventLoop::EnableEvent(read_event_)) { in MonitorProcess()
194 if (!IOEventLoop::DisableEvent(read_event_)) { in ReadAllProcesses()
212 return IOEventLoop::EnableEvent(read_event_); in ReadAllProcesses()
Devent_fd.cpp254 bool EventFd::StartPolling(IOEventLoop& loop, in StartPolling()
260 bool EventFd::StopPolling() { return IOEventLoop::DelEvent(ioevent_ref_); } in StopPolling()
Devent_fd.h90 virtual bool StartPolling(IOEventLoop& loop, const std::function<bool()>& callback);
DRecordReadThread.cpp223 bool RecordReadThread::RegisterDataCallback(IOEventLoop& loop, in RegisterDataCallback()
298 IOEventLoop loop; in RunReadThread()
320 bool RecordReadThread::HandleCmd(IOEventLoop& loop) { in HandleCmd()
349 bool RecordReadThread::HandleAddEventFds(IOEventLoop& loop, in HandleAddEventFds()
DJITDebugReader.h88 bool RegisterDebugInfoCallback(IOEventLoop* loop, const debug_info_callback_t& callback);
Dinplace_sampler_lib.cpp93 IOEventLoop loop_;
Devent_selection_set.cpp133 : for_stat_cmd_(for_stat_cmd), loop_(new IOEventLoop) {} in EventSelectionSet()
673 loop_.reset(new IOEventLoop); in FinishReadMmapEventData()
Dcmd_record.cpp287 bool ProcessControlCmd(IOEventLoop* loop);
490 IOEventLoop* loop = event_selection_set_.GetIOEventLoop(); in PrepareRecording()
1320 bool RecordCommand::ProcessControlCmd(IOEventLoop* loop) { in ProcessControlCmd()
DAndroid.bp291 "IOEventLoop.cpp",
Dcmd_stat.cpp461 IOEventLoop* loop = event_selection_set_.GetIOEventLoop(); in Run()
Denvironment.cpp721 IOEventLoop loop; in RunCmdInApp()