Searched refs:AudioProtocol (Results 1 – 7 of 7) sorted by relevance
/cts/suite/audio_quality/lib/src/audio/ |
D | RemoteAudio.cpp | 32 mDownloadHandler(new CommandHandler(*this, (int)AudioProtocol::ECmdDownload)), in RemoteAudio() 33 mPlaybackHandler(new CommandHandler(*this, (int)AudioProtocol::ECmdStartPlayback)), in RemoteAudio() 34 mRecordingHandler(new CommandHandler(*this, (int)AudioProtocol::ECmdStartRecording)), in RemoteAudio() 35 mDeviceInfoHandler(new CommandHandler(*this, (int)AudioProtocol::ECmdGetDeviceInfo)), in RemoteAudio() 38 mCmds[AudioProtocol::ECmdDownload - AudioProtocol::ECmdStart] = new CmdDownload(socket); in RemoteAudio() 39 mCmds[AudioProtocol::ECmdStartPlayback - AudioProtocol::ECmdStart] = in RemoteAudio() 41 mCmds[AudioProtocol::ECmdStopPlayback - AudioProtocol::ECmdStart] = in RemoteAudio() 43 mCmds[AudioProtocol::ECmdStartRecording - AudioProtocol::ECmdStart] = in RemoteAudio() 45 mCmds[AudioProtocol::ECmdStopRecording - AudioProtocol::ECmdStart] = in RemoteAudio() 47 mCmds[AudioProtocol::ECmdGetDeviceInfo - AudioProtocol::ECmdStart] = in RemoteAudio() [all …]
|
D | AudioProtocol.cpp | 29 bool AudioProtocol::sendCommand(AudioParam& param) in sendCommand() 36 bool AudioProtocol::handleReply(const uint32_t* data, AudioParam* param) in handleReply() 52 bool AudioProtocol::handleReplyHeader(ClientSocket& socket, uint32_t* data, CommandId& id) in handleReplyHeader() 77 bool AudioProtocol::checkHeaderId(const uint32_t* data, uint32_t command) in checkHeaderId()
|
/cts/suite/audio_quality/lib/include/audio/ |
D | AudioProtocol.h | 43 class AudioProtocol { 63 virtual ~AudioProtocol() { in ~AudioProtocol() 82 AudioProtocol(ClientSocket& socket, uint32_t command) in AudioProtocol() function 103 class CmdDownload: public AudioProtocol { 106 : AudioProtocol(socket, ECmdDownload) {}; in CmdDownload() 112 class CmdStartPlayback: public AudioProtocol { 115 : AudioProtocol(socket, ECmdStartPlayback) {}; in CmdStartPlayback() 120 class CmdStopPlayback: public AudioProtocol { 123 : AudioProtocol(socket, ECmdStopPlayback) {}; in CmdStopPlayback() 127 class CmdStartRecording: public AudioProtocol { [all …]
|
D | RemoteAudio.h | 84 void doStop(android::sp<android::MessageHandler>& commandHandler, AudioProtocol::CommandId id); 147 AudioProtocol* mCmds[AudioProtocol::ECmdLast - AudioProtocol::ECmdStart];
|
/cts/suite/audio_quality/test/ |
D | RemoteAudioFakeTcpTest.cpp | 127 U32_ENDIAN_SWAP(AudioProtocol::ECmdDownload), in doDownload() 133 U32_ENDIAN_SWAP((AudioProtocol::ECmdDownload & 0xffff) | 0x43210000), in doDownload() 169 U32_ENDIAN_SWAP(AudioProtocol::ECmdStartPlayback), in TEST_F() 178 U32_ENDIAN_SWAP((AudioProtocol::ECmdStartPlayback & 0xffff) | 0x43210000), in TEST_F() 202 U32_ENDIAN_SWAP(AudioProtocol::ECmdStartPlayback), in TEST_F() 211 U32_ENDIAN_SWAP((AudioProtocol::ECmdStartPlayback & 0xffff) | 0x43210000), in TEST_F() 217 U32_ENDIAN_SWAP(AudioProtocol::ECmdStopPlayback), in TEST_F() 222 U32_ENDIAN_SWAP((AudioProtocol::ECmdStopPlayback & 0xffff) | 0x43210000), in TEST_F() 266 U32_ENDIAN_SWAP(AudioProtocol::ECmdStartRecording), in TEST_F() 277 startReply[0] = U32_ENDIAN_SWAP((AudioProtocol::ECmdStartRecording & 0xffff) | 0x43210000); in TEST_F() [all …]
|
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/ |
D | CtsAudioClientActivity.java | 27 private AudioProtocol mProtocol = null; 48 mProtocol = new AudioProtocol(); in onResume()
|
D | AudioProtocol.java | 41 public class AudioProtocol implements AudioTrack.OnPlaybackPositionUpdateListener { class 286 mPlayback.setPlaybackPositionUpdateListener(AudioProtocol.this); in handleStartPlayback()
|