Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpFfsHandle.cpp302 mBulkIn.reset(); in closeEndpoints()
350 if (mBulkIn > -1 || mBulkOut > -1 || mIntr > -1) in initFunctionfs()
432 return writeHandle(mBulkIn, data, len); in write()
438 mBulkIn.reset(TEMP_FAILURE_RETRY(open(FFS_MTP_EP_IN, O_RDWR))); in start()
439 if (mBulkIn < 0) { in start()
472 if (ioctl(mBulkIn, FUNCTIONFS_ENDPOINT_ALLOC, static_cast<__u32>(mMaxWrite)) || in start()
625 if (ioctl(mBulkIn, FUNCTIONFS_ENDPOINT_DESC, reinterpret_cast<unsigned long>(&mBulkIn_desc))) { in sendFile()
662 if (writeHandle(mBulkIn, data, sizeof(mtp_data_header) + init_read_len) == -1) return -1; in sendFile()
704 if (writeHandle(mBulkIn, data2, ret) == -1) { in sendFile()
713 if (TEMP_FAILURE_RETRY(::write(mBulkIn, data, 0)) != 0) { in sendFile()
DMtpFfsHandle.h43 android::base::unique_fd mBulkIn; variable
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
DUsbAoapHostTestActivity.java103 private final UsbEndpoint mBulkIn; field in UsbAoapHostTestActivity.ReaderThread
130 mBulkIn = bulkIn; in ReaderThread()
145 int read = mUsbConnection.bulkTransfer(mBulkIn, mBuffer, mBuffer.length, in run()
/frameworks/av/media/mtp/tests/
DMtpFfsHandle_test.cpp72 ffs_handle->mBulkIn.reset(fd[1]); in MtpFfsHandleTest()