72db40f4a612d04187ae2fc1f9a3766933264bdf |
|
10-Mar-2017 |
Steven Moreland <smoreland@google.com> |
Status.h: remove service specific error codes. These are leftover from binder and are never used in HIDL/hwbinder. Test: libhidl_test + hidl_test + internal marlin boots/works. Bug: 36099713 Change-Id: I12b20e1ae54d9df802a961bc9bc99f616291b0fd
/system/libhidl/base/Status.cpp
|
2be9418963c8d36bb1425093d224256e2a94b277 |
|
04-Mar-2017 |
Yifan Hong <elsk@google.com> |
Return<T>::description() provide more descriptive text than numbers Test: libhidl_test Change-Id: Ib7c591f261bb335b9fe348dd2fb0695a94bdf468
/system/libhidl/base/Status.cpp
|
af4e43cc5b2eacbfe600f9ab0e459f09c35c0c3f |
|
04-Mar-2017 |
Yifan Hong <elsk@google.com> |
return_status::checkStatus => assertOk checkStatus doesn't really set mCheckStatus to true, and hence is a misnomer. Change it to assertOk (correspond to isOk()). And hence the move assignment operator should not call checkStatus (because it is valid to move into a Return<T> object that !isOk() but has mCheckedStatus to true), because caller is fully aware of the error that will be overwritten. Test: libhidl_test Change-Id: I86a44967b68619d1467d2cc9caaa39124b156121
/system/libhidl/base/Status.cpp
|
e780c45b31a03f318db85b9940bf20f93ac50395 |
|
18-Jan-2017 |
Steven Moreland <smoreland@google.com> |
Better error message when hidl call fails. Now when a return object !isOk and is not checked, the error message includes the description of the return object. This way, error codes are exposed in logs on the device. Test: hidl_test Change-Id: Id886342d1d78297c3aa8301d565b48e4374665ee
/system/libhidl/base/Status.cpp
|
43298f90efb47e1ae3589df56b12e9e53f16c53e |
|
21-Dec-2016 |
Yifan Hong <elsk@google.com> |
Remove String8 from Status. Add description to Return<T>. Test: compiles Bug: 33760393 Bug: 31348667 Change-Id: I578b2795ed33ca87da8744c74f39cdc10ca45ea9
/system/libhidl/base/Status.cpp
|
00f4a391c6f9a698bbcbbd05bf3d80e213c82884 |
|
16-Nov-2016 |
Yifan Hong <elsk@google.com> |
Split libhidl into base and transport. libhidlbase contains "pure" classes that has nothing to do with tranport level stuff. libhwbinder can now safely depend on libhidlbase. IBinder inheriting from IBase will be in a follow up CL. Bug: 32756130 Test: mma under hardware/interfaces Test: hidl_test Change-Id: Ie2bd80769df3816aab83789ba0d7fca9b5a2e52f
/system/libhidl/base/Status.cpp
|