/frameworks/native/opengl/libs/EGL/ |
D | BlobCache.cpp | 56 size_t valueSize) { in set() argument 62 if (mMaxValueSize < valueSize) { in set() 64 valueSize, mMaxValueSize); in set() 67 if (mMaxTotalSize < keySize + valueSize) { in set() 69 "large: %zu (limit: %zu)", keySize + valueSize, mMaxTotalSize); in set() 76 if (valueSize <= 0) { in set() 89 std::shared_ptr<Blob> valueBlob(new Blob(value, valueSize, true)); in set() 90 size_t newTotalSize = mTotalSize + keySize + valueSize; in set() 100 keySize + valueSize, mMaxTotalSize); in set() 107 keySize, valueSize); in set() [all …]
|
D | egl_cache.cpp | 54 const void* value, EGLsizeiANDROID valueSize) { in setBlob() argument 55 egl_cache_t::get()->setBlob(key, keySize, value, valueSize); in setBlob() 59 void* value, EGLsizeiANDROID valueSize) { in getBlob() argument 60 return egl_cache_t::get()->getBlob(key, keySize, value, valueSize); in getBlob() 126 const void* value, EGLsizeiANDROID valueSize) { in setBlob() argument 129 if (keySize < 0 || valueSize < 0) { in setBlob() 136 bc->set(key, keySize, value, valueSize); in setBlob() 154 void* value, EGLsizeiANDROID valueSize) { in getBlob() argument 157 if (keySize < 0 || valueSize < 0) { in getBlob() 164 return bc->get(key, keySize, value, valueSize); in getBlob()
|
D | egl_cache.h | 58 EGLsizeiANDROID valueSize); 64 void* value, EGLsizeiANDROID valueSize);
|
D | BlobCache.h | 58 size_t valueSize); 76 size_t get(const void* key, size_t keySize, void* value, size_t valueSize);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | ShaderCache.cpp | 117 size_t valueSize = bc->get(key.data(), keySize, valueBuffer, mObservedBlobValueSize); in load() local 119 while (valueSize > mObservedBlobValueSize && maxTries > 0) { in load() 120 mObservedBlobValueSize = std::min(valueSize, maxValueSize); in load() 127 valueSize = bc->get(key.data(), keySize, valueBuffer, mObservedBlobValueSize); in load() 130 if (!valueSize) { in load() 134 if (valueSize > mObservedBlobValueSize) { in load() 135 ALOGE("ShaderCache::load value size is too big %d", (int)valueSize); in load() 139 return SkData::MakeFromMalloc(valueBuffer, valueSize); in load() 162 size_t valueSize = data.size(); in store() local 164 if (keySize == 0 || valueSize == 0 || valueSize >= maxValueSize) { in store() [all …]
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache.cpp | 79 void BlobCache::set(const void* key, size_t keySize, const void* value, size_t valueSize) { in set() argument 85 if (mMaxValueSize < valueSize) { in set() 86 ALOGV("set: not caching because the value is too large: %zu (limit: %zu)", valueSize, in set() 90 if (mMaxTotalSize < keySize + valueSize) { in set() 93 keySize + valueSize, mMaxTotalSize); in set() 100 if (valueSize <= 0) { in set() 113 std::shared_ptr<Blob> valueBlob(new Blob(value, valueSize, true)); in set() 114 size_t newEntrySize = keySize + valueSize; in set() 132 keySize + valueSize, mMaxTotalSize); in set() 139 valueSize); in set() [all …]
|
D | BlobCache.h | 89 void set(const void* key, size_t keySize, const void* value, size_t valueSize); 129 size_t get(const void* key, size_t keySize, void* value, size_t valueSize);
|
/frameworks/wilhelm/tests/mimeUri/ |
D | slesTestPlayStreamType.cpp | 194 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, ¤tType); in TestStreamTypeConfiguration() 220 SL_ANDROID_KEY_STREAM_TYPE, &valueSize, ¤tType); in TestStreamTypeConfiguration()
|
/frameworks/wilhelm/src/itf/ |
D | IAndroidConfiguration.cpp | 37 SLuint32 valueSize) in IAndroidConfiguration_SetConfiguration() argument 42 if (NULL == configKey || NULL == pConfigValue || valueSize == 0) { in IAndroidConfiguration_SetConfiguration() 53 configKey, valueSize); in IAndroidConfiguration_SetConfiguration() 55 pConfigValue, valueSize); in IAndroidConfiguration_SetConfiguration() 59 configKey, valueSize); in IAndroidConfiguration_SetConfiguration() 61 pConfigValue, valueSize); in IAndroidConfiguration_SetConfiguration()
|
D | IMetadataExtraction.cpp | 122 SLuint32 index, SLuint32 valueSize, SLMetadataInfo *pValue) in IMetadataExtraction_GetValue() argument 133 index, valueSize, pValue); in IMetadataExtraction_GetValue()
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.cpp | 76 void NNCache::setBlob(const void* key, ssize_t keySize, const void* value, ssize_t valueSize) { in setBlob() argument 79 if (keySize < 0 || valueSize < 0) { in setBlob() 86 bc->set(key, keySize, value, valueSize); in setBlob() 103 ssize_t NNCache::getBlob(const void* key, ssize_t keySize, void* value, ssize_t valueSize) { in getBlob() argument 106 if (keySize < 0 || valueSize < 0) { in getBlob() 113 return bc->get(key, keySize, value, valueSize); in getBlob()
|
D | nnCache_test.cpp | 195 const size_t valueSize = strlen(value); in yesStringBlob() local 196 ASSERT_LE(valueSize, sizeof(buf)); // Check testing assumption in yesStringBlob() 198 ASSERT_EQ(ssize_t(valueSize), mCache->getBlob(key, keySize, buf, sizeof(buf))); in yesStringBlob() 199 for (size_t i = 0; i < valueSize; i++) { in yesStringBlob()
|
D | nnCache.h | 61 void setBlob(const void* key, ssize_t keySize, const void* value, ssize_t valueSize); 65 ssize_t getBlob(const void* key, ssize_t keySize, void* value, ssize_t valueSize);
|
/frameworks/base/core/java/android/hardware/ |
D | SensorEvent.java | 655 SensorEvent(int valueSize) { in SensorEvent() argument 656 values = new float[valueSize]; in SensorEvent()
|
/frameworks/av/media/libeffects/dynamicsproc/ |
D | EffectDynamicsProcessing.cpp | 89 uint32_t valueSize, 368 bool DP_checkSizesInt(uint32_t paramSize, uint32_t valueSize, uint32_t expectedParams, in DP_checkSizesInt() argument 375 if (valueSize < expectedValues * sizeof(int32_t)) { in DP_checkSizesInt() 376 ALOGE("Invalid valueSize %u expected %u", valueSize, in DP_checkSizesInt() 943 uint32_t valueSize, in DP_setParameter() argument 960 ALOGVV("engine architecture paramsize: %d valuesize %d",paramSize, valueSize); in DP_setParameter() 961 if (!DP_checkSizesInt(paramSize, valueSize, 1 /*params*/, 9 /*values*/)) { in DP_setParameter() 1009 ALOGVV("engine DP_PARAM_INPUT_GAIN paramsize: %d valuesize %d",paramSize, valueSize); in DP_setParameter() 1010 if (!DP_checkSizesInt(paramSize, valueSize, 2 /*params*/, 1 /*values*/)) { in DP_setParameter() 1030 ALOGVV("engine DP_PARAM_*_EQ paramsize: %d valuesize %d",paramSize, valueSize); in DP_setParameter() [all …]
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | RandomGraphGenerator.h | 81 constexpr size_t valueSize = sizeof(OperandBuffer::value_type); in resizeBuffer() local 82 uint32_t bufferSize = (sizeof(T) * len + valueSize - 1) / valueSize; in resizeBuffer()
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.cpp | 145 uint32_t valueSize, 155 uint32_t valueSize, 165 uint32_t valueSize, 175 uint32_t valueSize, 2110 uint32_t valueSize, in Effect_setConfig() argument 2123 if (valueSize < sizeof(int16_t)) { in Effect_setConfig() 2124 ALOGV("%s BASSBOOST_PARAM_STRENGTH invalid valueSize: %u", __func__, valueSize); in Effect_setConfig() 2279 uint32_t valueSize, in Effect_setConfig() argument 2292 if (valueSize < sizeof(int16_t)) { in Effect_setConfig() 2293 ALOGV("%s VIRTUALIZER_PARAM_STRENGTH invalid valueSize: %u", __func__, valueSize); in Effect_setConfig() [all …]
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_blob_cache.txt | 78 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/ |
D | android_Effect.h | 140 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize); 143 int32_t param, uint32_t paramSizeMax, void *pValue, uint32_t valueSize);
|
D | AudioRecorder_to_android.h | 32 const void *pConfigValue, SLuint32 valueSize);
|
D | android_AudioSfDecoder.cpp | 147 uint32_t valueSize = 0; in getPcmFormatKeyValue() local 148 if (!getPcmFormatValueSize(index, &valueSize)) { in getPcmFormatKeyValue() 150 } else if (size != valueSize) { in getPcmFormatKeyValue() 153 index, size, valueSize); in getPcmFormatKeyValue()
|
D | AudioPlayer_to_android.h | 53 const void *pConfigValue, SLuint32 valueSize);
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestDecodeToBuffQueue.cpp | 465 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()
|
D | slesTestDecodeAac.cpp | 679 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/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockWeaverService.java | 29 config.valueSize = VALUE_LENGTH; in getConfig()
|