Lines Matching refs:mPlaybackThreads

242     while (!mPlaybackThreads.isEmpty()) {  in ~AudioFlinger()
244 closeOutput_nonvirtual(mPlaybackThreads.keyAt(0)); in ~AudioFlinger()
510 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in dump()
511 mPlaybackThreads.valueAt(i)->dump(fd, args); in dump()
741 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in createTrack()
742 sp<PlaybackThread> t = mPlaybackThreads.valueAt(i); in createTrack()
743 if (mPlaybackThreads.keyAt(i) != output.outputId) { in createTrack()
910 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in setMasterVolume()
911 if (mPlaybackThreads.valueAt(i)->isDuplicating()) { in setMasterVolume()
914 mPlaybackThreads.valueAt(i)->setMasterVolume(value); in setMasterVolume()
947 for (size_t i = 0; i < mPlaybackThreads.size(); i++) in setMode()
948 mPlaybackThreads.valueAt(i)->setMode(mode); in setMode()
1464 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in registerClient()
1465 mPlaybackThreads.valueAt(i)->sendIoConfigEvent(AUDIO_OUTPUT_REGISTERED, pid); in registerClient()
1529 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in getEffectThread_l()
1530 if (mPlaybackThreads.valueAt(i)->getEffect(sessionId, EffectId) != 0) { in getEffectThread_l()
1532 thread = mPlaybackThreads.valueAt(i); in getEffectThread_l()
1972 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in getAudioHwSyncForSession()
1973 sp<PlaybackThread> thread = mPlaybackThreads.valueAt(i); in getAudioHwSyncForSession()
1996 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in systemReady()
1997 ThreadBase *thread = (ThreadBase *)mPlaybackThreads.valueAt(i).get(); in systemReady()
2113 mPlaybackThreads.add(*output, thread); in openOutput_l()
2189 mPlaybackThreads.add(id, thread); in openDuplicateOutput()
2213 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in closeOutput_nonvirtual()
2214 if (mPlaybackThreads.valueAt(i)->isDuplicating()) { in closeOutput_nonvirtual()
2216 (DuplicatingThread *)mPlaybackThreads.valueAt(i).get(); in closeOutput_nonvirtual()
2223 mPlaybackThreads.removeItem(output); in closeOutput_nonvirtual()
2225 if (mPlaybackThreads.size()) { in closeOutput_nonvirtual()
2226 PlaybackThread *dstThread = checkPlaybackThread_l(mPlaybackThreads.keyAt(0)); in closeOutput_nonvirtual()
2279 mPlaybackThreads.removeItem(thread->mId); in closeOutputInternal_l()
2581 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in invalidateStream()
2582 PlaybackThread *thread = mPlaybackThreads.valueAt(i).get(); in invalidateStream()
2682 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in purgeStaleEffects_l()
2683 sp<PlaybackThread> t = mPlaybackThreads.valueAt(i); in purgeStaleEffects_l()
2758 return mPlaybackThreads.valueFor(output).get(); in checkPlaybackThread_l()
2784 VolumeInterface *volumeInterface = mPlaybackThreads.valueFor(output).get(); in getVolumeInterface_l()
2801 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in getAllVolumeInterfaces_l()
2802 volumeInterfaces.add(mPlaybackThreads.valueAt(i).get()); in getAllVolumeInterfaces_l()
2837 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in primaryPlaybackThread_l()
2838 PlaybackThread *thread = mPlaybackThreads.valueAt(i).get(); in primaryPlaybackThread_l()
2865 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in fastPlaybackThread_l()
2866 PlaybackThread *thread = mPlaybackThreads.valueAt(i).get(); in fastPlaybackThread_l()
2891 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in createSyncEvent()
2892 playStatus = mPlaybackThreads.valueAt(i)->setSyncEvent(event); in createSyncEvent()
3100 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in createEffect()
3101 if (mPlaybackThreads.valueAt(i)->hasAudioSession(sessionId) != 0) { in createEffect()
3102 io = mPlaybackThreads.keyAt(i); in createEffect()
3125 if (io == AUDIO_IO_HANDLE_NONE && mPlaybackThreads.size() > 0) { in createEffect()
3126 io = mPlaybackThreads.keyAt(0); in createEffect()
3300 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in isNonOffloadableGlobalEffectEnabled_l()
3302 mPlaybackThreads.valueAt(i)->getEffectChain_l(AUDIO_SESSION_OUTPUT_MIX); in isNonOffloadableGlobalEffectEnabled_l()
3316 for (size_t i = 0; i < mPlaybackThreads.size(); i++) { in onNonOffloadableGlobalEffectEnable()
3317 sp<PlaybackThread> t = mPlaybackThreads.valueAt(i); in onNonOffloadableGlobalEffectEnable()