Lines Matching refs:mPlaybackThreads

254     while (!mPlaybackThreads.isEmpty()) {  in ~AudioFlinger()
256 closeOutput_nonvirtual(mPlaybackThreads.keyAt(0)); in ~AudioFlinger()
571 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in dump()
572 mPlaybackThreads.valueAt(i)->dump(fd, args); in dump()
822 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in createTrack()
823 sp<PlaybackThread> t = mPlaybackThreads.valueAt(i); in createTrack()
824 if (mPlaybackThreads.keyAt(i) != output.outputId) { in createTrack()
1091 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in setMasterVolume()
1092 if (mPlaybackThreads.valueAt(i)->isDuplicating()) { in setMasterVolume()
1095 mPlaybackThreads.valueAt(i)->setMasterVolume(value); in setMasterVolume()
1125 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in setMasterBalance()
1126 if (mPlaybackThreads.valueAt(i)->isDuplicating()) { in setMasterBalance()
1129 mPlaybackThreads.valueAt(i)->setMasterBalance(balance); in setMasterBalance()
1165 for (size_t i = 0; i < mPlaybackThreads.size(); i++) in setMode()
1166 mPlaybackThreads.valueAt(i)->setMode(mode); in setMode()
1752 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in registerClient()
1753 mPlaybackThreads.valueAt(i)->sendIoConfigEvent(AUDIO_OUTPUT_REGISTERED, pid); in registerClient()
1823 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in getEffectThread_l()
1824 if (mPlaybackThreads.valueAt(i)->getEffect(sessionId, effectId) != 0) { in getEffectThread_l()
1826 thread = mPlaybackThreads.valueAt(i); in getEffectThread_l()
2330 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in getAudioHwSyncForSession()
2331 sp<PlaybackThread> thread = mPlaybackThreads.valueAt(i); in getAudioHwSyncForSession()
2357 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in systemReady()
2358 ThreadBase *thread = (ThreadBase *)mPlaybackThreads.valueAt(i).get(); in systemReady()
2489 mPlaybackThreads.add(*output, thread); in openOutput_l()
2569 mPlaybackThreads.add(id, thread); in openDuplicateOutput()
2595 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in closeOutput_nonvirtual()
2596 if (mPlaybackThreads.valueAt(i)->isDuplicating()) { in closeOutput_nonvirtual()
2598 (DuplicatingThread *)mPlaybackThreads.valueAt(i).get(); in closeOutput_nonvirtual()
2605 mPlaybackThreads.removeItem(output); in closeOutput_nonvirtual()
2607 if (mPlaybackThreads.size()) { in closeOutput_nonvirtual()
2608 PlaybackThread *dstThread = checkPlaybackThread_l(mPlaybackThreads.keyAt(0)); in closeOutput_nonvirtual()
2663 mPlaybackThreads.removeItem(thread->mId); in closeThreadInternal_l()
2916 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in invalidateStream()
2917 PlaybackThread *thread = mPlaybackThreads.valueAt(i).get(); in invalidateStream()
3030 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in purgeStaleEffects_l()
3031 sp<PlaybackThread> t = mPlaybackThreads.valueAt(i); in purgeStaleEffects_l()
3127 return mPlaybackThreads.valueFor(output).get(); in checkPlaybackThread_l()
3153 VolumeInterface *volumeInterface = mPlaybackThreads.valueFor(output).get(); in getVolumeInterface_l()
3170 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in getAllVolumeInterfaces_l()
3171 volumeInterfaces.add(mPlaybackThreads.valueAt(i).get()); in getAllVolumeInterfaces_l()
3210 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in primaryPlaybackThread_l()
3211 PlaybackThread *thread = mPlaybackThreads.valueAt(i).get(); in primaryPlaybackThread_l()
3238 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in fastPlaybackThread_l()
3239 PlaybackThread *thread = mPlaybackThreads.valueAt(i).get(); in fastPlaybackThread_l()
3264 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in createSyncEvent()
3265 playStatus = mPlaybackThreads.valueAt(i)->setSyncEvent(event); in createSyncEvent()
3530 io = findIoHandleBySessionId_l(sessionId, mPlaybackThreads); in createEffect()
3559 if (io == AUDIO_IO_HANDLE_NONE && mPlaybackThreads.size() > 0) { in createEffect()
3560 io = mPlaybackThreads.keyAt(0); in createEffect()
3565 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in createEffect()
3566 const audio_io_handle_t checkIo = mPlaybackThreads.keyAt(i); in createEffect()
3569 mPlaybackThreads.valueAt(i)->hasAudioSession(sessionId); in createEffect()
3806 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in isNonOffloadableGlobalEffectEnabled_l()
3808 mPlaybackThreads.valueAt(i)->getEffectChain_l(AUDIO_SESSION_OUTPUT_MIX); in isNonOffloadableGlobalEffectEnabled_l()
3822 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in onNonOffloadableGlobalEffectEnable()
3823 sp<PlaybackThread> t = mPlaybackThreads.valueAt(i); in onNonOffloadableGlobalEffectEnable()