Searched refs:maxEvents (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/cpp/watchdog/server/src/ |
D | PressureMonitor.cpp | 253 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()
|
D | PressureMonitor.h | 187 size_t maxEvents);
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | PressureMonitorTest.cpp | 277 .WillByDefault([this](int epollFd, epoll_event* events, int maxEvents, in MockPsiApis() 284 maxEvents != static_cast<int>(mCachedPsiMonitorInfos.size())) { in MockPsiApis()
|