Searched refs:engineObject (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/media/libndkaudio/ |
D | AudioPlayer.cpp | 40 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/ |
D | native-media-jni.cpp | 40 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/ |
D | appendix-b-1-2-recording.cpp | 214 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()
|
D | appendix-b-1-1-buffer-queue.cpp | 245 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/ |
D | sles.cpp | 348 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()
|
D | sles.h | 72 SLObjectItf engineObject; member
|