59 Commits (3e29db0621e2571b1f615cc48cb5848b5c1f263f)

Author SHA1 Message Date
robinz1x df4b507474 Use uint32_t instead of int to support 2~4G file
6 years ago
Jerry Zhang bc1d4b41f4 Fix Unicode string handling
6 years ago
Yunlian Jiang 9a161f0681 Merge "fix warning: dereference of a null pointer" am: 9a6b9ed394 am: 90b59dbb0d
7 years ago
Yunlian Jiang 90b59dbb0d Merge "fix warning: dereference of a null pointer"
7 years ago
Yunlian Jiang 0269068cb6 fix warning: dereference of a null pointer
8 years ago
Daichi Hirono d95d34d49d Don't send short URB packet when sending MtpDataPacket.
8 years ago
Daichi Hirono 5c66471ad2 Stop sending object handle with sendObject request.
8 years ago
Vitalii Tomkiv 6e08d93aa2 Add timeout to usb_device_get_string to prevent usb stuck state for bad
8 years ago
Daichi Hirono d4b4296b40 Don't send short URB packet when sending MtpDataPacket.
8 years ago
Daichi Hirono 8d20945c08 Stop sending object handle with sendObject request.
8 years ago
Daichi Hirono 66a9abef47 Add getObjectPropValue function to MtpDevice.
8 years ago
Daichi Hirono 95faffd319 Remove redundant code to check container type.
8 years ago
Daichi Hirono b3be006498 Fix compiler warning in media/mtp.
8 years ago
Jaesung Chung 251322bc8a Merge "Retry usb_device_claim_interface when it's connected to the kernel driver"
9 years ago
Jaesung Chung 33d5816289 Retry usb_device_claim_interface when it's connected to the kernel driver
9 years ago
Daichi Hirono 610d4a125f Add comment for readPartialObject's NULL expected length.
9 years ago
Daichi Hirono 326edd98bb Add MtpDevice#getPartialObject64 method.
9 years ago
Daichi Hirono 59a90609cc Reland "Return parameters of event as well as event code."
9 years ago
Daichi Hirono 4a7cea889d Add getPartialObject method to MtpDevice.
9 years ago
Daichi Hirono a04e6fa613 Fix MtpDevice to read 0-byte object correctly.
9 years ago
Daichi Hirono d6dabe95eb Skip an interface that does not have MTP interface class.
9 years ago
Daichi Hirono 8a7ffae09a Add functions to read MTP events from MTP devices.
9 years ago
Tomasz Mikolajewski 532b4f23c7 Fix sendObject upload.
9 years ago
Daichi Hirono 4fd9a8b986 Use common implementation for getObject and importFile.
9 years ago
Daichi Hirono 81ca5ade77 Read whole data from MTP device even on writing error.
9 years ago
Tomasz Mikolajewski 64c948bf50 Fix sending object info in MTP stack.
9 years ago
Tomasz Mikolajewski 025ffd9c17 Add support for reading into a file descriptor on MTP devices.
9 years ago
Mike Lockwood e1e814c7c6 am e418cfae: am 869e0798: Merge "MTP: add strict bounds checking for all incoming packets" into lmp-mr1-dev
10 years ago
Mike Lockwood ab063847e6 MTP: add strict bounds checking for all incoming packets
10 years ago
Bo Huang 8023f3af62 MTP Device: Parse USB3 descriptor for MTP initor;
10 years ago
Mark Salyzyn 3ab368e081 media: use size_t for integer iterator to Vector::size()
10 years ago
Mark Salyzyn db43b34c34 media: 64 bit compile issues
10 years ago
Nick Kralevich af8e8aa1ad Add mode when open(O_CREAT) is used.
12 years ago
Steve Block 29357bc2c0 Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
13 years ago
Steve Block df64d15042 Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
13 years ago
Steve Block b8a805261b Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
13 years ago
Steve Block 3856b090cd Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE
13 years ago
Mike Lockwood 3d74457b66 MtpDevice: Handle zero length packets in readResponse()
14 years ago
Mike Lockwood d4fb52e303 MTP host: disable some test code
14 years ago
Kenny Root 31c52e7c8c Fix some memory leaks found in static analysis
14 years ago
Mike Lockwood f41ef0ee0d Add support for synchronous bulk USB transfers
14 years ago
Mike Lockwood 23f1b33c5f New APIs for MTP and PTP host support
14 years ago
Mike Lockwood 42d0b79a78 MTP: changes to use new usb_request support in libusbhost
14 years ago
Mike Lockwood f7454622ea MTP host: Handle receiving a response packet instead of data packet.
14 years ago
Mike Lockwood 99e393a39a MTP: Support format argument in host GetObjectPropDesc command
14 years ago
Mike Lockwood 0c7c7c76a9 MTP: Improve MtpProperty logging support
14 years ago
Mike Lockwood 98693f6741 MTP: Host support for GetObjectPropsSupported and GetObjectPropDesc
14 years ago
Mike Lockwood 27afe3a1cc PTP: Fix permissions problems with files imported via PTP
14 years ago
Mike Lockwood b9ff444a7e PTP: Improve performance and reliability of file importing
14 years ago
Mike Lockwood e3e76c456b MTP: Implement support for getting/setting device properties
14 years ago