Home
last modified time | relevance | path

Searched refs:epoll_event (Results 1 – 13 of 13) sorted by relevance

/packages/modules/adb/fdevent/
Dfdevent_epoll.cpp65 static epoll_event calculate_epoll_event(fdevent* fde) { in calculate_epoll_event()
66 epoll_event result; in calculate_epoll_event()
83 epoll_event ev = calculate_epoll_event(fde); in Register()
104 epoll_event ev = calculate_epoll_event(fde); in Set()
115 std::vector<epoll_event> epoll_events; in Loop()
/packages/services/Car/cpp/libsysfsmonitor/src/
DSysfsMonitor.cpp51 struct epoll_event eventItem = {}; in init()
87 struct epoll_event eventItem = {}; in registerFd()
119 struct epoll_event events[EPOLL_MAX_EVENTS + 1]; // +1 for the pipe fd to quit this loop in observe()
/packages/modules/adb/libs/adbconnection/
Dadbconnection_server.cpp96 std::array<epoll_event, 16> events; in adbconnection_listen()
111 const epoll_event& event = events[i]; in adbconnection_listen()
121 epoll_event register_event; in adbconnection_listen()
/packages/modules/Bluetooth/system/osi/src/
Dreactor.cc95 struct epoll_event event; in reactor_new()
154 struct epoll_event event; in reactor_register()
176 struct epoll_event event; in reactor_change_registration()
239 struct epoll_event events[MAX_EVENTS]; in run_reactor()
/packages/modules/Bluetooth/system/gd/os/linux_generic/
Dreactor.cc110 epoll_event control_epoll_event = {EPOLLIN, {.ptr = nullptr}}; in Reactor()
139 epoll_event events[kEpollMaxEvents]; in Run()
224 epoll_event event = { in Register()
303 epoll_event event = { in ModifyRegistration()
/packages/services/Car/cpp/watchdog/server/src/
DPressureMonitor.h120 const std::function<int(int, epoll_event*, int, int)>& epollWaitFunc) : in PressureMonitor() argument
186 epoll_event* events,
209 std::function<int(int, epoll_event*, int, int)> mEpollWaitFunc;
DPressureMonitor.cpp263 struct epoll_event* events = new epoll_event[maxEvents]; in monitorPressure()
291 int psiEpollFd, epoll_event* events, size_t maxEvents) { in waitForLatestPressureLevel()
/packages/modules/adb/client/pairing/tests/
Dpairing_server.cpp232 struct epoll_event event; in serverWorker()
239 struct epoll_event event; in serverWorker()
246 struct epoll_event events[2]; in serverWorker()
257 struct epoll_event& event = events[i]; in serverWorker()
/packages/modules/adb/pairing_connection/
Dpairing_server.cpp252 struct epoll_event event; in ServerWorker()
259 struct epoll_event event; in ServerWorker()
266 struct epoll_event events[2]; in ServerWorker()
277 struct epoll_event& event = events[i]; in ServerWorker()
/packages/services/Car/cpp/watchdog/server/tests/
DPressureMonitorTest.cpp170 mEpollWaitMockFunc = std::make_unique<MockFunction<int(int, epoll_event*, int, int)>>(); in SetUp()
277 .WillByDefault([this](int epollFd, epoll_event* events, int maxEvents, in MockPsiApis()
349 std::unique_ptr<MockFunction<int(int, epoll_event*, int, int)>> mEpollWaitMockFunc;
/packages/services/DeviceAsWebcam/jni/
DUVCProvider.cpp64 struct epoll_event event {}; in add()
75 struct epoll_event event {}; in modify()
91 struct epoll_event event {}; in remove()
100 struct epoll_event events[MAX_EVENTS]; in waitForEvents()
DUVCProvider.h35 typedef std::vector<struct epoll_event> Events;
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp706 epoll_event evs[EPOLL_MAX_EVENTS]; in requestHandler()
1084 epoll_event ev; in addFd()