Use canonical result handling macros in libaudiohal

For staying aligned with the audioserver code, it is
preferred to use the same utility macros and functions
for dealing with Binder transaction errors.

One missing piece was an overload for statusTFromBinderStatus
which takes ndk::ScopedAStatus, added it.

Bug: 205884982
Test: m
Change-Id: I50815e9cde6cd1ab35b79b01621049bfa4228ba3
4 files changed