Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpFfsHandle.cpp81 mBulkOut.reset(); in closeEndpoints()
93 if (mBulkOut < 0) { in openEndpoints()
94 mBulkOut.reset(TEMP_FAILURE_RETRY(open(ptp ? FFS_PTP_EP_OUT : FFS_MTP_EP_OUT, O_RDWR))); in openEndpoints()
95 if (mBulkOut < 0) { in openEndpoints()
140 int ret = iobufSubmit(&mIobuf[0], read ? mBulkOut : mBulkIn, this_len, read); in doAsync()
148 int packet_size = getPacketSize(read ? mBulkOut : mBulkIn); in doAsync()
150 int ret = iobufSubmit(&mIobuf[0], read ? mBulkOut : mBulkIn, 0, read); in doAsync()
243 endpoints[1] = ioctl(mBulkOut, FUNCTIONFS_ENDPOINT_REVMAP); in handleControlRequest()
364 if (::write(mBulkOut, nullptr, 0) != -1 || errno != EBADMSG) in cancelTransaction()
454 int packet_size = getPacketSize(mBulkOut); in receiveFile()
[all …]
DMtpFfsCompatHandle.cpp132 ioctl(mBulkOut, FUNCTIONFS_ENDPOINT_ALLOC, static_cast<__u32>(mMaxRead))) { in start()
153 return readHandle(mBulkOut, data, len); in read()
165 int packet_size = getPacketSize(mBulkOut); in receiveFile()
187 ret = readHandle(mBulkOut, data, length); in receiveFile()
239 if (TEMP_FAILURE_RETRY(::read(mBulkOut, data, packet_size)) != 0) { in receiveFile()
DMtpFfsHandle.h65 android::base::unique_fd mBulkOut; variable
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
DUsbAoapHostTestActivity.java104 private final UsbEndpoint mBulkOut; field in UsbAoapHostTestActivity.ReaderThread
131 mBulkOut = bulkOut; in ReaderThread()
/frameworks/av/media/mtp/tests/
DMtpFfsHandle_test.cpp81 handle->mBulkOut.reset(fd[0]); in MtpFfsHandleTest()