Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpFfsHandle.cpp112 for (unsigned i = 0; i < NUM_IO_BUFS; i++) { in advise()
270 for (unsigned i = 0; i < NUM_IO_BUFS; i++) { in start()
541 i = (i + 1) % NUM_IO_BUFS; in receiveFile()
610 if (waitEvents(&mIobuf[(i-1)%NUM_IO_BUFS], mIobuf[(i-1)%NUM_IO_BUFS].actual, ioevs, in sendFile()
613 cancelEvents(mIobuf[(i-1)%NUM_IO_BUFS].iocb.data(), ioevs, num_events, in sendFile()
614 mIobuf[(i-1)%NUM_IO_BUFS].actual); in sendFile()
645 i = (i + 1) % NUM_IO_BUFS; in sendFile()
DMtpFfsHandle.h32 constexpr int NUM_IO_BUFS = 2; variable
73 struct io_buffer mIobuf[NUM_IO_BUFS];
DMtpFfsCompatHandle.cpp116 for (unsigned i = 0; i < NUM_IO_BUFS; i++) { in start()