History log of /frameworks/base/core/jni/android_os_HwParcel.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
932b5048655ad746e265be1fd590194f7e930f61 19-Apr-2017 Martijn Coenen <maco@google.com> Validate incoming data properly.

Make sure calls to readBuffer() and readEmbeddedBuffer()
get the correct size, parent and offset passed in, so
these can be validated by libhwbinder.

Modified HwBlob to take a length argument as well,
so it can be validated.

Bug: 30498700
Test: hidl_test, hidl_test_java, Youtube, Maps, Netflix, Camera
Change-Id: I28712db97ae29b46acfe952d3d92d1ce5f666a4d
/frameworks/base/core/jni/android_os_HwParcel.cpp
3d726d16b6c198087dc527d9e5f51f18351a0fa9 16-Mar-2017 Martijn Coenen <maco@google.com> Add HwParcel::releaseParcel()

To be able to free native Parcel objects as soon
as a transaction is done.

Test: hidl_test_java
Bug: 36088202
Change-Id: I50b3eb7e9fe06958c64575923730d3467e73b9a5
/frameworks/base/core/jni/android_os_HwParcel.cpp
14fae06b603b431f341453ddbfa69bbc2e03c959 13-Jan-2017 Martijn Coenen <maco@google.com> Add nullable parameter to readEmbeddedBuffer.

To support reading embedded buffers that can be
nullptr (currently only in empty hidl_vec).

Bug: 34255213
Test: hidl_test_java
Change-Id: I72028f580b7863b6bfeb31a5c0f43deed36dfd64
/frameworks/base/core/jni/android_os_HwParcel.cpp
24c82279feaff1674efacddc33a7785b23351c58 11-Jan-2017 Martijn Coenen <maco@google.com> Use new read(Embedded)Buffer APIs.

Bug: 34134129
Test: mma, hidl_test_java
Change-Id: I13b3841778d5df4e7c37760610712a26c68896d6
/frameworks/base/core/jni/android_os_HwParcel.cpp
e62b1f32f3ab72508daeda63c9be49743e8f8b7e 21-Dec-2016 Steven Moreland <smoreland@google.com> Add checked exceptions to HwBinder transact.

Bug: 33673120
Test: hidl_test_java
Merged-In: I7b62eb6b066fc24c44ef7e46aaa2a3208c053d11

Change-Id: I7b62eb6b066fc24c44ef7e46aaa2a3208c053d11
/frameworks/base/core/jni/android_os_HwParcel.cpp
ddf31f604ee2024daaf50ac309e7fcaf29d7b43c 16-Nov-2016 Yifan Hong <elsk@google.com> Fix include after spliting HidlSupport.h

Test: mma

Bug: 32756130
Change-Id: Ia4fa02726d79681753fe9c8c7135a28fffb508b4
/frameworks/base/core/jni/android_os_HwParcel.cpp
8cc1343724b21dd32b57c4f6469148305ed75f4e 15-Nov-2016 Treehugger Robot <treehugger-gerrit@google.com> Merge "Update for removing read/writeEmbeddedFrom/ToParcel methods."
3bb65781ec5aa73d25dc684f53f6b46752a12838 12-Nov-2016 Yifan Hong <elsk@google.com> Update for removing read/writeEmbeddedFrom/ToParcel methods.

Test: mma

Bug: 32756130

Change-Id: I179a1fbd4962e9b3be383cc25d95a6d492ef6a1f
/frameworks/base/core/jni/android_os_HwParcel.cpp
ab2fca253b7dc04daf336b4b589bd096b66c4572 11-Nov-2016 Steven Moreland <smoreland@google.com> hidl: Update for IFoo::descriptor -> const char *.

Test: hidl_test, hidl_test_java
Bug: 32745840
Change-Id: I9e4dcaaf7365d03cb53a2e1e8cd6336fbc08417d
/frameworks/base/core/jni/android_os_HwParcel.cpp
9f0268695c046538a1887f54172454dbc89157e7 03-Nov-2016 Andreas Huber <andih@google.com> Fix use of JNI calls inside GetStringCritical/ReleaseStringCritical sections.

Test: make, hidl_test_java
Bug: 32670143
Change-Id: Ia987a26fceab41cfc18fbae7c83e01dff1d9d11a
/frameworks/base/core/jni/android_os_HwParcel.cpp
ef1a565bd4e96646e6848a6a40a53ee4dfe33293 18-Oct-2016 Andreas Huber <andih@google.com> HIDL Vectors are now exposed to Java as ArrayList<T>, the supporting APIs on

HwParcel now reflect this change.

Bug: 32237331
Test: hidl_test_java
Change-Id: Ia1ce5a4e3acedd8ebcff15107aea53ce28fde589
/frameworks/base/core/jni/android_os_HwParcel.cpp
74c3b8edfeaacda960fa94bb39253f0d39b67339 19-Sep-2016 Andreas Huber <andih@google.com> Removed legacy code used to read/write java arrays from HwBinder parcels.

More generalized functionality is now available through HwBlob.

Change-Id: Id6c713fb01af7593ea3ff8405f3a9e5325877412
Bug: 31438033
Test: run updated "hidl_test" and "hidl_test_java"
/frameworks/base/core/jni/android_os_HwParcel.cpp
aa2c32f92b199cb40b808554ced67af1edaffef5 01-Sep-2016 Martijn Coenen <maco@google.com> Move Status to libhidl (DO NOT MERGE)

Bug: 31226252

Change-Id: Ieb0adcf1fa71d6859324c2d83841685d1e1a22f8
Signed-off-by: Iliyan Malchev <malchev@google.com>
/frameworks/base/core/jni/android_os_HwParcel.cpp
9266f9928d5b3431982cd04f4d6946b70f40766a 25-Aug-2016 Andreas Huber <andih@google.com> Adds framework support for hidl-gen Java backend. (to support structs) (DO NOT MERGE)

Bug: 30575790
Change-Id: Ida30d8fe7a1b210e98f1a0ea5d429a0112f9ef3f
Signed-off-by: Iliyan Malchev <malchev@google.com>
/frameworks/base/core/jni/android_os_HwParcel.cpp
86635bb45ee1ddeb3059a8a925659964c7858cc3 25-Aug-2016 Andreas Huber <andih@google.com> Add Bool* APIs to HwParcel (DO NOT MERGE)

Bug: 31045584
Change-Id: I202c4aa7caf92a4cd7e3a45ef6784638e41facc8
Signed-off-by: Iliyan Malchev <malchev@google.com>
/frameworks/base/core/jni/android_os_HwParcel.cpp
dab5fc65b92b37ee623b10f86a6ccf1709ba17d4 15-Aug-2016 Andreas Huber <andih@google.com> Initial commit of Java support for hardware binder (DO NOT MERGE)

Change-Id: If1098ab921a11bae8eca2a70a3c3070e4daa0ea2
/frameworks/base/core/jni/android_os_HwParcel.cpp