Home
last modified time | relevance | path

Searched refs:engineObject (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/media/libndkaudio/
DAudioPlayer.cpp40 static SLObjectItf engineObject = 0; variable
57 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in OpenSLEngine()
62 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in OpenSLEngine()
67 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineItf); in OpenSLEngine()
91 if (engineObject != NULL) { in CloseSLEngine()
92 (*engineObject)->Destroy(engineObject); in CloseSLEngine()
93 engineObject = NULL; in CloseSLEngine()
/cts/tests/tests/mediastress/jni/
Dnative-media-jni.cpp40 static XAObjectItf engineObject = NULL; variable
263 if (engineObject != NULL) { in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
264 (*engineObject)->Destroy(engineObject); in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
265 engineObject = NULL; in Java_android_mediastress_cts_NativeMediaActivity_shutdown()
290 res = xaCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in Java_android_mediastress_cts_NativeMediaActivity_createEngine()
294 res = (*engineObject)->Realize(engineObject, XA_BOOLEAN_FALSE); in Java_android_mediastress_cts_NativeMediaActivity_createEngine()
298 res = (*engineObject)->GetInterface(engineObject, XA_IID_ENGINE, &engineEngine); in Java_android_mediastress_cts_NativeMediaActivity_createEngine()
/cts/tests/tests/media/libaudiojni/
Dappendix-b-1-2-recording.cpp214 SLObjectItf engineObject = android::OpenSLEngine(); in Java_android_media_cts_AudioNativeTest_nativeAppendixBRecording() local
215 LOG_ALWAYS_FATAL_IF(engineObject == NULL, "cannot open OpenSL ES engine"); in Java_android_media_cts_AudioNativeTest_nativeAppendixBRecording()
217 TestAudioRecording(engineObject); in Java_android_media_cts_AudioNativeTest_nativeAppendixBRecording()
218 android::CloseSLEngine(engineObject); in Java_android_media_cts_AudioNativeTest_nativeAppendixBRecording()
Dappendix-b-1-1-buffer-queue.cpp245 SLObjectItf engineObject = android::OpenSLEngine(); in Java_android_media_cts_AudioNativeTest_nativeAppendixBBufferQueue() local
246 LOG_ALWAYS_FATAL_IF(engineObject == NULL, "cannot open OpenSL ES engine"); in Java_android_media_cts_AudioNativeTest_nativeAppendixBBufferQueue()
248 TestPlayMusicBufferQueue(engineObject); in Java_android_media_cts_AudioNativeTest_nativeAppendixBBufferQueue()
249 android::CloseSLEngine(engineObject); in Java_android_media_cts_AudioNativeTest_nativeAppendixBBufferQueue()
/cts/apps/CtsVerifier/jni/audio_loopback/
Dsles.cpp348 result = slCreateEngine(&(pSles->engineObject), 0, NULL, 0, NULL, NULL); in slesCreateServer()
350 result = (*(pSles->engineObject))->Realize(pSles->engineObject, SL_BOOLEAN_FALSE); in slesCreateServer()
353 result = (*(pSles->engineObject))->GetInterface(pSles->engineObject, SL_IID_ENGINE, in slesCreateServer()
662 (*(pSles->engineObject))->Destroy(pSles->engineObject); in slesDestroyServer()
Dsles.h72 SLObjectItf engineObject; member