Lines Matching refs:command
77 const sp<Command> command = mCommands.front(); in threadLoop() local
87 switch (command->mCommand) { in threadLoop()
89 const auto data = (CreateAudioPatchData*) command->mData.get(); in threadLoop()
103 const auto data = (ReleaseAudioPatchData*) command->mData.get(); in threadLoop()
117 const auto data = (UpdateAudioPatchData*) command->mData.get(); in threadLoop()
132 ALOGW("%s unknown command %d", __func__, command->mCommand); in threadLoop()
148 void PatchCommandThread::sendCommand(const sp<Command>& command) { in sendCommand() argument
150 mCommands.emplace_back(command); in sendCommand()
156 auto command = sp<Command>::make(CREATE_AUDIO_PATCH, in createAudioPatchCommand() local
162 sendCommand(command); in createAudioPatchCommand()
166 sp<Command> command = in releaseAudioPatchCommand() local
169 sendCommand(command); in releaseAudioPatchCommand()
175 sp<Command> command = sp<Command>::make(UPDATE_AUDIO_PATCH, in updateAudioPatchCommand() local
179 sendCommand(command); in updateAudioPatchCommand()