Home
last modified time | relevance | path

Searched refs:maxEvents (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/cpp/watchdog/server/src/
DPressureMonitor.cpp253 size_t maxEvents; in monitorPressure() local
258 maxEvents = mPressureLevels.size(); in monitorPressure()
263 struct epoll_event* events = new epoll_event[maxEvents]; in monitorPressure()
264 auto result = waitForLatestPressureLevel(psiEpollFd, events, maxEvents); in monitorPressure()
291 int psiEpollFd, epoll_event* events, size_t maxEvents) { in waitForLatestPressureLevel() argument
302 totalActiveEvents = mEpollWaitFunc(psiEpollFd, events, maxEvents, /*timeout=*/-1); in waitForLatestPressureLevel()
312 mEpollWaitFunc(psiEpollFd, events, maxEvents, mPollingIntervalMillis.count()); in waitForLatestPressureLevel()
DPressureMonitor.h187 size_t maxEvents);
/packages/services/Car/cpp/watchdog/server/tests/
DPressureMonitorTest.cpp277 .WillByDefault([this](int epollFd, epoll_event* events, int maxEvents, in MockPsiApis()
284 maxEvents != static_cast<int>(mCachedPsiMonitorInfos.size())) { in MockPsiApis()