add dump() method to AudioRecord

Add a dump() method to AudioRecord.
Can be used by dumpsys or tests.

Test: run test_create_audiorecord
Change-Id: I4b3133601eeff4d5447ca2c5b13a01ff3451b6c7
2 files changed