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.cpp565 size_t numWakeupEvents = mPendingWriteEventsQueue.front().second; in handlePendingWrites() local
575 if (numWakeupEvents > 0) { in handlePendingWrites()
580 decrementRefCountAndMaybeReleaseWakelock(numWakeupEvents); in handlePendingWrites()
645 void HalProxy::postEventsToMessageQueue(const std::vector<Event>& events, size_t numWakeupEvents, in postEventsToMessageQueue() argument
650 incrementRefCountAndMaybeAcquireWakelock(numWakeupEvents); in postEventsToMessageQueue()
668 mPendingWriteEventsQueue.push({eventsLeft, numWakeupEvents}); in postEventsToMessageQueue()
728 size_t numWakeupEvents = 0; in countNumWakeupEvents() local
732 numWakeupEvents++; in countNumWakeupEvents()
735 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,