/system/media/opensles/libopensles/ |
H A D | slesutResult.c | 22 /** \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 D | android_OutputMix.cpp | 29 SLresult result = SL_RESULT_SUCCESS; local 61 return result;
|
H A D | CAudioRecorder.c | 26 SLresult result = SL_RESULT_SUCCESS; local 30 result = android_audioRecorder_realize(this, async); 33 return result;
|
H A D | CAudioPlayer.c | 27 SLresult result = SL_RESULT_SUCCESS; local 30 result = android_audioPlayer_realize(this, async); 34 result = SndFile_Realize(this); 41 return result;
|
H A D | CEngine.c | 27 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 D | COutputMix.c | 26 SLresult result = SL_RESULT_SUCCESS; local 30 result = android_outputMix_realize(this, async); 33 return result;
|
H A D | IAudioDecoderCapabilities.c | 28 result = SL_RESULT_PARAMETER_INVALID; 38 result = SL_RESULT_SUCCESS; 51 result = GetCodecCapabilities(decoderId, pIndex, pDescriptor, DecoderDescriptors); local
|
H A D | IAudioEncoderCapabilities.c | 28 result = SL_RESULT_PARAMETER_INVALID; 38 result = SL_RESULT_SUCCESS; 51 result = GetCodecCapabilities(encoderId, pIndex, pDescriptor, local
|
H A D | ILEDArray.c | 30 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 D | trace.c | 41 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 D | IAndroidEffectCapabilities.c | 28 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 D | IMetadataTraversal.c | 34 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 D | kill.c | 11 int result = 0; local 26 result = err; 34 return result;
|
H A D | umount.c | 20 int result = 0; local 33 result = 1; 40 return result;
|
/system/extras/tests/bionic/libc/common/ |
H A D | test_pthread_join.c | 44 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 D | test_sem_post.c | 82 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 D | dim.c | 36 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 D | srcsink.c | 26 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 D | engine.c | 27 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 D | object.c | 26 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 D | test_track_devices.c | 19 int result = 0; local 27 result += len2; 31 return result; 37 int result = 0; local 45 result += len2; 49 return result;
|
H A D | test_track_jdwp.c | 19 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 D | typedef.c | 7 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 D | uuid.c | 44 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 D | ashmem-host.c | 99 int result; local 101 result = fstat(fd, &buf); 102 if (result == -1) {
|