Lines Matching refs:NULL

40 static XAObjectItf engineObject = NULL;
41 static XAEngineItf engineEngine = NULL;
44 static XAObjectItf outputMixObject = NULL;
47 static XAObjectItf playerObj = NULL;
48 static XAPlayItf playerPlayItf = NULL;
49 static XAAndroidBufferQueueItf playerBQItf = NULL;
50 static XAStreamInformationItf playerStreamInfoItf = NULL;
51 static XAVolumeItf playerVolItf = NULL;
57 static ANativeWindow* theNativeWindow = NULL;
86 static FILE *file = NULL;
115 XAresult res = (*playerBQItf)->Enqueue(playerBQItf, NULL /*pBufferContext*/, in enqueueInitialBuffers()
116 dataCache + i*BUFFER_SIZE, BUFFER_SIZE, NULL, 0); in enqueueInitialBuffers()
137 assert(NULL == pCallbackContext); in AndroidBufferQueueCallback()
143 if ((pBufferData == NULL) && (pBufferContext != NULL)) { in AndroidBufferQueueCallback()
169 res = (*caller)->Enqueue(caller, NULL /*pBufferContext*/, in AndroidBufferQueueCallback()
172 NULL /*pMsg*/, in AndroidBufferQueueCallback()
183 NULL /*pData*/, 0 /*dataLength*/, in AndroidBufferQueueCallback()
206 assert(NULL == pContext); in StreamChangeCallback()
244 if (playerObj != NULL) { in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
245 if (playerPlayItf != NULL) { in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
249 playerObj = NULL; in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
250 playerPlayItf = NULL; in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
251 playerBQItf = NULL; in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
252 playerStreamInfoItf = NULL; in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
253 playerVolItf = NULL; in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
257 if (outputMixObject != NULL) { in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
259 outputMixObject = NULL; in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
263 if (engineObject != NULL) { in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
265 engineObject = NULL; in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
266 engineEngine = NULL; in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
270 if (theNativeWindow != NULL) { in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
272 theNativeWindow = NULL; in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
276 if (file != NULL) { in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
278 file = NULL; in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
290 res = xaCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in Java_android_mediastress_cts_NativeMediaActivity_createEngine()
302 res = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL); in Java_android_mediastress_cts_NativeMediaActivity_createEngine()
320 const char *utf8 = env->GetStringUTFChars(fileUri, NULL); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
321 RETURN_ON_ASSERTION_FAILURE((NULL != utf8), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
326 RETURN_ON_ASSERTION_FAILURE(file != NULL, env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
337 XADataSink audioSnk = { &loc_outmix, NULL }; in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
345 NULL // hDisplay in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
347 XADataSink imageVideoSink = {&loc_nd, NULL}; in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
359 NULL, &audioSnk, &imageVideoSink, NULL, NULL, in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
392 res = (*playerBQItf)->RegisterCallback(playerBQItf, AndroidBufferQueueCallback, NULL); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
402 StreamChangeCallback, NULL); in Java_android_mediastress_cts_NativeMediaActivity_createMediaPlayer()
428 RETURN_ON_ASSERTION_FAILURE((NULL != playerPlayItf), env, clazz); in Java_android_mediastress_cts_NativeMediaActivity_playOrPauseMediaPlayer()