Lines Matching refs:command
212 sp<Command> command = mCommands.front(); in threadLoop() local
216 switch (command->mCommand) { in threadLoop()
218 CreateAudioPatchData *data = (CreateAudioPatchData *)command->mData.get(); in threadLoop()
223 ReleaseAudioPatchData *data = (ReleaseAudioPatchData *)command->mData.get(); in threadLoop()
228 ALOGW("CommandThread() unknown command %d", command->mCommand); in threadLoop()
244 void AudioFlinger::DeviceEffectManager::CommandThread::sendCommand(sp<Command> command) { in sendCommand() argument
246 mCommands.push_back(command); in sendCommand()
253 sp<Command> command = new Command(CREATE_AUDIO_PATCH, new CreateAudioPatchData(handle, patch)); in createAudioPatchCommand() local
255 sendCommand(command); in createAudioPatchCommand()
261 sp<Command> command = new Command(RELEASE_AUDIO_PATCH, new ReleaseAudioPatchData(handle)); in releaseAudioPatchCommand() local
263 sendCommand(command); in releaseAudioPatchCommand()