Home
last modified time | relevance | path

Searched refs:valueSize (Results 1 – 23 of 23) sorted by relevance

/frameworks/native/libs/utils/
DBlobCache.cpp55 size_t valueSize) { in set() argument
61 if (mMaxValueSize < valueSize) { in set()
63 valueSize, mMaxValueSize); in set()
66 if (mMaxTotalSize < keySize + valueSize) { in set()
68 "large: %d (limit: %d)", keySize + valueSize, mMaxTotalSize); in set()
75 if (valueSize <= 0) { in set()
88 sp<Blob> valueBlob(new Blob(value, valueSize, true)); in set()
89 size_t newTotalSize = mTotalSize + keySize + valueSize; in set()
99 keySize + valueSize, mMaxTotalSize); in set()
106 keySize, valueSize); in set()
[all …]
/frameworks/wilhelm/src/itf/
DIAndroidConfiguration.c25 SLuint32 valueSize) in IAndroidConfiguration_SetConfiguration() argument
30 if (NULL == configKey || NULL == pConfigValue || valueSize == 0) { in IAndroidConfiguration_SetConfiguration()
41 configKey, valueSize); in IAndroidConfiguration_SetConfiguration()
43 pConfigValue, valueSize); in IAndroidConfiguration_SetConfiguration()
47 configKey, valueSize); in IAndroidConfiguration_SetConfiguration()
49 pConfigValue, valueSize); in IAndroidConfiguration_SetConfiguration()
DIMetadataExtraction.c122 SLuint32 index, SLuint32 valueSize, SLMetadataInfo *pValue) in IMetadataExtraction_GetValue() argument
133 index, valueSize, pValue); in IMetadataExtraction_GetValue()
/frameworks/native/opengl/libs/EGL/
Degl_cache.cpp63 const void* value, EGLsizeiANDROID valueSize) { in setBlob() argument
64 egl_cache_t::get()->setBlob(key, keySize, value, valueSize); in setBlob()
68 void* value, EGLsizeiANDROID valueSize) { in getBlob() argument
69 return egl_cache_t::get()->getBlob(key, keySize, value, valueSize); in getBlob()
137 const void* value, EGLsizeiANDROID valueSize) { in setBlob() argument
140 if (keySize < 0 || valueSize < 0) { in setBlob()
147 bc->set(key, keySize, value, valueSize); in setBlob()
176 void* value, EGLsizeiANDROID valueSize) { in getBlob() argument
179 if (keySize < 0 || valueSize < 0) { in getBlob()
186 return bc->get(key, keySize, value, valueSize); in getBlob()
Degl_cache.h56 EGLsizeiANDROID valueSize);
62 void* value, EGLsizeiANDROID valueSize);
/frameworks/wilhelm/tests/mimeUri/
DslesTestPlayStreamType.cpp194 SLuint32 valueSize = sizeof(SLint32) * 2; // trying too big on purpose in TestStreamTypeConfiguration() local
196 SL_ANDROID_KEY_STREAM_TYPE, &valueSize, NULL); in TestStreamTypeConfiguration()
198 if (valueSize != sizeof(SLint32)) { in TestStreamTypeConfiguration()
200 valueSize, sizeof(SLint32)); in TestStreamTypeConfiguration()
203 SL_ANDROID_KEY_STREAM_TYPE, &valueSize, &currentType); in TestStreamTypeConfiguration()
220 SL_ANDROID_KEY_STREAM_TYPE, &valueSize, &currentType); in TestStreamTypeConfiguration()
/frameworks/base/core/java/android/hardware/
DSensorEvent.java503 SensorEvent(int valueSize) { in SensorEvent() argument
504 values = new float[valueSize]; in SensorEvent()
/frameworks/native/include/utils/
DBlobCache.h61 size_t valueSize);
79 size_t get(const void* key, size_t keySize, void* value, size_t valueSize);
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt78 EGLsizeiANDROID keySize, const void* value, EGLsizeiANDROID valueSize)
86 EGLsizeiANDROID keySize, void* value, EGLsizeiANDROID valueSize)
142 const void* value, EGLsizeiANDROID valueSize)
145 respectively, that are to be inserted. <keySize> and <valueSize> specify
161 void* value, EGLsizeiANDROID valueSize)
169 less than or equal to <valueSize> then the value is written to the memory
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.h32 const void *pConfigValue, SLuint32 valueSize);
Dandroid_Effect.h125 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize);
128 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize);
Dandroid_AudioSfDecoder.cpp136 uint32_t valueSize = 0; in getPcmFormatKeyValue() local
137 if (!getPcmFormatValueSize(index, &valueSize)) { in getPcmFormatKeyValue()
139 } else if (size != valueSize) { in getPcmFormatKeyValue()
142 index, size, valueSize); in getPcmFormatKeyValue()
DAudioPlayer_to_android.h53 const void *pConfigValue, SLuint32 valueSize);
DAudioPlayer_to_android.cpp1277 const void *pConfigValue, SLuint32 valueSize) { in android_audioPlayer_setConfig() argument
1285 if (KEY_STREAM_TYPE_PARAMSIZE > valueSize) { in android_audioPlayer_setConfig()
1861 SLuint32 valueSize = 0; in android_audioPlayer_metadata_getValueSize() local
1862 if (!decoder->getPcmFormatValueSize(index, &valueSize)) { in android_audioPlayer_metadata_getValueSize()
1867 *pValueSize = valueSize + sizeof(SLMetadataInfo); in android_audioPlayer_metadata_getValueSize()
1899 SLuint32 valueSize = 0; in android_audioPlayer_metadata_getValue() local
1901 || (!decoder->getPcmFormatValueSize(index, &valueSize)) in android_audioPlayer_metadata_getValue()
1906 pValue->size = valueSize; in android_audioPlayer_metadata_getValue()
Dandroid_Effect.cpp562 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize) in android_fx_setParam() argument
571 p->vsize = valueSize; in android_fx_setParam()
583 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize) in android_fx_getParam() argument
591 p->vsize = valueSize; in android_fx_getParam()
DAudioRecorder_to_android.cpp326 const void *pConfigValue, SLuint32 valueSize) { in android_audioRecorder_setConfig() argument
334 if (KEY_RECORDING_PRESET_PARAMSIZE > valueSize) { in android_audioRecorder_setConfig()
/frameworks/wilhelm/tests/examples/
DslesTestDecodeToBuffQueue.cpp465 SLuint32 i, keySize, valueSize; in TestDecToBuffQueue() local
469 value = NULL; valueSize = 0; in TestDecToBuffQueue()
472 result = (*mdExtrItf)->GetValueSize(mdExtrItf, i, &valueSize); in TestDecToBuffQueue()
479 i, keyInfo->size, keyInfo->data, valueSize); in TestDecToBuffQueue()
DslesTestDecodeAac.cpp679 SLuint32 keySize, valueSize; in TestDecToBuffQueue() local
683 value = NULL; valueSize = 0; in TestDecToBuffQueue()
686 res = (*mdExtrItf)->GetValueSize(mdExtrItf, i, &valueSize); in TestDecToBuffQueue()
693 i, keyInfo->size, keyInfo->data, valueSize, keyInfo->encoding, in TestDecToBuffQueue()
/frameworks/ex/variablespeed/jni/
Dvariablespeed.cc229 SLuint32 i, keySize, valueSize; in ReadSampleRateAndChannelCount() local
233 keySize = valueSize = 0; in ReadSampleRateAndChannelCount()
240 OpenSL(decoderMetadata, GetValueSize, i, &valueSize); in ReadSampleRateAndChannelCount()
241 value = static_cast<SLMetadataInfo*>(malloc(valueSize)); in ReadSampleRateAndChannelCount()
243 OpenSL(decoderMetadata, GetValue, i, valueSize, value); in ReadSampleRateAndChannelCount()
/frameworks/wilhelm/include/SLES/
DOpenSLES_Android.h157 SLuint32 valueSize);
DOpenSLES.h789 SLuint32 valueSize,
/frameworks/native/opengl/include/EGL/
Deglext.h500 …cANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize);
501 …lobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize);
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h223 XAuint32 valueSize,
1335 XAuint32 valueSize,