Home
last modified time | relevance | path

Searched refs:sl (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/wilhelm/tests/examples/
DslesTestEffectCapabilities.cpp71 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
DslesTestPlayFdPath.cpp50 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()
DslesTestSawtoothBufferQueue.cpp105 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()
DslesTestEqOutputPath.cpp50 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()
DslesTestEqFdPath.cpp50 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()
DslesTestBassBoostPath.cpp50 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()
DslesTestVirtualizerPath.cpp50 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()
DslesTestRecBuffQueue.cpp142 void TestRecToBuffQueue( SLObjectItf sl, const char* path, SLAint64 durationInSeconds) in TestRecToBuffQueue() argument
173 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestRecToBuffQueue()
324 SLObjectItf sl; in main() local
369 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
373 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
376 TestRecToBuffQueue(sl, argv[i], (SLAint64)atoi(argv[i+1])); in main()
379 (*sl)->Destroy(sl); in main()
DslesTestSendToPresetReverb.cpp73 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()
DslesTestDecodeToBuffQueue.cpp262 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()
DslesTestDecodeAac.cpp414 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()
DxaVideoDecoderCapabilities.cpp304 XAObjectItf sl; in main() local
/frameworks/wilhelm/tests/mimeUri/
DslesTest_playStates.cpp48 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()
DslesTestPlayStreamType.cpp48 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()
DslesTestPlayUri2.cpp63 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()
DslesTestLoopUri.cpp122 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()
DslesTestPlayUri.cpp125 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()
DslesTestGetPositionUri.cpp127 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()
DslesTestSlowDownUri.cpp178 void TestSlowDownUri( SLObjectItf sl, const char* path) in TestSlowDownUri() argument
206 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); CheckErr(res); in TestSlowDownUri()
397 SLObjectItf sl; in main() local
416 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL); in main()
419 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); in main()
422 TestSlowDownUri(sl, argv[1]); in main()
425 (*sl)->Destroy(sl); in main()
/frameworks/wilhelm/tests/
DmimeUri_test.cpp99 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/
DslesTestPlayStream.cpp180 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/
DslesTest_playMuteSolo.cpp163 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/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
Dmath_agree.rs25 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/docs/html/distribute/googleplay/promote/
Dbadges.jd279 value="sl">Slovenščina</option>
/frameworks/base/services/java/com/android/server/wm/
DWindowManagerService.java6852 int sl = Configuration.resetScreenLayout(outConfig.screenLayout); in computeSizeRangesAndScreenLayout() local
6853 sl = reduceConfigLayout(sl, Surface.ROTATION_0, density, unrotDw, unrotDh); in computeSizeRangesAndScreenLayout()
6854 sl = reduceConfigLayout(sl, Surface.ROTATION_90, density, unrotDh, unrotDw); in computeSizeRangesAndScreenLayout()
6855 sl = reduceConfigLayout(sl, Surface.ROTATION_180, density, unrotDw, unrotDh); in computeSizeRangesAndScreenLayout()
6856 sl = reduceConfigLayout(sl, Surface.ROTATION_270, density, unrotDh, unrotDw); in computeSizeRangesAndScreenLayout()
6858 outConfig.screenLayout = sl; in computeSizeRangesAndScreenLayout()

12