Searched refs:OpPlayAudioMonitor (Results 1 – 2 of 2) sorted by relevance
31 class OpPlayAudioMonitor : public RefBase {32 friend class sp<OpPlayAudioMonitor>;34 ~OpPlayAudioMonitor() override;37 static sp<OpPlayAudioMonitor> createIfNeeded(44 OpPlayAudioMonitor(IAfThreadBase* thread,54 explicit PlayAudioOpCallback(const wp<OpPlayAudioMonitor>& monitor);58 const wp<OpPlayAudioMonitor> mMonitor;333 sp<OpPlayAudioMonitor> mOpPlayAudioMonitor;
565 sp<OpPlayAudioMonitor> OpPlayAudioMonitor::createIfNeeded( in createIfNeeded()591 return sp<OpPlayAudioMonitor>::make(thread, attributionSource, attr.usage, id, uid); in createIfNeeded()594 OpPlayAudioMonitor::OpPlayAudioMonitor(IAfThreadBase* thread, in OpPlayAudioMonitor() function in android::OpPlayAudioMonitor605 OpPlayAudioMonitor::~OpPlayAudioMonitor() in ~OpPlayAudioMonitor()613 void OpPlayAudioMonitor::onFirstRef() in onFirstRef()626 bool OpPlayAudioMonitor::hasOpPlayAudio() const { in hasOpPlayAudio()633 void OpPlayAudioMonitor::checkPlayAudioForUsage(bool doBroadcast) { in checkPlayAudioForUsage()654 OpPlayAudioMonitor::PlayAudioOpCallback::PlayAudioOpCallback( in PlayAudioOpCallback()655 const wp<OpPlayAudioMonitor>& monitor) : mMonitor(monitor) in PlayAudioOpCallback()658 void OpPlayAudioMonitor::PlayAudioOpCallback::opChanged(int32_t op, in opChanged()[all …]