Lines Matching refs:numWakeupEvents
490 size_t numWakeupEvents = mPendingWriteEventsQueue.front().second; in handlePendingWrites() local
500 if (numWakeupEvents > 0) { in handlePendingWrites()
505 decrementRefCountAndMaybeReleaseWakelock(numWakeupEvents); in handlePendingWrites()
570 void HalProxy::postEventsToMessageQueue(const std::vector<Event>& events, size_t numWakeupEvents, in postEventsToMessageQueue() argument
575 incrementRefCountAndMaybeAcquireWakelock(numWakeupEvents); in postEventsToMessageQueue()
593 mPendingWriteEventsQueue.push({eventsLeft, numWakeupEvents}); in postEventsToMessageQueue()
652 size_t numWakeupEvents = 0; in countNumWakeupEvents() local
656 numWakeupEvents++; in countNumWakeupEvents()
659 return numWakeupEvents; in countNumWakeupEvents()
672 size_t numWakeupEvents; in postEvents() local
673 std::vector<Event> processedEvents = processEvents(events, &numWakeupEvents); in postEvents()
674 if (numWakeupEvents > 0) { in postEvents()
685 mHalProxy->postEventsToMessageQueue(processedEvents, numWakeupEvents, std::move(wakelock)); in postEvents()
694 size_t* numWakeupEvents) const { in processEvents()
695 *numWakeupEvents = 0; in processEvents()
702 (*numWakeupEvents)++; in processEvents()