Lines Matching refs:android
40 class RemoteAudio: public android::Thread {
48 bool downloadData(const android::String8 name, android::sp<Buffer>& buffer, int& id);
50 int getDataId(const android::String8& name);
57 android::sp<Buffer>& buffer);
61 bool getDeviceInfo(android::String8& data);
76 void sendCommand(android::sp<android::MessageHandler>& command);
79 bool waitForCompletion(android::sp<android::MessageHandler>& command, int timeInMSec);
82 android::sp<android::MessageHandler>& commandHandler);
84 void doStop(android::sp<android::MessageHandler>& commandHandler, AudioProtocol::CommandId id);
86 CommandHandler* toCommandHandler(android::sp<android::MessageHandler>& command) { in toCommandHandler()
105 android::sp<android::Looper> mLooper;
109 class CommandHandler: public android::MessageHandler {
120 void handleMessage(const android::Message& message);
127 android::Message& getMessage() { in getMessage()
135 android::Mutex mStateLock;
136 android::Message mMessage;
142 android::sp<android::MessageHandler> mDownloadHandler;
143 android::sp<android::MessageHandler> mPlaybackHandler;
144 android::sp<android::MessageHandler> mRecordingHandler;
145 android::sp<android::MessageHandler> mDeviceInfoHandler;
149 std::map<int, android::sp<Buffer> > mBufferList;
150 std::map<android::String8, int> mIdMap;