Lines Matching refs:mPlaybackThreads

161     while (!mPlaybackThreads.isEmpty()) {
162 // closeOutput() will remove first entry from mPlaybackThreads
163 closeOutput(mPlaybackThreads.keyAt(0));
260 for (size_t i = 0; i < mPlaybackThreads.size(); i++) {
261 mPlaybackThreads.valueAt(i)->dump(fd, args);
328 for (size_t i = 0; i < mPlaybackThreads.size(); i++) {
329 sp<PlaybackThread> t = mPlaybackThreads.valueAt(i);
330 if (mPlaybackThreads.keyAt(i) != output) {
451 for (uint32_t i = 0; i < mPlaybackThreads.size(); i++)
452 mPlaybackThreads.valueAt(i)->setMasterVolume(value);
480 for (uint32_t i = 0; i < mPlaybackThreads.size(); i++)
481 mPlaybackThreads.valueAt(i)->setMode(mode);
521 for (uint32_t i = 0; i < mPlaybackThreads.size(); i++)
522 mPlaybackThreads.valueAt(i)->setMasterMute(muted);
560 for (uint32_t i = 0; i < mPlaybackThreads.size(); i++) {
561 mPlaybackThreads.valueAt(i)->setStreamVolume(stream, value);
583 for (uint32_t i = 0; i < mPlaybackThreads.size(); i++)
584 mPlaybackThreads.valueAt(i)->setStreamMute(stream, muted);
622 for (uint32_t i = 0; i < mPlaybackThreads.size(); i++) {
623 if (mPlaybackThreads.valueAt(i)->isStreamActive(stream)) {
790 for (size_t i = 0; i < mPlaybackThreads.size(); i++) {
791 mPlaybackThreads.valueAt(i)->sendConfigEvent(AudioSystem::OUTPUT_OPENED);
4325 mPlaybackThreads.add(id, thread);
4354 mPlaybackThreads.add(id, thread);
4375 for (size_t i = 0; i < mPlaybackThreads.size(); i++) {
4376 if (mPlaybackThreads.valueAt(i)->type() == PlaybackThread::DUPLICATING) {
4377 DuplicatingThread *dupThread = (DuplicatingThread *)mPlaybackThreads.valueAt(i).get();
4384 mPlaybackThreads.removeItem(output);
4531 for (size_t i = 0; i < mPlaybackThreads.size(); i++) {
4532 PlaybackThread *thread = mPlaybackThreads.valueAt(i).get();
4553 if (mPlaybackThreads.indexOfKey(output) >= 0) {
4554 thread = (PlaybackThread *)mPlaybackThreads.valueFor(output).get();
4775 for (size_t i = 0; i < mPlaybackThreads.size(); i++) {
4776 if (mPlaybackThreads.valueAt(i)->hasAudioSession(sessionId) != 0) {
4777 output = mPlaybackThreads.keyAt(i);
4784 if (output == 0 && mPlaybackThreads.size()) {
4785 output = mPlaybackThreads.keyAt(0);