Home
last modified time | relevance | path

Searched refs:mStreamLock (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libaaudio/src/core/
DAudioStream.h83 virtual aaudio_result_t requestStart_l() REQUIRES(mStreamLock) = 0;
85 virtual aaudio_result_t requestPause_l() REQUIRES(mStreamLock) { in requestPause_l()
90 virtual aaudio_result_t requestFlush_l() REQUIRES(mStreamLock) { in requestFlush_l()
95 virtual aaudio_result_t requestStop_l() REQUIRES(mStreamLock) = 0;
147 virtual aaudio_result_t release_l() REQUIRES(mStreamLock) { in release_l()
156 virtual void close_l() REQUIRES(mStreamLock);
170 EXCLUDES(mStreamLock) { in createThread()
171 std::lock_guard<std::mutex> lock(mStreamLock); in createThread()
175 aaudio_result_t joinThread(void **returnArg) EXCLUDES(mStreamLock);
427 void setDuckAndMuteVolume(float duckAndMuteVolume) EXCLUDES(mStreamLock);
[all …]
DAudioStream.cpp163 std::lock_guard<std::mutex> lock(mStreamLock); in systemStart()
222 std::lock_guard<std::mutex> lock(mStreamLock); in systemPause()
276 std::lock_guard<std::mutex> lock(mStreamLock); in safeFlush()
286 std::lock_guard<std::mutex> lock(mStreamLock); in systemStopInternal()
348 std::lock_guard<std::mutex> lock(mStreamLock); in safeRelease()
365 std::lock_guard<std::mutex> lock(mStreamLock); in safeReleaseCloseInternal()
540 std::lock_guard<std::mutex> lock(mStreamLock); in joinThread()
556 mStreamLock.unlock(); in joinThread_l()
558 mStreamLock.lock(); in joinThread_l()
643 std::lock_guard<std::mutex> lock(mStreamLock); in setDuckAndMuteVolume()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamTrack.h48 aaudio_result_t requestStart_l() REQUIRES(mStreamLock) override;
49 aaudio_result_t requestPause_l() REQUIRES(mStreamLock) override;
50 aaudio_result_t requestFlush_l() REQUIRES(mStreamLock) override;
51 aaudio_result_t requestStop_l() REQUIRES(mStreamLock) override;
DAudioStreamRecord.h80 aaudio_result_t requestStart_l() REQUIRES(mStreamLock) override;
81 aaudio_result_t requestStop_l() REQUIRES(mStreamLock) override;
DAudioStreamRecord.cpp311 mStreamLock.unlock(); in close_l()
313 mStreamLock.lock(); in close_l()
DAudioStreamTrack.cpp303 mStreamLock.unlock(); in close_l()
305 mStreamLock.lock(); in close_l()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.h99 aaudio_result_t requestStart_l() REQUIRES(mStreamLock) override;
100 aaudio_result_t requestStop_l() REQUIRES(mStreamLock) override;
102 aaudio_result_t release_l() REQUIRES(mStreamLock) override;
198 aaudio_result_t exitStandby_l() REQUIRES(mStreamLock);
/frameworks/base/services/core/jni/tvinput/
DJTvInputHal.cpp62 Mutex::Autolock autoLock(&mStreamLock); in addOrUpdateStream()
121 Mutex::Autolock autoLock(&mStreamLock); in removeStream()
190 Mutex::Autolock autoLock(&mStreamLock); in onDeviceAvailable()
277 Mutex::Autolock autoLock(&mStreamLock); in onDeviceUnavailable()
291 Mutex::Autolock autoLock(&mStreamLock); in onStreamConfigurationsChanged()
332 Mutex::Autolock autoLock(&mStreamLock); in onCaptured()
DJTvInputHal.h240 Mutex mStreamLock; variable