Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpFfsCompatHandle.cpp131 if (ioctl(mBulkIn, FUNCTIONFS_ENDPOINT_ALLOC, static_cast<__u32>(mMaxWrite)) || in start()
157 return writeHandle(mBulkIn, data, len); in write()
251 int packet_size = getPacketSize(mBulkIn); in sendFile()
283 if (writeHandle(mBulkIn, data, sizeof(mtp_data_header) + init_read_len) == -1) return -1; in sendFile()
323 if (writeHandle(mBulkIn, data2, ret) == -1) { in sendFile()
332 if (TEMP_FAILURE_RETRY(::write(mBulkIn, data, 0)) != 0) { in sendFile()
DMtpFfsHandle.cpp80 mBulkIn.reset(); in closeEndpoints()
85 if (mBulkIn < 0) { in openEndpoints()
86 mBulkIn.reset(TEMP_FAILURE_RETRY(open(ptp ? FFS_PTP_EP_IN : FFS_MTP_EP_IN, O_RDWR))); in openEndpoints()
87 if (mBulkIn < 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()
242 endpoints[0] = ioctl(mBulkIn, FUNCTIONFS_ENDPOINT_REVMAP); in handleControlRequest()
362 if (::read(mBulkIn, nullptr, 0) != -1 || errno != EBADMSG) in cancelTransaction()
560 int packet_size = getPacketSize(mBulkIn); in sendFile()
[all …]
DMtpFfsHandle.h63 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.cpp76 handle->mBulkIn.reset(fd[1]); in MtpFfsHandleTest()