Lines Matching refs:id
106 AudioProtocol::CommandId id; in handlePacket() local
107 if (!AudioProtocol::handleReplyHeader(mSocket, data, id)) { in handlePacket()
111 if (id == AudioProtocol::ECmdDownload) { in handlePacket()
113 } else if (id == AudioProtocol::ECmdStartPlayback) { in handlePacket()
115 } else if (id == AudioProtocol::ECmdStartRecording) { in handlePacket()
117 } else if (id == AudioProtocol::ECmdGetDeviceInfo) { in handlePacket()
124 bool result = mCmds[id - AudioProtocol::ECmdStart]->handleReply(data, param); in handlePacket()
179 AudioProtocol::CommandId id) in doStop() argument
190 android::sp<android::MessageHandler> command(new CommandHandler(*this, (int)id)); in doStop()
196 bool RemoteAudio::downloadData(const android::String8 name, android::sp<Buffer>& buffer, int& id) in downloadData() argument
199 id = mDownloadId; in downloadData()
202 handler->getParam().mId = id; in downloadData()
215 mBufferList[id] = buffer; in downloadData()
216 mIdMap[name] = id; in downloadData()
232 int id, int numberRepetition) in startPlayback() argument
242 it = mBufferList.find(id); in startPlayback()
244 LOGE("Buffer id %d not registered", id); in startPlayback()
253 handler->getParam().mId = id; in startPlayback()