Home
last modified time | relevance | path

Searched refs:MessageHandler (Results 1 – 3 of 3) sorted by relevance

/cts/suite/audio_quality/lib/include/audio/
DRemoteAudio.h76 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()
109 class CommandHandler: public android::MessageHandler {
142 android::sp<android::MessageHandler> mDownloadHandler;
143 android::sp<android::MessageHandler> mPlaybackHandler;
144 android::sp<android::MessageHandler> mRecordingHandler;
145 android::sp<android::MessageHandler> mDeviceInfoHandler;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/
DUsbAccessoryTestActivity.java73 private MessageHandler mHandler;
121 mHandler = new MessageHandler(); in onCreate()
259 private final MessageHandler mHandler;
263 MessageThread(InputStream inputStream, OutputStream outputStream, MessageHandler handler) { in MessageThread()
271 mHandler.sendEmptyMessage(MessageHandler.MESSAGE_THREAD_STARTING); in run()
290 mHandler.sendEmptyMessage(MessageHandler.MESSAGE_THREAD_EXCEPTION); in run()
293 mHandler.sendEmptyMessage(MessageHandler.MESSAGE_THREAD_EXCEPTION); in run()
295 mHandler.sendEmptyMessage(MessageHandler.MESSAGE_THREAD_ENDING); in run()
308 mHandler.sendEmptyMessage(MessageHandler.STAGE_PASSED); in handleReceivedMessage()
320 class MessageHandler extends Handler { class in UsbAccessoryTestActivity
/cts/suite/audio_quality/lib/src/audio/
DRemoteAudio.cpp151 void RemoteAudio::sendCommand(android::sp<android::MessageHandler>& command) in sendCommand()
156 bool RemoteAudio::waitForCompletion(android::sp<android::MessageHandler>& command, int timeInMSec) in waitForCompletion()
163 android::sp<android::MessageHandler>& commandHandler) in waitForPlaybackOrRecordingCompletion()
178 void RemoteAudio::doStop(android::sp<android::MessageHandler>& commandHandler, in doStop()
190 android::sp<android::MessageHandler> command(new CommandHandler(*this, (int)id)); in doStop()
331 android::sp<android::MessageHandler> command(new CommandHandler(*this, CommandHandler::EExit)); in release()