Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea5f5367 authored by Andy Hung's avatar Andy Hung Committed by Automerger Merge Worker
Browse files

Merge "Add AudioFlinger to MelReporter thread safety annotations" into...

Merge "Add AudioFlinger to MelReporter thread safety annotations" into udc-dev-plus-aosp am: b355a43c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/24829023



Change-Id: I3aa596dc0508172ad335794e0b67b1e5134fbda4
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents c5f16e3b b355a43c
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -31,9 +31,11 @@ constexpr static int kMaxTimestampDeltaInSec = 120;

class IAfMelReporterCallback : public virtual RefBase {
public:
    virtual audio_utils::mutex& mutex() const = 0;
    virtual audio_utils::mutex& mutex() const
            RETURN_CAPABILITY(audio_utils::AudioFlinger_Mutex) = 0;
    virtual const sp<PatchCommandThread>& getPatchCommandThread() = 0;
    virtual sp<IAfThreadBase> checkOutputThread_l(audio_io_handle_t ioHandle) const = 0;
    virtual sp<IAfThreadBase> checkOutputThread_l(audio_io_handle_t ioHandle) const
            REQUIRES(mutex()) = 0;
};

/**