Home
last modified time | relevance | path

Searched refs:ExitOnError (Results 1 – 15 of 15) sorted by relevance

/frameworks/wilhelm/tests/mimeUri/
DslesTestPlayUri2.cpp29 void ExitOnError( SLresult result ) in ExitOnError() function
90 ExitOnError(result); in TestPlayUri()
109 ExitOnError(result); in TestPlayUri()
113 ExitOnError(result); in TestPlayUri()
139 ExitOnError(result); in TestPlayUri()
146 ExitOnError(result); in TestPlayUri()
149 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result); in TestPlayUri()
150 result = (*player)->Realize(player2, SL_BOOLEAN_FALSE); ExitOnError(result); in TestPlayUri()
155 ExitOnError(result); in TestPlayUri()
157 ExitOnError(result); in TestPlayUri()
[all …]
DslesTestPlayStreamType.cpp34 #define ExitOnError(x) ExitOnErrorFunc(x,__LINE__) macro
77 ExitOnError(result); in TestStreamTypeConfiguration()
90 ExitOnError(result); in TestStreamTypeConfiguration()
94 ExitOnError(result); in TestStreamTypeConfiguration()
130 ExitOnError(result); in TestStreamTypeConfiguration()
137 ExitOnError(result); in TestStreamTypeConfiguration()
145 ExitOnError(result); in TestStreamTypeConfiguration()
150 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result); in TestStreamTypeConfiguration()
155 ExitOnError(result); in TestStreamTypeConfiguration()
158 ExitOnError(result); in TestStreamTypeConfiguration()
[all …]
DslesTest_playStates.cpp33 #define ExitOnError(x) ExitOnErrorFunc(x,__LINE__) macro
74 ExitOnError(result); in TestPlayUri()
87 ExitOnError(result); in TestPlayUri()
91 ExitOnError(result); in TestPlayUri()
124 ExitOnError(result); in TestPlayUri()
127 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result); in TestPlayUri()
132 ExitOnError(result); in TestPlayUri()
135 ExitOnError(result); in TestPlayUri()
138 ExitOnError(result); in TestPlayUri()
148 ExitOnError(result); in TestPlayUri()
[all …]
/frameworks/wilhelm/tests/listening/
DslesTest_playMuteSolo.cpp41 #define ExitOnError(x) ExitOnErrorFunc(x,__LINE__) macro
108 SLresult res = (*muteSolo)->GetNumChannels(muteSolo, &numChannels); ExitOnError(res); in PlayEventCallback()
111 res = (*playItf)->GetPosition(playItf, &position); ExitOnError(res); in PlayEventCallback()
119 res = (*muteSolo)->GetChannelMute(muteSolo, 0, &leftMuted); ExitOnError(res); in PlayEventCallback()
123 ExitOnError(res); in PlayEventCallback()
126 ExitOnError(res); in PlayEventCallback()
139 res = (*muteSolo)->GetChannelSolo(muteSolo, 0, &leftSoloed); ExitOnError(res); in PlayEventCallback()
143 ExitOnError(res); in PlayEventCallback()
146 ExitOnError(res); in PlayEventCallback()
190 ExitOnError(result); in TestPlayUri()
[all …]
/frameworks/wilhelm/tests/examples/
DslesTestSendToPresetReverb.cpp37 #define ExitOnError(x) ExitOnErrorFunc(x,__LINE__) macro
59 ExitOnError(result); in prefetch_callback()
62 ExitOnError(result); in prefetch_callback()
107 ExitOnError(result); in TestSendToPresetReverb()
124 ExitOnError(result); in TestSendToPresetReverb()
128 ExitOnError(result); in TestSendToPresetReverb()
132 ExitOnError(result); in TestSendToPresetReverb()
156 ExitOnError(result); in TestSendToPresetReverb()
202 ExitOnError(result); in TestSendToPresetReverb()
205 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result); in TestSendToPresetReverb()
[all …]
DslesTestEqFdPath.cpp36 #define ExitOnError(x) ExitOnErrorFunc(x,__LINE__) macro
86 ExitOnError(result); in TestEQPathFromFD()
99 ExitOnError(result); in TestEQPathFromFD()
103 ExitOnError(result); in TestEQPathFromFD()
126 ExitOnError(SL_RESULT_RESOURCE_ERROR); in TestEQPathFromFD()
152 ExitOnError(result); in TestEQPathFromFD()
155 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result); in TestEQPathFromFD()
160 ExitOnError(result); in TestEQPathFromFD()
163 ExitOnError(result); in TestEQPathFromFD()
166 ExitOnError(result); in TestEQPathFromFD()
[all …]
DslesTestDecodeToBuffQueue.cpp95 #define ExitOnError(x) ExitOnErrorFunc(x,__LINE__) macro
132 ExitOnError(result); in PrefetchEventCallback()
136 ExitOnError(result); in PrefetchEventCallback()
154 ExitOnError(result); in DecProgressCallback()
183 ExitOnError(result); in DecPlayCallback()
201 ExitOnError( (*queueItf)->Enqueue(queueItf, pCntxt->pDataBase, BUFFER_SIZE_IN_BYTES) ); in DecPlayCallback()
209 ExitOnError( (*queueItf)->GetState(queueItf, &decQueueState) ); in DecPlayCallback()
220 ExitOnError(result); in DecPlayCallback()
233 ExitOnError(result); in DecPlayCallback()
247 PCM_METADATA_VALUE_SIZE, pcmMetaData); ExitOnError(res); in DecPlayCallback()
[all …]
DslesTestEqOutputPath.cpp36 #define ExitOnError(x) ExitOnErrorFunc(x,__LINE__) macro
88 ExitOnError(result); in TestEQPathFromFD()
105 ExitOnError(result); in TestEQPathFromFD()
109 ExitOnError(result); in TestEQPathFromFD()
133 ExitOnError(SL_RESULT_RESOURCE_ERROR); in TestEQPathFromFD()
159 ExitOnError(result); in TestEQPathFromFD()
162 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result); in TestEQPathFromFD()
167 ExitOnError(result); in TestEQPathFromFD()
170 ExitOnError(result); in TestEQPathFromFD()
179 ExitOnError(result); in TestEQPathFromFD()
[all …]
DslesTestPlayFdPath.cpp38 #define ExitOnError(x) ExitOnErrorFunc(x,__LINE__) macro
57 ExitOnError(result); in PrefetchEventCallback()
60 ExitOnError(result); in PrefetchEventCallback()
97 ExitOnError(result); in TestPlayPathFromFD()
110 ExitOnError(result); in TestPlayPathFromFD()
114 ExitOnError(result); in TestPlayPathFromFD()
153 ExitOnError(result); in TestPlayPathFromFD()
156 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result); in TestPlayPathFromFD()
161 ExitOnError(result); in TestPlayPathFromFD()
164 ExitOnError(result); in TestPlayPathFromFD()
[all …]
DslesTestVirtualizerPath.cpp36 #define ExitOnError(x) ExitOnErrorFunc(x,__LINE__) macro
82 ExitOnError(result); in TestVirtualizerPathFromFD()
95 ExitOnError(result); in TestVirtualizerPathFromFD()
99 ExitOnError(result); in TestVirtualizerPathFromFD()
122 ExitOnError(SL_RESULT_RESOURCE_ERROR); in TestVirtualizerPathFromFD()
148 ExitOnError(result); in TestVirtualizerPathFromFD()
151 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result); in TestVirtualizerPathFromFD()
156 ExitOnError(result); in TestVirtualizerPathFromFD()
159 ExitOnError(result); in TestVirtualizerPathFromFD()
162 ExitOnError(result); in TestVirtualizerPathFromFD()
[all …]
DslesTestBassBoostPath.cpp36 #define ExitOnError(x) ExitOnErrorFunc(x,__LINE__) macro
81 ExitOnError(result); in TestBassBoostPathFromFD()
94 ExitOnError(result); in TestBassBoostPathFromFD()
98 ExitOnError(result); in TestBassBoostPathFromFD()
121 ExitOnError(SL_RESULT_RESOURCE_ERROR); in TestBassBoostPathFromFD()
147 ExitOnError(result); in TestBassBoostPathFromFD()
150 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result); in TestBassBoostPathFromFD()
155 ExitOnError(result); in TestBassBoostPathFromFD()
158 ExitOnError(result); in TestBassBoostPathFromFD()
161 ExitOnError(result); in TestBassBoostPathFromFD()
[all …]
DslesTestDecodeAac.cpp145 #define ExitOnError(x) ExitOnErrorFunc(x,__LINE__) macro
164 ExitOnError(result); in PrefetchEventCallback()
167 ExitOnError(result); in PrefetchEventCallback()
210 ExitOnError(res); in PlayCallback()
277 ExitOnError(res); in AndroidBufferQueueCallback()
290 ExitOnError(res); in AndroidBufferQueueCallback()
334 ExitOnError(res); in DecPlayCallback()
355 PCM_METADATA_VALUE_SIZE, &u.pcmMetaData); ExitOnError(res); in DecPlayCallback()
362 PCM_METADATA_VALUE_SIZE, &u.pcmMetaData); ExitOnError(res); in DecPlayCallback()
365 PCM_METADATA_VALUE_SIZE, &u.pcmMetaData); ExitOnError(res); in DecPlayCallback()
[all …]
DslesTestRecBuffQueue.cpp71 #define ExitOnError(x) ExitOnErrorFunc(x,__LINE__) macro
151 ExitOnError( (*queueItf)->Enqueue(queueItf, pCntxt->pDataBase, BUFFER_SIZE_IN_BYTES) ); in RecBufferQueueCallback()
154 ExitOnError( (*queueItf)->GetState(queueItf, &recQueueState) ); in RecBufferQueueCallback()
190 ExitOnError(SL_RESULT_RESOURCE_ERROR); in TestRecToBuffQueue()
226 ExitOnError(result); in TestRecToBuffQueue()
318 ExitOnError(result); in TestRecToBuffQueue()
323 ExitOnError(result); in TestRecToBuffQueue()
329 ExitOnError(result); in TestRecToBuffQueue()
338 ExitOnError(result); in TestRecToBuffQueue()
348 ExitOnError(result); in TestRecToBuffQueue()
[all …]
DslesTestEffectCapabilities.cpp35 #define ExitOnError(x) ExitOnErrorFunc(x,__LINE__) macro
93 ExitOnError(result); in TestGenericFxCapabilities()
97 ExitOnError(result); in TestGenericFxCapabilities()
105 ExitOnError(result); in TestGenericFxCapabilities()
109 ExitOnError(result); in TestGenericFxCapabilities()
116 ExitOnError(result); in TestGenericFxCapabilities()
135 ExitOnError(result); in TestGenericFxCapabilities()
DxaVideoDecoderCapabilities.cpp33 #define ExitOnError(x) ExitOnErrorFunc(x,__LINE__) macro
237 ExitOnError(res); in TestVideoDecoderCapabilities()
240 res = (*xa)->Realize(xa, XA_BOOLEAN_FALSE); ExitOnError(res); in TestVideoDecoderCapabilities()
245 ExitOnError(res); in TestVideoDecoderCapabilities()
252 res = (*decItf)->GetVideoDecoders(decItf, &numDecoders, NULL); ExitOnError(res); in TestVideoDecoderCapabilities()
261 res = (*decItf)->GetVideoDecoders(decItf, &numDecoders, decoderIds); ExitOnError(res); in TestVideoDecoderCapabilities()
273 ExitOnError(res); in TestVideoDecoderCapabilities()
281 ExitOnError(res); in TestVideoDecoderCapabilities()
285 ExitOnError(res); in TestVideoDecoderCapabilities()