/frameworks/wilhelm/tests/sandbox/ |
D | engine.c | 60 SLObjectItf engineObject; in main() local 63 result = slCreateEngine(&engineObject, 0, NULL, numSupportedInterfaces, engine_ids, NULL); in main() 65 assert(NULL == engineObject); in main() 66 result = slCreateEngine(&engineObject, 0, NULL, numSupportedInterfaces, NULL, engine_req); in main() 68 assert(NULL == engineObject); in main() 78 result = slCreateEngine(&engineObject, 0, NULL, 1, null_id, null_req); in main() 80 assert(NULL == engineObject); in main() 83 result = slCreateEngine(&engineObject, 1, NULL, 0, NULL, NULL); in main() 85 assert(NULL == engineObject); in main() 91 result = slCreateEngine(&engineObject, 1, options, 0, NULL, NULL); in main() [all …]
|
D | xa.c | 27 XAObjectItf engineObject; in main() local 29 result = xaCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 32 printf("engineObject = %p\n", engineObject); in main() 34 result = (*engineObject)->Realize(engineObject, XA_BOOLEAN_FALSE); in main() 38 result = (*engineObject)->GetInterface(engineObject, XA_IID_ENGINE, &engineEngine); in main() 131 (*engineObject)->Destroy(engineObject); in main()
|
D | urimime.c | 38 SLObjectItf engineObject; in main() local 41 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 44 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main() 46 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main() 161 (*engineObject)->Destroy(engineObject); in main()
|
D | dim.c | 37 SLObjectItf engineObject; in main() local 40 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 43 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main() 45 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main() 153 (*engineObject)->Destroy(engineObject); in main()
|
D | multithread.c | 112 SLObjectItf engineObject; in main() local 113 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 115 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main() 118 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main() 191 (*engineObject)->Destroy(engineObject); in main()
|
D | configbq.c | 76 SLObjectItf engineObject; in main() local 79 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 82 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main() 84 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main() 220 (*engineObject)->Destroy(engineObject); in main()
|
D | object.c | 29 SLObjectItf engineObject; in main() local 31 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 33 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main() 36 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main() 179 (*engineObject)->Destroy(engineObject); in main()
|
D | outputmix.c | 29 SLObjectItf engineObject; in main() local 31 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 33 printf("Engine object %p\n", engineObject); in main() 35 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main() 39 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main() 196 (*engineObject)->Destroy(engineObject); in main()
|
D | monkey.c | 48 SLObjectItf engineObject; variable 163 assert(NULL != engineObject); in actionTerminateIfDone() 164 (*engineObject)->Destroy(engineObject); in actionTerminateIfDone() 165 engineObject = NULL; in actionTerminateIfDone() 174 SLresult result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in actionInitialize() 176 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in actionInitialize() 178 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in actionInitialize()
|
D | srcsink.c | 27 SLObjectItf engineObject; in main() local 30 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 33 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main() 35 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main() 72 loc_outmix.outputMix = engineObject; in main() 217 (*engineObject)->Destroy(engineObject); in main()
|
D | intbufq.c | 86 SLObjectItf engineObject; in main() local 87 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 89 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main() 92 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main() 279 (*engineObject)->Destroy(engineObject); in main()
|
D | multiplay.c | 149 SLObjectItf engineObject; in main() local 150 result = slCreateEngine(&engineObject, 0, NULL, 1, engine_ids, engine_req); in main() 152 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main() 155 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main() 282 (*engineObject)->Destroy(engineObject); in main()
|
D | playbq.cpp | 339 SLObjectItf engineObject; in main() local 340 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 343 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main() 345 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main() 617 (*engineObject)->Destroy(engineObject); in main()
|
D | reverb.c | 310 SLObjectItf engineObject; in main() local 311 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 313 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main() 316 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main() 661 (*engineObject)->Destroy(engineObject); in main()
|
D | xaplay.c | 375 XAObjectItf engineObject; in main() local 378 result = xaCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 380 result = (*engineObject)->Realize(engineObject, XA_BOOLEAN_FALSE); in main() 383 result = (*engineObject)->GetInterface(engineObject, XA_IID_ENGINE, &engineEngine); in main() 849 (*engineObject)->Destroy(engineObject); in main()
|
/frameworks/base/cmds/bootanimation/ |
D | audioplay.cpp | 42 static SLObjectItf engineObject = nullptr; variable 92 return (engineObject != nullptr && bqPlayerObject != nullptr); in hasPlayer() 100 result = slCreateEngine(&engineObject, 0, nullptr, 0, nullptr, nullptr); in createEngine() 108 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in createEngine() 116 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in createEngine() 465 if (engineObject != nullptr) { in destroy() 467 (*engineObject)->Destroy(engineObject); in destroy() 468 engineObject = nullptr; in destroy()
|
/frameworks/wilhelm/tests/listening/ |
D | seekTorture.c | 39 SLObjectItf engineObject; in main() local 40 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 42 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main() 45 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main()
|
/frameworks/wilhelm/tests/native-media/jni/ |
D | native-media-jni.c | 31 static XAObjectItf engineObject = NULL; variable 273 res = xaCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in Java_com_example_nativemedia_NativeMedia_createEngine() 277 res = (*engineObject)->Realize(engineObject, XA_BOOLEAN_FALSE); in Java_com_example_nativemedia_NativeMedia_createEngine() 281 res = (*engineObject)->GetInterface(engineObject, XA_IID_ENGINE, &engineEngine); in Java_com_example_nativemedia_NativeMedia_createEngine() 494 if (engineObject != NULL) { in Java_com_example_nativemedia_NativeMedia_shutdown() 495 (*engineObject)->Destroy(engineObject); in Java_com_example_nativemedia_NativeMedia_shutdown() 496 engineObject = NULL; in Java_com_example_nativemedia_NativeMedia_shutdown()
|
/frameworks/wilhelm/tests/automated/ |
D | BufferQueue_test.cpp | 76 SLObjectItf engineObject; member in TestBufferQueue 102 res = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in SetUp() 104 res = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in SetUp() 106 res = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in SetUp() 154 if (engineObject){ in TearDown() 155 (*engineObject)->Destroy(engineObject); in TearDown() 156 engineObject = NULL; in TearDown()
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestFeedback.cpp | 399 SLObjectItf engineObject; in main() local 400 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); in main() 402 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); in main() 405 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); in main() 619 (*engineObject)->Destroy(engineObject); in main()
|