HomeSort by relevance Sort by last modified time
    Searched refs:AudioProtocol (Results 1 - 7 of 7) sorted by null

  /cts/suite/audio_quality/lib/include/audio/
AudioProtocol.h 43 class AudioProtocol {
63 virtual ~AudioProtocol() {
64 //LOGD("~AudioProtocol %x", this);
82 AudioProtocol(ClientSocket& socket, uint32_t command)
103 class CmdDownload: public AudioProtocol {
106 : AudioProtocol(socket, ECmdDownload) {};
112 class CmdStartPlayback: public AudioProtocol {
115 : AudioProtocol(socket, ECmdStartPlayback) {};
120 class CmdStopPlayback: public AudioProtocol {
123 : AudioProtocol(socket, ECmdStopPlayback) {}
    [all...]
RemoteAudio.h 29 #include "AudioProtocol.h"
84 void doStop(android::sp<android::MessageHandler>& commandHandler, AudioProtocol::CommandId id);
147 AudioProtocol* mCmds[AudioProtocol::ECmdLast - AudioProtocol::ECmdStart];
  /cts/suite/audio_quality/lib/src/audio/
RemoteAudio.cpp 25 #include "audio/AudioProtocol.h"
32 mDownloadHandler(new CommandHandler(*this, (int)AudioProtocol::ECmdDownload)),
33 mPlaybackHandler(new CommandHandler(*this, (int)AudioProtocol::ECmdStartPlayback)),
34 mRecordingHandler(new CommandHandler(*this, (int)AudioProtocol::ECmdStartRecording)),
35 mDeviceInfoHandler(new CommandHandler(*this, (int)AudioProtocol::ECmdGetDeviceInfo)),
38 mCmds[AudioProtocol::ECmdDownload - AudioProtocol::ECmdStart] = new CmdDownload(socket);
39 mCmds[AudioProtocol::ECmdStartPlayback - AudioProtocol::ECmdStart] =
41 mCmds[AudioProtocol::ECmdStopPlayback - AudioProtocol::ECmdStart]
    [all...]
AudioProtocol.cpp 26 #include "audio/AudioProtocol.h"
29 bool AudioProtocol::sendCommand(AudioParam& param)
36 bool AudioProtocol::handleReply(const uint32_t* data, AudioParam* param)
52 bool AudioProtocol::handleReplyHeader(ClientSocket& socket, uint32_t* data, CommandId& id)
77 bool AudioProtocol::checkHeaderId(const uint32_t* data, uint32_t command)
  /cts/suite/audio_quality/test/
RemoteAudioFakeTcpTest.cpp 29 #include <audio/AudioProtocol.h>
127 U32_ENDIAN_SWAP(AudioProtocol::ECmdDownload),
133 U32_ENDIAN_SWAP((AudioProtocol::ECmdDownload & 0xffff) | 0x43210000),
169 U32_ENDIAN_SWAP(AudioProtocol::ECmdStartPlayback),
178 U32_ENDIAN_SWAP((AudioProtocol::ECmdStartPlayback & 0xffff) | 0x43210000),
202 U32_ENDIAN_SWAP(AudioProtocol::ECmdStartPlayback),
211 U32_ENDIAN_SWAP((AudioProtocol::ECmdStartPlayback & 0xffff) | 0x43210000),
217 U32_ENDIAN_SWAP(AudioProtocol::ECmdStopPlayback),
222 U32_ENDIAN_SWAP((AudioProtocol::ECmdStopPlayback & 0xffff) | 0x43210000),
266 U32_ENDIAN_SWAP(AudioProtocol::ECmdStartRecording)
    [all...]
  /cts/suite/audio_quality/client/src/com/android/cts/audiotest/
CtsAudioClientActivity.java 27 private AudioProtocol mProtocol = null;
48 mProtocol = new AudioProtocol();
AudioProtocol.java 41 public class AudioProtocol implements AudioTrack.OnPlaybackPositionUpdateListener {
42 private static final String TAG = "AudioProtocol";
286 mPlayback.setPlaybackPositionUpdateListener(AudioProtocol.this);

Completed in 40 milliseconds