Home
last modified time | relevance | path

Searched refs:numWakeupEvents (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/sensors/common/default/2.X/multihal/
DHalProxyCallback.cpp44 size_t numWakeupEvents; in postEvents() local
45 std::vector<V2_1::Event> processedEvents = processEvents(events, &numWakeupEvents); in postEvents()
46 if (numWakeupEvents > 0) { in postEvents()
57 mCallback->postEventsToMessageQueue(processedEvents, numWakeupEvents, std::move(wakelock)); in postEvents()
66 size_t* numWakeupEvents) const { in processEvents()
67 *numWakeupEvents = 0; in processEvents()
74 (*numWakeupEvents)++; in processEvents()
DHalProxy.cpp567 size_t numWakeupEvents = mPendingWriteEventsQueue.front().second; in handlePendingWrites() local
577 if (numWakeupEvents > 0) { in handlePendingWrites()
582 decrementRefCountAndMaybeReleaseWakelock(numWakeupEvents); in handlePendingWrites()
647 void HalProxy::postEventsToMessageQueue(const std::vector<Event>& events, size_t numWakeupEvents, in postEventsToMessageQueue() argument
652 incrementRefCountAndMaybeAcquireWakelock(numWakeupEvents); in postEventsToMessageQueue()
670 mPendingWriteEventsQueue.push({eventsLeft, numWakeupEvents}); in postEventsToMessageQueue()
734 size_t numWakeupEvents = 0; in countNumWakeupEvents() local
738 numWakeupEvents++; in countNumWakeupEvents()
741 return numWakeupEvents; in countNumWakeupEvents()
/hardware/interfaces/sensors/common/default/2.X/multihal/include/
DHalProxyCallback.h62 size_t numWakeupEvents,
100 size_t* numWakeupEvents) const;
DHalProxy.h129 void postEventsToMessageQueue(const std::vector<Event>& events, size_t numWakeupEvents,