aaudio: add EXCLUDE thread safety annotation

This does not fix anything at run-time. It just helps us detect
deadlocks better at compile time.

These EXCLUDE annotations were intended to catch the deadlock
described in b/182852602.

Bug: 182852602
Test: atest CtsNativeMediaAAudioTestCases
Change-Id: Id64ffd161a506ee05007e22f2b3061f3afab6d2a
diff --git a/services/oboeservice/AAudioServiceStreamMMAP.h b/services/oboeservice/AAudioServiceStreamMMAP.h
index 6ba1725..667465a 100644
--- a/services/oboeservice/AAudioServiceStreamMMAP.h
+++ b/services/oboeservice/AAudioServiceStreamMMAP.h
@@ -73,7 +73,8 @@
 
     aaudio_result_t getAudioDataDescription(AudioEndpointParcelable &parcelable) override;
 
-    aaudio_result_t getFreeRunningPosition(int64_t *positionFrames, int64_t *timeNanos) override;
+    aaudio_result_t getFreeRunningPosition(int64_t *positionFrames,
+            int64_t *timeNanos) EXCLUDES(mLock) override;
 
     aaudio_result_t getHardwareTimestamp(int64_t *positionFrames, int64_t *timeNanos) override;