libaudiohal@aidl: Refactor Android.bp files and reformat tests

Refactor definitions in Android.bp to minimize duplicates.

Enable clang-format for libaudiohal tests.

Bug: 280527932
Test: m
Change-Id: I5596f39268c3a67298eb13deda89f072b69b6fbb
3 files changed