Searched defs:result (Results 1 - 25 of 109) sorted by relevance

12345

/system/media/opensles/libopensles/
H A DslesutResult.c22 /** \brief Maximum result return code */
26 /** \brief Array of strings correponding to each result code */
49 /** \brief Convert a result code to a string or NULL. */
51 const char *slesutResultToString(SLresult result) argument
54 return result < SLESUT_RESULT_MAX ? slesutResultStrings[result] : NULL;
H A Dandroid_OutputMix.cpp29 SLresult result = SL_RESULT_SUCCESS; local
61 return result;
H A DCAudioRecorder.c26 SLresult result = SL_RESULT_SUCCESS; local
30 result = android_audioRecorder_realize(this, async);
33 return result;
H A DCAudioPlayer.c27 SLresult result = SL_RESULT_SUCCESS; local
30 result = android_audioPlayer_realize(this, async);
34 result = SndFile_Realize(this);
41 return result;
H A DCEngine.c27 SLresult result; local
31 result = err_to_result(err);
32 if (SL_RESULT_SUCCESS != result)
33 return result;
36 result = ThreadPool_init(&this->mEngine.mThreadPool, 0, 0);
37 if (SL_RESULT_SUCCESS != result) {
40 return result;
H A DCOutputMix.c26 SLresult result = SL_RESULT_SUCCESS; local
30 result = android_outputMix_realize(this, async);
33 return result;
H A DIAudioDecoderCapabilities.c28 result = SL_RESULT_PARAMETER_INVALID;
38 result = SL_RESULT_SUCCESS;
51 result = GetCodecCapabilities(decoderId, pIndex, pDescriptor, DecoderDescriptors); local
H A DIAudioEncoderCapabilities.c28 result = SL_RESULT_PARAMETER_INVALID;
38 result = SL_RESULT_SUCCESS;
51 result = GetCodecCapabilities(encoderId, pIndex, pDescriptor, local
H A DILEDArray.c30 result = SL_RESULT_SUCCESS;
41 result = SL_RESULT_PARAMETER_INVALID;
48 result = SL_RESULT_SUCCESS;
59 result = SL_RESULT_PARAMETER_INVALID; local
75 result = SL_RESULT_SUCCESS;
87 result = SL_RESULT_PARAMETER_INVALID;
95 result = SL_RESULT_SUCCESS;
H A Dtrace.c41 void slTraceLeaveGlobal(const char *function, SLresult result) argument
43 if (SL_RESULT_SUCCESS == result) {
49 const char *str = slesutResultToString(result);
53 SL_LOGW("Leaving %s (0x%lX)", function, result);
86 void slTraceLeaveInterface(const char *function, SLresult result) argument
101 if (SL_RESULT_SUCCESS == result) {
112 const char *str = slesutResultToString(result);
119 &underscore[1], result);
125 SL_LOGW("Leaving %s (0x%lX)", function, result);
H A DIAndroidEffectCapabilities.c28 result = SL_RESULT_PARAMETER_INVALID;
34 result = SL_RESULT_SUCCESS
51 result = SL_RESULT_PARAMETER_INVALID;
67 result = SL_RESULT_SUCCESS;
93 SLresult result = android_genericFx_queryNumEffects(&numEffects); local
94 if (SL_RESULT_SUCCESS != result) {
95 SL_LOGE("android_genericFx_queryNumEffects %lu", result);
107 // Remember the first failing result code, but keep going
108 if (SL_RESULT_SUCCESS == result) {
109 result
[all...]
H A DIMetadataTraversal.c34 result = SL_RESULT_SUCCESS;
38 result = SL_RESULT_PARAMETER_INVALID;
51 result = SL_RESULT_PARAMETER_INVALID;
58 result = SL_RESULT_SUCCESS;
71 result = SL_RESULT_PARAMETER_INVALID;
78 result = SL_RESULT_SUCCESS;
91 result = SL_RESULT_FEATURE_UNSUPPORTED; local
106 result = SL_RESULT_PARAMETER_INVALID;
/system/core/toolbox/
H A Dkill.c11 int result = 0; local
26 result = err;
34 return result;
H A Dumount.c20 int result = 0; local
33 result = 1;
40 return result;
/system/extras/tests/bionic/libc/common/
H A Dtest_pthread_join.c44 void* result; local
46 pthread_join(t1, &result);
47 printf("thread2 received code %08x from thread1\n", (int)result);
56 void* result; local
58 pthread_join(t1, &result);
59 printf("thread3 received code %08x from thread1\n", (int)result);
H A Dtest_sem_post.c82 void* result; local
83 pthread_join(t[nn], &result);
84 if (result != (void*)t[nn]) {
85 printf("Thread %p joined but returned %p\n", (void*)t[nn], result);
/system/media/opensles/tests/sandbox/
H A Ddim.c36 SLresult result; local
40 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
41 assert(SL_RESULT_SUCCESS == result);
43 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE);
44 assert(SL_RESULT_SUCCESS == result);
45 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine);
46 assert(SL_RESULT_SUCCESS == result);
50 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL);
51 assert(SL_RESULT_SUCCESS == result);
55 result
[all...]
H A Dsrcsink.c26 SLresult result; local
30 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
31 assert(SL_RESULT_SUCCESS == result);
33 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE);
34 assert(SL_RESULT_SUCCESS == result);
35 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine);
36 assert(SL_RESULT_SUCCESS == result);
66 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audioSrc,
68 assert(SL_RESULT_PARAMETER_INVALID == result);
73 result
[all...]
H A Dengine.c27 SLresult result; local
29 result = slQueryNumSupportedEngineInterfaces(&numSupportedInterfaces);
30 assert(SL_RESULT_SUCCESS == result);
31 result = slQueryNumSupportedEngineInterfaces(NULL);
32 assert(SL_RESULT_PARAMETER_INVALID == result);
45 result = slQuerySupportedEngineInterfaces(index, &interfaceID);
47 assert(SL_RESULT_SUCCESS == result);
53 assert(SL_RESULT_PARAMETER_INVALID == result);
55 result = slQuerySupportedEngineInterfaces(index, NULL);
56 assert(SL_RESULT_PARAMETER_INVALID == result);
[all...]
H A Dobject.c26 SLresult result; local
31 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
32 assert(SL_RESULT_SUCCESS == result);
33 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE);
34 assert(SL_RESULT_SUCCESS == result);
36 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine);
37 assert(SL_RESULT_SUCCESS == result);
53 result = (*engineEngine)->QueryNumSupportedInterfaces(engineEngine, objectID, NULL);
54 assert(SL_RESULT_PARAMETER_INVALID == result);
56 result
[all...]
/system/core/adb/
H A Dtest_track_devices.c19 int result = 0; local
27 result += len2;
31 return result;
37 int result = 0; local
45 result += len2;
49 return result;
H A Dtest_track_jdwp.c19 int result = 0; local
27 result += len2;
31 return result;
37 int result = 0; local
45 result += len2;
49 return result;
/system/core/libacc/tests/data/
H A Dtypedef.c7 void add(Point* result, Point* a, Point* b) { argument
8 result->x = a->x + b->x;
9 result->y = a->y + b->y;
/system/extras/ext4_utils/
H A Duuid.c44 void generate_uuid(const char *namespace, const char *name, u8 result[16]) argument
47 struct uuid *uuid = (struct uuid *)result;
/system/core/libcutils/
H A Dashmem-host.c99 int result; local
101 result = fstat(fd, &buf);
102 if (result == -1) {

Completed in 310 milliseconds

12345