Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpFfsHandle.cpp85 mBulkOut.reset(); in closeEndpoints()
97 if (mBulkOut < 0) { in openEndpoints()
98 mBulkOut.reset(TEMP_FAILURE_RETRY(open(ptp ? FFS_PTP_EP_OUT : FFS_MTP_EP_OUT, O_RDWR))); in openEndpoints()
99 if (mBulkOut < 0) { in openEndpoints()
144 int ret = iobufSubmit(&mIobuf[0], read ? mBulkOut : mBulkIn, this_len, read); in doAsync()
152 int packet_size = getPacketSize(read ? mBulkOut : mBulkIn); in doAsync()
154 int ret = iobufSubmit(&mIobuf[0], read ? mBulkOut : mBulkIn, 0, read); in doAsync()
246 endpoints[1] = ioctl(mBulkOut, FUNCTIONFS_ENDPOINT_REVMAP); in handleControlRequest()
367 if (::write(mBulkOut, nullptr, 0) != -1 || errno != EBADMSG) in cancelTransaction()
461 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.h67 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/MtpFfsHandleTest/
DMtpFfsHandle_test.cpp81 handle->mBulkOut.reset(fd[0]); in MtpFfsHandleTest()