ab063847e6e893740749029a04cce1f6b7345ed5 |
|
12-Nov-2014 |
Mike Lockwood <lockwood@google.com> |
MTP: add strict bounds checking for all incoming packets Previously we did not sanity check incoming MTP packets, which could result in crashes due to reading off the edge of a packet. Now all MTP packet getter functions return a boolean result (true for OK, false for reading off the edge of the packet) and we now return errors for malformed packets. Bug: 18113092 Change-Id: Ic7623ee96f00652bdfb4f66acb16a93db5a1c105
/frameworks/av/media/mtp/MtpStringBuffer.h
|
014897f5aece2c6212418934bd4618326979f17a |
|
04-Dec-2012 |
Yin Liu <yin2.liu@sonymobile.com> |
Long mp3 metadata displays as corrupted file after transfer Cut the metadata to 1 Byte and return in function getObjectPropertyList in order to show it properly on a PC. Change-Id: Iefacf9fa86c20ece2572e6d95d35877a94066fe7
/frameworks/av/media/mtp/MtpStringBuffer.h
|
dde372033b4da75ebde7ea2afdec1c1b86ab5a42 |
|
26-Sep-2010 |
Mike Lockwood <lockwood@android.com> |
MTP: Include current property value in GetDevicePropDesc Change-Id: I05125c79ad58b6f75734fcedcc8af9b689fa9ff3 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpStringBuffer.h
|
7850ef999740f214a1990a9c090d3f3865d435aa |
|
14-May-2010 |
Mike Lockwood <lockwood@android.com> |
Move MTP code to the android namespace Change-Id: I5da48038fd5e4cdeefaeba42cdc74eb588b3448d Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpStringBuffer.h
|
16864bae0f51c32c456da2c43adf7a057c0c4882 |
|
11-May-2010 |
Mike Lockwood <lockwood@android.com> |
Checkpoint work on MTP and PTP investigation. This change includes work in progress on a C++ library for both host and device MTP and PTP support. Currently the makefile builds two test programs: mtptest - a command line test program that implements a small subset of device side MTP. Requires a kernel driver that has not been checked in yet. ptptest - a host tool to test USB host support for detecting and communicating with digital cameras over PTP. Runs on Linux host. Later this will be reformulated as a native library that will be used in the media process. Change-Id: I81aab279975b600b59d99013ab97f9adf0b58da7 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpStringBuffer.h
|