Lines Matching refs:mAudioCommands
382 if (!mAudioCommands.isEmpty()) { in ~AudioCommandThread()
385 mAudioCommands.clear(); in ~AudioCommandThread()
402 while (!mAudioCommands.isEmpty() && !exitPending()) { in threadLoop()
405 if (mAudioCommands[0]->mTime <= curTime) { in threadLoop()
406 sp<AudioCommand> command = mAudioCommands[0]; in threadLoop()
407 mAudioCommands.removeAt(0); in threadLoop()
570 waitTime = mAudioCommands[0]->mTime - curTime; in threadLoop()
576 if (mAudioCommands.isEmpty()) { in threadLoop()
592 if (!mAudioCommands.isEmpty()) { in threadLoop()
618 for (size_t i = 0; i < mAudioCommands.size(); i++) { in dump()
619 mAudioCommands[i]->dump(buffer, SIZE); in dump()
858 if (mAudioCommands.isEmpty()) { in insertCommand_l()
863 for (i = mAudioCommands.size()-1; i >= 0; i--) { in insertCommand_l()
864 sp<AudioCommand> command2 = mAudioCommands[i]; in insertCommand_l()
1004 for (size_t k = i + 1; k < mAudioCommands.size(); k++) { in insertCommand_l()
1005 if (mAudioCommands[k].get() == removedCommands[j].get()) { in insertCommand_l()
1006 ALOGV("suppressing command: %d", mAudioCommands[k]->mCommand); in insertCommand_l()
1007 mAudioCommands.removeAt(k); in insertCommand_l()
1023 command->mCommand, i+1, mAudioCommands.size()); in insertCommand_l()
1024 mAudioCommands.insertAt(command, i + 1); in insertCommand_l()