Add state testing to RecordThread "Microphone" methods

RecordThread::getActiveMicrophones()
RecordThread::setPreferredMicrophoneDirection()
RecordThread::setPreferredMicrophoneFieldDimension()

Bug: 184367936
Test: build, install...
Change-Id: I0adc00b56270bc0b53c79640f6149b83172d188d
Merged-In: I0adc00b56270bc0b53c79640f6149b83172d188d
(cherry picked from commit 7d323f1d1f2229b46511d59a0d6413a963987d51)
1 file changed