Lines Matching refs:res

115         XAresult res = (*playerBQItf)->Enqueue(playerBQItf, NULL /*pBufferContext*/,  in enqueueInitialBuffers()  local
117 assert(XA_RESULT_SUCCESS == res); in enqueueInitialBuffers()
133 XAresult res; in AndroidBufferQueueCallback() local
169 res = (*caller)->Enqueue(caller, NULL /*pBufferContext*/, in AndroidBufferQueueCallback()
174 assert(XA_RESULT_SUCCESS == res); in AndroidBufferQueueCallback()
182 res = (*caller)->Enqueue(caller, (void *)&kEosBufferCntxt /*pBufferContext*/, in AndroidBufferQueueCallback()
187 assert(XA_RESULT_SUCCESS == res); in AndroidBufferQueueCallback()
214 XAresult res; in StreamChangeCallback() local
216 res = (*caller)->QueryStreamType(caller, streamIndex, &domain); in StreamChangeCallback()
217 assert(XA_RESULT_SUCCESS == res); in StreamChangeCallback()
221 res = (*caller)->QueryStreamInformation(caller, streamIndex, &videoInfo); in StreamChangeCallback()
222 assert(XA_RESULT_SUCCESS == res); in StreamChangeCallback()
287 XAresult res; in Java_android_mediastress_cts_NativeMediaActivity_createEngine() local
290 res = xaCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in Java_android_mediastress_cts_NativeMediaActivity_createEngine()
291 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_createEngine()
294 res = (*engineObject)->Realize(engineObject, XA_BOOLEAN_FALSE); in Java_android_mediastress_cts_NativeMediaActivity_createEngine()
295 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_createEngine()
298 res = (*engineObject)->GetInterface(engineObject, XA_IID_ENGINE, &engineEngine); in Java_android_mediastress_cts_NativeMediaActivity_createEngine()
299 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_createEngine()
302 res = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL); in Java_android_mediastress_cts_NativeMediaActivity_createEngine()
303 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_createEngine()
306 res = (*outputMixObject)->Realize(outputMixObject, XA_BOOLEAN_FALSE); in Java_android_mediastress_cts_NativeMediaActivity_createEngine()
307 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_createEngine()
317 XAresult res; in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer() local
358 res = (*engineEngine)->CreateMediaPlayer(engineEngine, &playerObj, &dataSrc, in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
363 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
369 res = (*playerObj)->Realize(playerObj, XA_BOOLEAN_FALSE); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
370 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
373 res = (*playerObj)->GetInterface(playerObj, XA_IID_PLAY, &playerPlayItf); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
374 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
377 res = (*playerObj)->GetInterface(playerObj, XA_IID_STREAMINFORMATION, &playerStreamInfoItf); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
378 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
381 res = (*playerObj)->GetInterface(playerObj, XA_IID_VOLUME, &playerVolItf); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
382 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
385 res = (*playerObj)->GetInterface(playerObj, XA_IID_ANDROIDBUFFERQUEUESOURCE, &playerBQItf); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
386 assert(XA_RESULT_SUCCESS == res); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
389 res = (*playerBQItf)->SetCallbackEventsMask(playerBQItf, XA_ANDROIDBUFFERQUEUEEVENT_PROCESSED); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
392 res = (*playerBQItf)->RegisterCallback(playerBQItf, AndroidBufferQueueCallback, NULL); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
393 assert(XA_RESULT_SUCCESS == res); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
401 res = (*playerStreamInfoItf)->RegisterStreamChangeCallback(playerStreamInfoItf, in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
403 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
406 res = (*playerPlayItf)->SetPlayState(playerPlayItf, XA_PLAYSTATE_PAUSED); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
407 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
410 res = (*playerVolItf)->SetVolumeLevel(playerVolItf, 0); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
411 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
414 res = (*playerPlayItf)->SetPlayState(playerPlayItf, XA_PLAYSTATE_PLAYING); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
415 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
425 XAresult res; in Java_android_mediastress_cts_NativeMediaActivity_playOrPauseMediaPlayer() local
430 res = (*playerPlayItf)->SetPlayState(playerPlayItf, play ? in Java_android_mediastress_cts_NativeMediaActivity_playOrPauseMediaPlayer()
432 RETURN_ON_ASSERTION_FAILURE((XA_RESULT_SUCCESS == res), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_playOrPauseMediaPlayer()