Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/2.0/multihal/
DHalProxy.cpp492 size_t numToWrite = std::min(pendingWriteEvents.size(), eventQueueSize); in handlePendingWrites() local
495 pendingWriteEvents.data(), numToWrite, in handlePendingWrites()
499 ALOGE("Dropping %zu events after blockingWrite failed.", numToWrite); in handlePendingWrites()
510 mSizePendingWriteEventsQueue -= numToWrite; in handlePendingWrites()
572 size_t numToWrite = 0; in postEventsToMessageQueue() local
578 numToWrite = std::min(events.size(), mEventQueue->availableToWrite()); in postEventsToMessageQueue()
579 if (numToWrite > 0) { in postEventsToMessageQueue()
580 if (mEventQueue->write(events.data(), numToWrite)) { in postEventsToMessageQueue()
585 numToWrite = 0; in postEventsToMessageQueue()
589 size_t numLeft = events.size() - numToWrite; in postEventsToMessageQueue()
[all …]