Home
last modified time | relevance | path

Searched refs:events (Results 1 – 25 of 147) sorted by relevance

123456

/device/generic/vulkan-cereal/
D.gitignore11 /trace-events-all
12 /trace/generated-events.h
13 /trace/generated-events.c
53 /qapi/qapi-events-block-core.[ch]
54 /qapi/qapi-events-block.[ch]
55 /qapi/qapi-events-char.[ch]
56 /qapi/qapi-events-common.[ch]
57 /qapi/qapi-events-crypto.[ch]
58 /qapi/qapi-events-introspect.[ch]
59 /qapi/qapi-events-migration.[ch]
[all …]
/device/google/cuttlefish/common/libs/fs/
Depoll.cpp69 Result<void> Epoll::Add(SharedFD fd, uint32_t events) { in Add() argument
79 event.events = events; in Add()
92 Result<void> Epoll::AddOrModify(SharedFD fd, uint32_t events) { in AddOrModify() argument
99 event.events = events; in AddOrModify()
111 Result<void> Epoll::Modify(SharedFD fd, uint32_t events) { in Modify() argument
121 event.events = events; in Modify()
163 ret.events = event.events; in Wait()
Depoll.h33 uint32_t events; member
43 Result<void> Add(SharedFD fd, uint32_t events);
44 Result<void> Modify(SharedFD fd, uint32_t events);
45 Result<void> AddOrModify(SharedFD fd, uint32_t events);
/device/google/zuma/usb/usb/
DUsbDataSessionMonitor.cpp79 ev.events = EPOLLPRI; in addEpollFile()
175 std::vector<VendorUsbDataSessionEvent> events; in reportUsbDataSessionMetrics() local
181 events.push_back(event); in reportUsbDataSessionMetrics()
194 events.push_back(event); in reportUsbDataSessionMetrics()
203 events.push_back(event); in reportUsbDataSessionMetrics()
215 for (auto &event : events) { in reportUsbDataSessionMetrics()
474 struct epoll_event events[64]; in monitorThread() local
478 nevents = epoll_wait(monitor->mEpollFd.get(), events, 64, -1); in monitorThread()
487 if (events[n].data.fd == monitor->mUeventFd.get()) { in monitorThread()
489 } else if (events[n].data.fd == monitor->mTimerFd.get()) { in monitorThread()
[all …]
DUsb.cpp1319 ev.events = EPOLLIN; in work()
1334 struct epoll_event events[64]; in work() local
1336 nevents = epoll_wait(epoll_fd, events, 64, -1); in work()
1345 if (events[n].data.ptr) in work()
1346 (*(void (*)(int, struct data *payload))events[n].data.ptr)(events[n].events, in work()
1638 ev_hpd.events = epoll_flags; in displayPortPollWork()
1639 ev_pin.events = epoll_flags; in displayPortPollWork()
1640 ev_orientation.events = epoll_flags; in displayPortPollWork()
1641 ev_eventfd.events = epoll_flags; in displayPortPollWork()
1642 ev_link.events = epoll_flags; in displayPortPollWork()
[all …]
/device/google/zumapro/usb/usb/
DUsbDataSessionMonitor.cpp79 ev.events = EPOLLPRI; in addEpollFile()
175 std::vector<VendorUsbDataSessionEvent> events; in reportUsbDataSessionMetrics() local
181 events.push_back(event); in reportUsbDataSessionMetrics()
194 events.push_back(event); in reportUsbDataSessionMetrics()
203 events.push_back(event); in reportUsbDataSessionMetrics()
215 for (auto &event : events) { in reportUsbDataSessionMetrics()
474 struct epoll_event events[64]; in monitorThread() local
478 nevents = epoll_wait(monitor->mEpollFd.get(), events, 64, -1); in monitorThread()
487 if (events[n].data.fd == monitor->mUeventFd.get()) { in monitorThread()
489 } else if (events[n].data.fd == monitor->mTimerFd.get()) { in monitorThread()
[all …]
DUsb.cpp1409 ev.events = EPOLLIN; in work()
1424 struct epoll_event events[64]; in work() local
1426 nevents = epoll_wait(epoll_fd, events, 64, -1); in work()
1435 if (events[n].data.ptr) in work()
1436 (*(void (*)(int, struct data *payload))events[n].data.ptr)(events[n].events, in work()
1738 ev_hpd.events = epoll_flags; in displayPortPollWork()
1739 ev_pin.events = epoll_flags; in displayPortPollWork()
1740 ev_orientation.events = epoll_flags; in displayPortPollWork()
1741 ev_eventfd.events = epoll_flags; in displayPortPollWork()
1742 ev_link.events = epoll_flags; in displayPortPollWork()
[all …]
/device/google/gs201/usb/usb/
DUsbDataSessionMonitor.cpp79 ev.events = EPOLLPRI; in addEpollFile()
175 std::vector<VendorUsbDataSessionEvent> events; in reportUsbDataSessionMetrics() local
181 events.push_back(event); in reportUsbDataSessionMetrics()
194 events.push_back(event); in reportUsbDataSessionMetrics()
203 events.push_back(event); in reportUsbDataSessionMetrics()
215 for (auto &event : events) { in reportUsbDataSessionMetrics()
474 struct epoll_event events[64]; in monitorThread() local
478 nevents = epoll_wait(monitor->mEpollFd.get(), events, 64, -1); in monitorThread()
487 if (events[n].data.fd == monitor->mUeventFd.get()) { in monitorThread()
489 } else if (events[n].data.fd == monitor->mTimerFd.get()) { in monitorThread()
[all …]
DUsb.cpp1138 ev.events = EPOLLIN; in work()
1153 struct epoll_event events[64]; in work() local
1155 nevents = epoll_wait(epoll_fd, events, 64, -1); in work()
1164 if (events[n].data.ptr) in work()
1165 (*(void (*)(int, struct data *payload))events[n].data.ptr)(events[n].events, in work()
/device/google/gs101/usb/usb/
DUsbDataSessionMonitor.cpp79 ev.events = EPOLLPRI; in addEpollFile()
175 std::vector<VendorUsbDataSessionEvent> events; in reportUsbDataSessionMetrics() local
181 events.push_back(event); in reportUsbDataSessionMetrics()
194 events.push_back(event); in reportUsbDataSessionMetrics()
203 events.push_back(event); in reportUsbDataSessionMetrics()
215 for (auto &event : events) { in reportUsbDataSessionMetrics()
474 struct epoll_event events[64]; in monitorThread() local
478 nevents = epoll_wait(monitor->mEpollFd.get(), events, 64, -1); in monitorThread()
487 if (events[n].data.fd == monitor->mUeventFd.get()) { in monitorThread()
489 } else if (events[n].data.fd == monitor->mTimerFd.get()) { in monitorThread()
[all …]
DUsb.cpp1119 ev.events = EPOLLIN; in work()
1134 struct epoll_event events[64]; in work() local
1136 nevents = epoll_wait(epoll_fd, events, 64, -1); in work()
1145 if (events[n].data.ptr) in work()
1146 (*(void (*)(int, struct data *payload))events[n].data.ptr)(events[n].events, in work()
/device/generic/goldfish/sensors/
Dmultihal_sensors_epoll.cpp26 ev.events = EPOLLIN; in epollCtlAdd()
50 struct epoll_event events[2]; in qemuSensorListenerThreadImpl() local
53 events, 2, in qemuSensorListenerThreadImpl()
62 const struct epoll_event* ev = &events[i]; in qemuSensorListenerThreadImpl()
64 const int ev_events = ev->events; in qemuSensorListenerThreadImpl()
Dmultihal_sensors.cpp386 std::vector<Event> events; in sendAdditionalInfoReport() local
389 events.emplace_back(Event{ in sendAdditionalInfoReport()
397 if (!events.empty()) { in sendAdditionalInfoReport()
399 events, in sendAdditionalInfoReport()
/device/generic/goldfish/gnss/
DGnssHwConn.cpp49 ev.events = EPOLLIN; in epollCtlAdd()
80 struct epoll_event events[2]; in workerThread() local
83 events, 2, in workerThread()
92 const struct epoll_event* ev = &events[i]; in workerThread()
94 const int ev_events = ev->events; in workerThread()
/device/google/sunfish/usb/usb/
DUsb.cpp785 ev.events = EPOLLIN; in work()
800 struct epoll_event events[64]; in work() local
802 nevents = epoll_wait(epoll_fd, events, 64, -1); in work()
811 if (events[n].data.ptr) in work()
812 (*(void (*)(int, struct data *payload))events[n].data.ptr)(events[n].events, in work()
/device/google/barbet/usb/usb/
DUsb.cpp785 ev.events = EPOLLIN; in work()
800 struct epoll_event events[64]; in work() local
802 nevents = epoll_wait(epoll_fd, events, 64, -1); in work()
811 if (events[n].data.ptr) in work()
812 (*(void (*)(int, struct data *payload))events[n].data.ptr)(events[n].events, in work()
/device/google/redfin/usb/usb/
DUsb.cpp785 ev.events = EPOLLIN; in work()
800 struct epoll_event events[64]; in work() local
802 nevents = epoll_wait(epoll_fd, events, 64, -1); in work()
811 if (events[n].data.ptr) in work()
812 (*(void (*)(int, struct data *payload))events[n].data.ptr)(events[n].events, in work()
/device/google/coral/usb/usb/
DUsb.cpp785 ev.events = EPOLLIN; in work()
800 struct epoll_event events[64]; in work() local
802 nevents = epoll_wait(epoll_fd, events, 64, -1); in work()
811 if (events[n].data.ptr) in work()
812 (*(void (*)(int, struct data *payload))events[n].data.ptr)(events[n].events, in work()
/device/google/trout/hal/sensors/2.1/
DSensor.cpp106 std::vector<Event> events; in sendAdditionalInfoReport() local
109 events.emplace_back(Event{ in sendAdditionalInfoReport()
117 if (!events.empty()) { in sendAdditionalInfoReport()
118 mCallback->postEvents(events, mCallback->createScopedWakelock(isWakeUpSensor())); in sendAdditionalInfoReport()
487 mPollFdIio.events = POLLIN; in HWSensorBase()
/device/google/cuttlefish/common/frontend/socket_vsock_proxy/
Dsocket_vsock_proxy.cpp157 auto events = SharedFD::Dup(events_fd); in ListenEventsAndProxy() local
189 while (events->IsOpen()) { in ListenEventsAndProxy()
190 std::optional<monitor::ReadEventResult> received_event = monitor::ReadEvent(events); in ListenEventsAndProxy()
/device/google/trout/tools/tracing/proto/
Dperfetto_trace.proto373 // Configuration for compact encoding of scheduler events. When enabled (and
374 // recording the relevant ftrace events), specific high-volume events are
377 // If true, and sched_switch or sched_waking ftrace events are enabled,
378 // record those events in the compact format.
421 // Tracking driver memory usage events
424 // Tracking device memory usage events
819 // approximate this frequency. Works best with steady-rate events like
855 // Optional field-level filter for the tracepoint. Only events matching this
859 // https://www.kernel.org/doc/Documentation/trace/events.txt
1537 // Disable emitting events for data-source state changes (e.g. the marker
[all …]
/device/google/cuttlefish/host/commands/run_cvd/
Dboot_state_machine.cc295 .events = POLLIN | POLLHUP, in ThreadLoop()
299 .events = restore_complete_pipe->IsOpen() in ThreadLoop()
305 .events = POLLIN | POLLHUP, in ThreadLoop()
/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp124 pfd->events = POLLIN; in init_inotify()
225 [IDX_NANOHUB] = { .fd = mFd, .events = POLLIN, }, in runDeviceRx()
226 [IDX_CLOSE_PIPE] = { .fd = mThreadClosingPipe[0], .events = POLLIN, }, in runDeviceRx()
/device/google/cuttlefish/host/commands/log_tee/
Dlog_tee.cpp99 .events = POLL_IN, in main()
105 .events = POLL_IN, in main()
/device/google/cuttlefish/guest/commands/bt_vhci_forwarder/
Dmain.cpp113 fds[0].events = POLLIN; in main()
115 fds[1].events = POLLIN; in main()

123456