Home
last modified time | relevance | path

Searched refs:U32_ENDIAN_SWAP (Results 1 – 2 of 2) sorted by relevance

/cts/suite/audio_quality/test/
DRemoteAudioFakeTcpTest.cpp112 ASSERT_TRUE(U32_ENDIAN_SWAP(0x12345678) == 0x78563412); in SetUp()
127 U32_ENDIAN_SWAP(AudioProtocol::ECmdDownload), in doDownload()
128 U32_ENDIAN_SWAP(8), in doDownload()
129 U32_ENDIAN_SWAP(0), //id in doDownload()
130 U32_ENDIAN_SWAP(0) in doDownload()
133 U32_ENDIAN_SWAP((AudioProtocol::ECmdDownload & 0xffff) | 0x43210000), in doDownload()
169 U32_ENDIAN_SWAP(AudioProtocol::ECmdStartPlayback), in TEST_F()
170 U32_ENDIAN_SWAP(20), in TEST_F()
171 U32_ENDIAN_SWAP(id), //id in TEST_F()
172 U32_ENDIAN_SWAP(samplingF), in TEST_F()
[all …]
/cts/suite/audio_quality/lib/include/audio/
DAudioProtocol.h28 #define U32_ENDIAN_SWAP(x) ( ((x) & 0x000000ff)<<24 | ((x) & 0x0000ff00)<<8 | \ macro