Searched refs:sl (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/wilhelm/tests/examples/
H A DslesTestEffectCapabilities.cpp70 SLObjectItf sl; local
92 result = slCreateEngine( &sl, 1, EngineOption, 1, iidArray, required);
96 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
104 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
108 result = (*sl)->GetInterface(sl, SL_IID_ANDROIDEFFECTCAPABILITIES, (void*)&EffectLibItf);
149 (*sl)->Destroy(sl);
[all...]
H A DslesTestPlayFdPath.cpp71 void TestPlayPathFromFD( SLObjectItf sl, const char* path, SLAint64 offset, SLAint64 size) argument
96 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
225 SLObjectItf sl; local
243 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
247 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
252 TestPlayPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]),
255 TestPlayPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), (SLAint64)atoi(argv[3]));
259 (*sl)
[all...]
H A DslesTestBassBoostPath.cpp50 void TestBassBoostPathFromFD(SLObjectItf sl, const char* path, int16_t boostStrength, bool alwaysOn) argument
80 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
252 SLObjectItf sl; local
280 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
284 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
288 TestBassBoostPathFromFD(sl, argv[1], (int16_t)atoi(argv[2]), alwaysOn);
291 (*sl)->Destroy(sl);
[all...]
H A DslesTestSawtoothBufferQueue.cpp105 void TestPlaySawtoothBufferQueue( SLObjectItf sl )
135 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
275 SLObjectItf sl; local
281 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
284 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE); CheckErr(res);
287 TestPlaySawtoothBufferQueue(sl);
290 (*sl)->Destroy(sl);
[all...]
H A DslesTestVirtualizerPath.cpp50 void TestVirtualizerPathFromFD( SLObjectItf sl, const char* path, int16_t virtStrength, argument
81 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
254 SLObjectItf sl; local
282 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
286 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
290 TestVirtualizerPathFromFD(sl, argv[1], (int16_t)atoi(argv[2]), alwaysOn);
293 (*sl)->Destroy(sl);
[all...]
H A DslesTestEqFdPath.cpp50 void TestEQPathFromFD( SLObjectItf sl, const char* path argument
85 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
281 SLObjectItf sl; local
315 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
319 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
325 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]),
328 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), (SLAint64)atoi(argv[3]), alwaysOn);
331 TestEQPathFromFD(sl, arg
[all...]
H A DslesTestEqOutputPath.cpp50 void TestEQPathFromFD( SLObjectItf sl, const char* path argument
87 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
285 SLObjectItf sl; local
316 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
320 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
326 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]),
329 TestEQPathFromFD(sl, argv[1], (SLAint64)atoi(argv[2]), (SLAint64)atoi(argv[3]), alwaysOn);
332 TestEQPathFromFD(sl, arg
[all...]
H A DslesTestSendToPresetReverb.cpp72 void TestSendToPresetReverb( SLObjectItf sl, const char* path, int preset, SLmillibel directLevel, argument
106 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
330 SLObjectItf sl; local
371 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
375 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
379 TestSendToPresetReverb(sl, argv[i], atoi(argv[i+1]), (SLmillibel)atoi(argv[i+2]),
383 (*sl)->Destroy(sl);
[all...]
H A DslesTestDecodeToBuffQueue.cpp262 void TestDecToBuffQueue( SLObjectItf sl, const char* path) argument
302 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
538 SLObjectItf sl; local
554 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
558 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
561 TestDecToBuffQueue(sl, argv[1]);
564 (*sl)->Destroy(sl);
[all...]
H A DslesTestRecBuffQueue.cpp164 void TestRecToBuffQueue( SLObjectItf sl, const char* path, SLAint64 durationInSeconds) argument
224 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
489 SLObjectItf sl; local
598 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
602 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
605 TestRecToBuffQueue(sl, argv[i], durationInSeconds);
608 (*sl)->Destroy(sl);
[all...]
H A DslesTestDecodeAac.cpp413 void TestDecToBuffQueue( SLObjectItf sl, const char *path, int fd) argument
480 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
858 SLObjectItf sl; local
880 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
884 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
887 TestDecToBuffQueue(sl, argv[1], fd);
890 (*sl)->Destroy(sl);
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuScriptGroup.cpp54 const ScriptList *sl = (const ScriptList *)kinfo->usr; local
59 for (size_t ct = 0; ct < sl->count; ct++) {
61 func = (ScriptGroupRootFunc_t)sl->fnPtrs[ct];
62 mkinfo->usr = sl->usrPtrs[ct];
64 if (sl->ins[ct]) {
67 mkinfo->inPtr[0] = (const uint8_t *)sl->ins[ct]->mHal.drvState.lod[0].mallocPtr;
69 mkinfo->inStride[0] = sl->ins[ct]->mHal.state.elementSizeBytes;
71 if (sl->inExts[ct]) {
74 sl->ins[ct]->mHal.drvState.lod[0].stride * kinfo->current.y);
76 } else if (sl
239 ScriptList sl; local
[all...]
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestPlayUri2.cpp63 void TestPlayUri( SLObjectItf sl, const char* path, const char* path2) argument
89 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
252 SLObjectItf sl; local
271 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
275 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
279 TestPlayUri(sl, argv[1], argv[1]);
281 TestPlayUri(sl, argv[1], argv[2]);
285 (*sl)
[all...]
H A DslesTestLoopUri.cpp122 void TestLoopUri( SLObjectItf sl, const char* path) argument
146 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
289 SLObjectItf sl; local
306 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
309 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
312 TestLoopUri(sl, argv[1]);
315 (*sl)->Destroy(sl);
[all...]
H A DslesTestPlayStreamType.cpp48 void TestStreamTypeConfiguration( SLObjectItf sl, const char* path, const SLint32 type) argument
76 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
238 SLObjectItf sl; local
258 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
262 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
265 TestStreamTypeConfiguration(sl, argv[1], (SLint32)atoi(argv[2]));
268 (*sl)->Destroy(sl);
[all...]
H A DslesTestPlayUri.cpp125 void TestPlayUri( SLObjectItf sl, const char* path) argument
149 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
323 SLObjectItf sl; local
340 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
343 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
346 TestPlayUri(sl, argv[1]);
349 (*sl)->Destroy(sl);
[all...]
H A DslesTest_playStates.cpp47 void TestPlayUri( SLObjectItf sl, const char* path) argument
73 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
204 SLObjectItf sl; local
223 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
227 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
231 TestPlayUri(sl, argv[1]);
235 (*sl)->Destroy(sl);
[all...]
H A DslesTestGetPositionUri.cpp127 void TestGetPositionUri( SLObjectItf sl, const char* path) argument
156 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
314 SLObjectItf sl; local
331 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
334 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
337 TestGetPositionUri(sl, argv[1]);
340 (*sl)->Destroy(sl);
[all...]
H A DslesTestSlowDownUri.cpp178 void TestSlowDownUri( SLObjectItf sl, const char* path) argument
203 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); CheckErr(res);
396 SLObjectItf sl; local
415 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
418 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
421 TestSlowDownUri(sl, argv[1]);
424 (*sl)->Destroy(sl);
[all...]
/frameworks/wilhelm/tests/
H A DmimeUri_test.cpp99 void TestPlayUri( SLObjectItf sl, const char* path) argument
123 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
267 SLObjectItf sl; member in class:MimeUri
275 res = slCreateEngine(&sl, 1, EngineOption, 0, NULL, NULL);
279 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
285 (*sl)->Destroy(sl);
302 TestPlayUri(sl, "/sdcar
[all...]
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp163 void TestPlayUri( SLObjectItf sl, const char* path) argument
189 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
378 SLObjectItf sl; local
397 result = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
401 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
405 TestPlayUri(sl, argv[1]);
409 (*sl)->Destroy(sl);
[all...]
/frameworks/wilhelm/tests/sandbox/streamSource/
H A DslesTestPlayStream.cpp180 void TestPlayStream( SLObjectItf sl, const char* path) argument
211 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
382 SLObjectItf sl; local
399 res = slCreateEngine( &sl, 1, EngineOption, 0, NULL, NULL);
402 res = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
405 TestPlayStream(sl, argv[1]);
408 (*sl)->Destroy(sl);
[all...]
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
H A DBlasControls.java180 String sl = BlasTestList.TestName.values()[id[ct]].toString() + ": " + df.format(r[ct]) + "ms";
182 mTestList.set(id[ct], sl);
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutUser.java496 restored.forAllLaunchers(sl -> {
499 if (s.isPackageInstalled(sl.getPackageName(), getUserId())
500 && !s.shouldBackupApp(sl.getPackageName(), getUserId())) {
503 addLauncher(sl);
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioPolicy.java104 AudioPolicyFocusListener fl, AudioPolicyStatusListener sl) {
118 mStatusListener = sl;
103 AudioPolicy(AudioPolicyConfig config, Context context, Looper looper, AudioPolicyFocusListener fl, AudioPolicyStatusListener sl) argument

Completed in 203 milliseconds

12