d9ac3741922a58b17aec730ba113f44efb8b6600 |
|
14-Nov-2017 |
Fyodor Kupolov <fkupolov@google.com> |
Provide remote stack trace information The stack is truncated up to 5 lines at parcel time. When unparceling, a separate RemoteException will be created and set as a cause of the exception being thrown. Performance results(in nanoseconds): timeWriteExceptionWithStackTraceParceling 82175 timeWriteException 6616 timeReadException 22529 timeReadExceptionWithStackTraceParceling 34151 Test: manual + ParcelPerfTest Bug: 36561158 Change-Id: I9c0a54a86cd82cff92d8e1a15ec19dfed58ef856
/frameworks/native/libs/binder/Status.cpp
|
c8dc4f0af9f8847be9cdd2b9cbb5b8a7767982c4 |
|
17-Jan-2017 |
Jeff Sharkey <jsharkey@android.com> |
Add Binder support for Parcelable exceptions. Follow the new framework changes that support sending EX_PARCELABLE exception types. Test: builds, boots Bug: 33749182 Change-Id: I7a856fa89f23aab4f782c4e5ae2beb8166fa8da4
/frameworks/native/libs/binder/Status.cpp
|
1651ced6a84b3ba5b62917e88b981e6bac3e7e3f |
|
06-May-2016 |
Christopher Wiley <wiley@google.com> |
libbinder: Use char* message with binder::Status Bug: None Change-Id: Idcb8345cda2bf18960c1c437b7a6de4ec17b59fe
/frameworks/native/libs/binder/Status.cpp
|
00cb980fcb6032f3a5ae124dc64ee2df8fb79a31 |
|
13-Apr-2016 |
Ralph Nathan <ralphnathan@google.com> |
libbinder: Remove templated binder::Status stream operator. The templated binder::Status stream operator doesn't work with gmock because of ambiguous operator overloading. Limiting the stream operator to just std::stringstream allows it to be used with gmock. BUG=28171901 TEST=Compiles with gmock and CameraBinderTests Change-Id: Ia674b68cbff4911b3f5cc3d8ee57d04a1d6cf6bf
/frameworks/native/libs/binder/Status.cpp
|
c1e491d5a4923298b612de919537d4293574b443 |
|
21-Nov-2015 |
Christopher Wiley <wiley@google.com> |
libbinder: Enable service specific error codes Add another factory method that takes a message and service specific error code. Bug: 25800533 Test: system/tools/aidl integration tests pass Change-Id: I592cb7def0538576965d14c200ab58548b3bef32
/frameworks/native/libs/binder/Status.cpp
|
cff7f175c1a4f790fdc64a56695c5b4b08b6bb6e |
|
23-Nov-2015 |
Christopher Wiley <wiley@google.com> |
libbinder: Handle transaction failures correctly Java code expects status_t != OK to be caught at the JNI level in android_util_Binder.cpp (see signalExceptionForError). We were incorrectly mapping this kind of failure to a special exception type and writing that exception type to parcels. Instead, refuse to write EX_TRANSACTION_FAILED to a parcel and return the status value instead. While here, remove non-trivial constructors to push authors toward the more explicit factory methods. Remove getException() and push authors toward using the simpler getter methods. Fix minor camelCase issues. Bug: 25615695 Test: system/tools/aidl integration tests still pass Change-Id: I7cad3ac8ae8300b5ac0b466606f4934d01e503c5
/frameworks/native/libs/binder/Status.cpp
|
09eb749704afd9e226e1347cb20c90be2016cd21 |
|
10-Nov-2015 |
Christopher Wiley <wiley@google.com> |
libbinder: Add binder::Status type This object implements equivalent functionality to the Java logic which serializes and re-throws exceptions from services. Bug: 25615695 Test: Integration test for generated AIDL code reveals this to work correctly. Change-Id: Ic80c9def0dd232582ea9c49717ec50894af6bfc2
/frameworks/native/libs/binder/Status.cpp
|