Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpFfsHandle.h33 constexpr int NUM_IO_BUFS = 2; variable
79 struct io_buffer mIobuf[NUM_IO_BUFS];
DMtpFfsHandle.cpp116 for (unsigned i = 0; i < NUM_IO_BUFS; i++) { in advise()
273 for (unsigned i = 0; i < NUM_IO_BUFS; i++) { in start()
554 i = (i + 1) % NUM_IO_BUFS; in receiveFile()
626 if (waitEvents(&mIobuf[(i-1)%NUM_IO_BUFS], mIobuf[(i-1)%NUM_IO_BUFS].actual, ioevs, in sendFile()
629 cancelEvents(mIobuf[(i-1)%NUM_IO_BUFS].iocb.data(), ioevs, num_events, in sendFile()
630 mIobuf[(i-1)%NUM_IO_BUFS].actual, false); in sendFile()
661 i = (i + 1) % NUM_IO_BUFS; in sendFile()
DMtpFfsCompatHandle.cpp116 for (unsigned i = 0; i < NUM_IO_BUFS; i++) { in start()