/frameworks/rs/cpu_ref/ |
D | rsCpuScriptGroup.cpp | 56 const ScriptList *sl = (const ScriptList *)p->usr; in scriptGroupRoot() local 60 for(size_t ct=0; ct < sl->count; ct++) { in scriptGroupRoot() 62 func = (ScriptGroupRootFunc_t)sl->fnPtrs[ct]; in scriptGroupRoot() 63 mp->usr = sl->usrPtrs[ct]; in scriptGroupRoot() 73 if (sl->ins[ct]) { in scriptGroupRoot() 74 mp->ptrIn = (const uint8_t *)sl->ins[ct]->mHal.drvState.lod[0].mallocPtr; in scriptGroupRoot() 75 istep = sl->ins[ct]->mHal.state.elementSizeBytes; in scriptGroupRoot() 77 if (sl->inExts[ct]) { in scriptGroupRoot() 78 mp->in = mp->ptrIn + sl->ins[ct]->mHal.drvState.lod[0].stride * p->y; in scriptGroupRoot() 80 if (sl->ins[ct]->mHal.drvState.lod[0].dimY > p->lid) { in scriptGroupRoot() [all …]
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestEffectCapabilities.cpp | 71 SLObjectItf sl; in TestGenericFxCapabilities() local 93 result = slCreateEngine( &sl, 1, EngineOption, 1, iidArray, required); in TestGenericFxCapabilities() 97 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in TestGenericFxCapabilities() 105 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestGenericFxCapabilities() 109 result = (*sl)->GetInterface(sl, SL_IID_ANDROIDEFFECTCAPABILITIES, (void*)&EffectLibItf); in TestGenericFxCapabilities() 150 (*sl)->Destroy(sl); in TestGenericFxCapabilities() 157 SLObjectItf sl; in main() local
|
D | slesTestPlayFdPath.cpp | 50 void TestPlayPathFromFD( SLObjectItf sl, const char* path, SLAint64 offset, SLAint64 size) in TestPlayPathFromFD() argument 75 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayPathFromFD() 194 SLObjectItf sl; in main() local 212 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 216 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 221 TestPlayPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), in main() 224 TestPlayPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), (SLAint64)atoi(argv[3])); in main() 228 (*sl)->Destroy(sl); in main()
|
D | slesTestSawtoothBufferQueue.cpp | 105 void TestPlaySawtoothBufferQueue( SLObjectItf sl ) in TestPlaySawtoothBufferQueue() argument 138 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlaySawtoothBufferQueue() 278 SLObjectItf sl; in main() local 284 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 287 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); CheckErr(res); in main() 290 TestPlaySawtoothBufferQueue(sl); in main() 293 (*sl)->Destroy(sl); in main()
|
D | slesTestEqFdPath.cpp | 50 void TestEQPathFromFD( SLObjectItf sl, const char* path in TestEQPathFromFD() argument 85 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestEQPathFromFD() 281 SLObjectItf sl; in main() local 315 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 319 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 325 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), in main() 328 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), (SLAint64)atoi(argv[3]), alwaysOn); in main() 331 TestEQPathFromFD(sl, argv[1]); in main() 335 (*sl)->Destroy(sl); in main()
|
D | slesTestEqOutputPath.cpp | 50 void TestEQPathFromFD( SLObjectItf sl, const char* path in TestEQPathFromFD() argument 87 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestEQPathFromFD() 285 SLObjectItf sl; in main() local 316 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 320 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 326 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), in main() 329 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), (SLAint64)atoi(argv[3]), alwaysOn); in main() 332 TestEQPathFromFD(sl, argv[1], alwaysOn); in main() 336 (*sl)->Destroy(sl); in main()
|
D | slesTestBassBoostPath.cpp | 50 void TestBassBoostPathFromFD(SLObjectItf sl, const char* path, int16_t boostStrength, bool alwaysOn) in TestBassBoostPathFromFD() argument 80 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestBassBoostPathFromFD() 252 SLObjectItf sl; in main() local 280 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 284 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 288 TestBassBoostPathFromFD(sl, argv[1], (int16_t)atoi(argv[2]), alwaysOn); in main() 291 (*sl)->Destroy(sl); in main()
|
D | slesTestVirtualizerPath.cpp | 50 void TestVirtualizerPathFromFD( SLObjectItf sl, const char* path, int16_t virtStrength, in TestVirtualizerPathFromFD() argument 81 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestVirtualizerPathFromFD() 254 SLObjectItf sl; in main() local 282 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 286 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 290 TestVirtualizerPathFromFD(sl, argv[1], (int16_t)atoi(argv[2]), alwaysOn); in main() 293 (*sl)->Destroy(sl); in main()
|
D | slesTestRecBuffQueue.cpp | 145 void TestRecToBuffQueue( SLObjectItf sl, const char* path, SLAint64 durationInSeconds) in TestRecToBuffQueue() argument 176 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestRecToBuffQueue() 327 SLObjectItf sl; in main() local 372 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 376 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 379 TestRecToBuffQueue(sl, argv[i], (SLAint64)atoi(argv[i+1])); in main() 382 (*sl)->Destroy(sl); in main()
|
D | slesTestSendToPresetReverb.cpp | 73 void TestSendToPresetReverb( SLObjectItf sl, const char* path, int preset, SLmillibel directLevel, in TestSendToPresetReverb() argument 107 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestSendToPresetReverb() 331 SLObjectItf sl; in main() local 372 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 376 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 380 TestSendToPresetReverb(sl, argv[i], atoi(argv[i+1]), (SLmillibel)atoi(argv[i+2]), in main() 384 (*sl)->Destroy(sl); in main()
|
D | slesTestDecodeToBuffQueue.cpp | 262 void TestDecToBuffQueue( SLObjectItf sl, const char* path) in TestDecToBuffQueue() argument 302 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestDecToBuffQueue() 538 SLObjectItf sl; in main() local 554 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 558 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 561 TestDecToBuffQueue(sl, argv[1]); in main() 564 (*sl)->Destroy(sl); in main()
|
D | slesTestDecodeAac.cpp | 414 void TestDecToBuffQueue( SLObjectItf sl, const char *path, int fd) in TestDecToBuffQueue() argument 481 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestDecToBuffQueue() 859 SLObjectItf sl; in main() local 881 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 885 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 888 TestDecToBuffQueue(sl, argv[1], fd); in main() 891 (*sl)->Destroy(sl); in main()
|
/frameworks/wilhelm/tests/mimeUri/ |
D | slesTest_playStates.cpp | 48 void TestPlayUri( SLObjectItf sl, const char* path) in TestPlayUri() argument 74 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayUri() 207 SLObjectItf sl; in main() local 226 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 230 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 234 TestPlayUri(sl, argv[1]); in main() 238 (*sl)->Destroy(sl); in main()
|
D | slesTestPlayStreamType.cpp | 48 void TestStreamTypeConfiguration( SLObjectItf sl, const char* path, const SLint32 type) in TestStreamTypeConfiguration() argument 76 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestStreamTypeConfiguration() 238 SLObjectItf sl; in main() local 258 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 262 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 265 TestStreamTypeConfiguration(sl, argv[1], (SLint32)atoi(argv[2])); in main() 268 (*sl)->Destroy(sl); in main()
|
D | slesTestPlayUri2.cpp | 63 void TestPlayUri( SLObjectItf sl, const char* path, const char* path2) in TestPlayUri() argument 89 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayUri() 252 SLObjectItf sl; in main() local 271 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 275 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 279 TestPlayUri(sl, argv[1], argv[1]); in main() 281 TestPlayUri(sl, argv[1], argv[2]); in main() 285 (*sl)->Destroy(sl); in main()
|
D | slesTestLoopUri.cpp | 122 void TestLoopUri( SLObjectItf sl, const char* path) in TestLoopUri() argument 149 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestLoopUri() 292 SLObjectItf sl; in main() local 309 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 312 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 315 TestLoopUri(sl, argv[1]); in main() 318 (*sl)->Destroy(sl); in main()
|
D | slesTestPlayUri.cpp | 125 void TestPlayUri( SLObjectItf sl, const char* path) in TestPlayUri() argument 152 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayUri() 326 SLObjectItf sl; in main() local 343 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 346 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 349 TestPlayUri(sl, argv[1]); in main() 352 (*sl)->Destroy(sl); in main()
|
D | slesTestGetPositionUri.cpp | 127 void TestGetPositionUri( SLObjectItf sl, const char* path) in TestGetPositionUri() argument 159 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestGetPositionUri() 317 SLObjectItf sl; in main() local 334 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 337 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 340 TestGetPositionUri(sl, argv[1]); in main() 343 (*sl)->Destroy(sl); in main()
|
D | slesTestSlowDownUri.cpp | 178 void TestSlowDownUri( SLObjectItf sl, const char* path) in TestSlowDownUri() argument 206 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); CheckErr(res); in TestSlowDownUri() 399 SLObjectItf sl; in main() local 418 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 421 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 424 TestSlowDownUri(sl, argv[1]); in main() 427 (*sl)->Destroy(sl); in main()
|
/frameworks/wilhelm/tests/ |
D | mimeUri_test.cpp | 99 void TestPlayUri( SLObjectItf sl, const char* path) in TestPlayUri() argument 126 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayUri() 270 SLObjectItf sl; member in MimeUri 278 res = slCreateEngine(&sl, 1, EngineOption, 0, NULL, NULL); in MimeUri() 282 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in MimeUri() 288 (*sl)->Destroy(sl); in ~MimeUri() 305 TestPlayUri(sl, "/sdcard/media_api/music/MP3_256kbps_2ch.mp3"); in TEST_F() 309 TestPlayUri(sl, "file:///sdcard/media_api/music/MP3_256kbps_2ch.mp3"); in TEST_F()
|
/frameworks/wilhelm/tests/sandbox/streamSource/ |
D | slesTestPlayStream.cpp | 180 void TestPlayStream( SLObjectItf sl, const char* path) in TestPlayStream() argument 211 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayStream() 382 SLObjectItf sl; in main() local 401 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 404 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 407 TestPlayStream(sl, argv[1]); in main() 410 (*sl)->Destroy(sl); in main()
|
/frameworks/wilhelm/tests/listening/ |
D | slesTest_playMuteSolo.cpp | 163 void TestPlayUri( SLObjectItf sl, const char* path) in TestPlayUri() argument 189 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayUri() 378 SLObjectItf sl; in main() local 397 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main() 401 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main() 405 TestPlayUri(sl, argv[1]); in main() 409 (*sl)->Destroy(sl); in main()
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | math_agree.rs | 25 DECLARE_INPUT_SET(long, sl); \ 48 DECLARE_REFERENCE_SET_VEC_VEC(long, sl, func); \ 287 #define TEST_SL1_SL1(func) TEST_VEC1_VEC1(func, sl) 288 #define TEST_SL2_SL2(func) TEST_VEC2_VEC2(func, sl) 289 #define TEST_SL3_SL3(func) TEST_VEC3_VEC3(func, sl) 290 #define TEST_SL4_SL4(func) TEST_VEC4_VEC4(func, sl) 368 DECLARE_TEMP_SET(long, sl); \
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | math_agree.rs | 25 DECLARE_INPUT_SET(long, sl); \ 48 DECLARE_REFERENCE_SET_VEC_VEC(long, sl, func); \ 287 #define TEST_SL1_SL1(func) TEST_VEC1_VEC1(func, sl) 288 #define TEST_SL2_SL2(func) TEST_VEC2_VEC2(func, sl) 289 #define TEST_SL3_SL3(func) TEST_VEC3_VEC3(func, sl) 290 #define TEST_SL4_SL4(func) TEST_VEC4_VEC4(func, sl) 368 DECLARE_TEMP_SET(long, sl); \
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 118 int sl = Configuration.resetScreenLayout(config.screenLayout); in applyNonDefaultDisplayMetricsToConfigurationLocked() local 121 config.screenLayout = Configuration.reduceScreenLayout(sl, in applyNonDefaultDisplayMetricsToConfigurationLocked() 125 config.screenLayout = Configuration.reduceScreenLayout(sl, in applyNonDefaultDisplayMetricsToConfigurationLocked()
|