bbab196fe58e5657d90f6f40a19fb93c2a91a8ac |
|
03-Feb-2016 |
Eino-Ville Talvala <etalvala@google.com> |
Binder::Status: Add operator<< to help with gtest logging Change-Id: I22fcf7c6314451701ba947af2d69d4e45b22345a
/frameworks/native/include/binder/Status.h
|
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/include/binder/Status.h
|
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/include/binder/Status.h
|
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/include/binder/Status.h
|