/frameworks/wilhelm/tests/mimeUri/ |
D | slesTestGetPositionUri.cpp | 45 #define CheckErr(x) ExitOnErrorFunc(x,__LINE__) macro 69 SLresult res = (*caller)->GetFillLevel(caller, &level); CheckErr(res); in PrefetchEventCallback() 72 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErr(res); in PrefetchEventCallback() 100 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback() 113 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback() 118 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback() 157 CheckErr(res); in TestGetPositionUri() 172 iidArray, required); CheckErr(res); in TestGetPositionUri() 176 CheckErr(res); in TestGetPositionUri() 196 NUM_EXPLICIT_INTERFACES_FOR_PLAYER, iidArray, required); CheckErr(res); in TestGetPositionUri() [all …]
|
D | slesTestSlowDownUri.cpp | 53 #define CheckErr(x) ExitOnErrorFunc(x,__LINE__) macro 75 SLresult res = (*pRateItf)->GetRate(pRateItf, &rate); CheckErr(res); in PlayEventCallback() 77 CheckErr(res); in PlayEventCallback() 84 res = (*pRateItf)->SetRate(pRateItf, rate); CheckErr(res); in PlayEventCallback() 88 CheckErr(res); in PlayEventCallback() 115 CheckErr(result); in PrefetchEventCallback() 118 CheckErr(result); in PrefetchEventCallback() 203 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); CheckErr(res); in TestSlowDownUri() 215 iidArray, required); CheckErr(res); in TestSlowDownUri() 218 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE); CheckErr(res); in TestSlowDownUri() [all …]
|
D | slesTestPlayUri.cpp | 58 #define CheckErr(x) ExitOnErrorFunc(x,__LINE__) macro 77 CheckErr(result); in PrefetchEventCallback() 81 CheckErr(result); in PrefetchEventCallback() 150 CheckErr(res); in TestPlayUri() 165 iidArray, required); CheckErr(res); in TestPlayUri() 169 CheckErr(res); in TestPlayUri() 189 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res); in TestPlayUri() 192 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); in TestPlayUri() 197 CheckErr(res); in TestPlayUri() 200 CheckErr(res); in TestPlayUri() [all …]
|
D | slesTestLoopUri.cpp | 51 #define CheckErr(x) ExitOnErrorFunc(x,__LINE__) macro 70 CheckErr(result); in PrefetchEventCallback() 73 CheckErr(result); in PrefetchEventCallback() 147 CheckErr(res); in TestLoopUri() 159 iidArray, required); CheckErr(res); in TestLoopUri() 163 CheckErr(res); in TestLoopUri() 187 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res); in TestLoopUri() 190 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); in TestLoopUri() 195 CheckErr(res); in TestLoopUri() 198 CheckErr(res); in TestLoopUri() [all …]
|
D | slesTestManyPlayers.cpp | 56 #define CheckErr(x) ExitOnErrorFunc(x, -1, __LINE__) macro 140 CheckErr(res); in TestSetup() 143 CheckErr(res); in TestSetup() 146 CheckErr(res); in TestSetup() 150 iidArray, required); CheckErr(res); in TestSetup() 153 CheckErr(res); in TestSetup()
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestSawtoothBufferQueue.cpp | 59 void CheckErr( SLresult res ) in CheckErr() function 97 CheckErr(res); in BufferQueueCallback() 136 CheckErr(res); in TestPlaySawtoothBufferQueue() 150 iidArray, required); CheckErr(res); in TestPlaySawtoothBufferQueue() 154 CheckErr(res); in TestPlaySawtoothBufferQueue() 158 (void*)&volumeItf); CheckErr(res); in TestPlaySawtoothBufferQueue() 201 &audioSource, &audioSink, 1, iidArray, required); CheckErr(res); in TestPlaySawtoothBufferQueue() 205 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); in TestPlaySawtoothBufferQueue() 210 CheckErr(res); in TestPlaySawtoothBufferQueue() 214 (void*)&bufferQueueItf); CheckErr(res); in TestPlaySawtoothBufferQueue() [all …]
|
/frameworks/wilhelm/tests/ |
D | mimeUri_test.cpp | 63 void CheckErr( SLresult res ) in CheckErr() function 124 CheckErr(res); in TestPlayUri() 139 iidArray, required); CheckErr(res); in TestPlayUri() 143 CheckErr(res); in TestPlayUri() 163 &audioSource, &audioSink, 2, iidArray, required); CheckErr(res); in TestPlayUri() 166 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); in TestPlayUri() 170 CheckErr(res); in TestPlayUri() 173 CheckErr(res); in TestPlayUri() 176 CheckErr(res); in TestPlayUri() 178 CheckErr(res); in TestPlayUri() [all …]
|
/frameworks/wilhelm/tests/sandbox/streamSource/ |
D | slesTestPlayStream.cpp | 59 #define CheckErr(x) ExitOnErrorFunc(x,__LINE__) macro 114 CheckErr(res); in AndroidBufferQueueCallback() 209 CheckErr(res); in TestPlayStream() 224 iidArray, required); CheckErr(res); in TestPlayStream() 228 CheckErr(res); in TestPlayStream() 248 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res); in TestPlayStream() 251 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); in TestPlayStream() 255 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); CheckErr(res); in TestPlayStream() 257 res = (*player)->GetInterface(player, SL_IID_VOLUME, (void*)&volItf); CheckErr(res); in TestPlayStream() 260 CheckErr(res); in TestPlayStream() [all …]
|
/frameworks/wilhelm/tests/automated/ |
D | BufferQueue_test.cpp | 53 void CheckErr(SLresult res) { in CheckErr() function 103 CheckErr(res); in SetUp() 105 CheckErr(res); in SetUp() 107 CheckErr(res); in SetUp() 111 CheckErr(res); in SetUp() 113 CheckErr(res); in SetUp() 191 CheckErr(res); in PrepareValidBuffer() 193 CheckErr(res); in PrepareValidBuffer() 196 CheckErr(res); in PrepareValidBuffer() 199 CheckErr(res); in PrepareValidBuffer() [all …]
|