a039c883c593b2ebbca6d32282cbd855b5bec19f |
|
09-Aug-2016 |
Chih-Hung Hsieh <chh@google.com> |
Fix google-explict-constructor warnings in mtp. * Add explicit keyword to conversion constructors. Bug: 28341362 Test: build with WITH_TIDY=1 Change-Id: I3a84ae7ffa03b2e23562edef95ef6abefe0ff456
/frameworks/av/media/mtp/MtpObjectInfo.h
|
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/MtpObjectInfo.h
|
e13401bf532c7e4bf9ab82c7e9b13642838a927d |
|
19-May-2010 |
Mike Lockwood <lockwood@android.com> |
PTP host: Implement getObjectHandles and getObjectInfo commands Change-Id: I3ff6e52237f400b4e50c534a1f964c80789bfe98 Signed-off-by: Mike Lockwood <lockwood@android.com>
/frameworks/av/media/mtp/MtpObjectInfo.h
|