Home
last modified time | relevance | path

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

12

/hardware/interfaces/audio/effect/all-versions/default/
DEffect.h62 std::function<void(uint32_t valueSize, const void* valueData)>;
127 [&](uint32_t valueSize, const void* valueData) { in getIntegerParam()
128 if (valueSize > sizeof(T)) valueSize = sizeof(T); in getIntegerParam()
129 memcpy(&value, valueData, valueSize); in getIntegerParam()
138 [&](uint32_t valueSize, const void* valueData) { in getParam()
139 if (valueSize > sizeof(T)) valueSize = sizeof(T); in getParam()
140 memcpy(&paramValue, valueData, valueSize); in getParam()
148 [&](uint32_t valueSize, const void* valueData) { in getParam()
149 if (valueSize > sizeof(T)) valueSize = sizeof(T); in getParam()
150 memcpy(&paramValue, valueData, valueSize); in getParam()
[all …]
DEffect.cpp397 bool Effect::parameterToHal(uint32_t paramSize, const void* paramData, uint32_t valueSize, in parameterToHal() argument
409 if (valueSize > kMaxSize - valueOffsetFromData) { in parameterToHal()
410 ALOGE("%s: Value size is too big: %" PRIu32 ", max size is %zu", __func__, valueSize, in parameterToHal()
415 size_t halParamBufferSize = sizeof(effect_param_t) + valueOffsetFromData + valueSize; in parameterToHal()
419 halParam->vsize = valueSize; in parameterToHal()
424 memcpy(halParam->data + valueOffsetFromData, *valueData, valueSize); in parameterToHal()
684 Result Effect::setParameterImpl(uint32_t paramSize, const void* paramData, uint32_t valueSize, in setParameterImpl() argument
687 if (!parameterToHal(paramSize, paramData, valueSize, &valueData, &halParamBuffer)) { in setParameterImpl()
922 [&](uint32_t valueSize, const void* valueData) { in getParameter() argument
924 valueSize); in getParameter()
DVirtualizerEffect.cpp236 [&](uint32_t valueSize, const void* valueData) { in getVirtualSpeakerAngles() argument
237 if (valueSize < halSpeakerAnglesSize) { in getVirtualSpeakerAngles()
238 channelCount = valueSize / (sizeof(int32_t) * 3); in getVirtualSpeakerAngles()
DEqualizerEffect.cpp294 size_t valueSize = sizeof(t_equalizer_settings) + sizeof(int16_t) * numBands; in getAllProperties() local
297 sizeof(paramId), &paramId, valueSize, [&](uint32_t, const void* valueData) { in getAllProperties()
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DShaderCache.cpp61 void SetBlob(const void* key, EGLsizeiANDROID keySize, const void* value, EGLsizeiANDROID valueSize in SetBlob() argument
65 std::vector<uint8_t> valueVec(valueSize); in SetBlob()
66 memcpy(valueVec.data(), value, valueSize); in SetBlob()
68 mruCache.put(keyVec, keySize, std::move(valueVec), valueSize); in SetBlob()
71 …ANDROID GetBlob(const void* key, EGLsizeiANDROID keySize, void* value, EGLsizeiANDROID valueSize) { in GetBlob() argument
82 if (result->size() <= static_cast<size_t>(valueSize)) { in GetBlob()
DShaderCache.h23 void SetBlob(const void* key, EGLsizeiANDROID keySize, const void* value, EGLsizeiANDROID valueSize
25 …iANDROID GetBlob(const void* key, EGLsizeiANDROID keySize, void* value, EGLsizeiANDROID valueSize);
/hardware/interfaces/graphics/composer/2.4/utils/hal/include/composer-hal/2.4/
DComposerCommandEngine.h102 const uint32_t valueSize = read(); in executeSetLayerGenericMetadata() local
103 if (!isReadSizeValid(valueSize)) { in executeSetLayerGenericMetadata()
106 std::vector<uint8_t> value(valueSize); in executeSetLayerGenericMetadata()
107 readBlob(valueSize, value.data()); in executeSetLayerGenericMetadata()
/hardware/interfaces/weaver/aidl/aidl_api/android.hardware.weaver/1/android/hardware/weaver/
DWeaverConfig.aidl39 int valueSize;
/hardware/interfaces/weaver/aidl/android/hardware/weaver/
DWeaverConfig.aidl32 int valueSize;
/hardware/interfaces/weaver/aidl/aidl_api/android.hardware.weaver/2/android/hardware/weaver/
DWeaverConfig.aidl39 int valueSize;
/hardware/interfaces/weaver/aidl/aidl_api/android.hardware.weaver/current/android/hardware/weaver/
DWeaverConfig.aidl39 int valueSize;
/hardware/nxp/weaver/1.0/
DWeaver.cpp60 configResp.valueSize = slotInfo.valueSize; in getConfig()
/hardware/nxp/weaver/libese_weaver/inc/
Dweaver_common.h37 uint32_t valueSize; member
/hardware/nxp/weaver/aidl_impl/
DWeaver.cpp60 out_config->valueSize = slotInfo.valueSize; in getConfig()
/hardware/google/gfxstream/guest/mesa/src/util/
Ddisk_cache.h61 const void *value, signed long valueSize);
65 void *value, signed long valueSize);
/hardware/google/aemu/base/include/aemu/base/
DMruCache.h63 bool put(const K& key, size_t keySize, V&& value, size_t valueSize) { in put() argument
67 EntryWithSize<V> cacheValue(std::move(value), valueSize); in put()
/hardware/interfaces/weaver/vts/
DVtsHalWeaverTargetTest.cpp107 _aidl_return->valueSize = config.valueSize; in getConfig()
196 << ", valueSize=" << config_.valueSize; in SetUp()
254 EXPECT_GE(config_.valueSize, 16u); in TEST_P()
375 std::vector<uint8_t> bigValue(config_.valueSize + 1); in TEST_P()
/hardware/google/av/media/eco/
DECOData.cpp76 int32_t valueSize; in readFromParcel() local
77 RETURN_STATUS_IF_ERROR(AParcel_readInt32(parcel, &valueSize)); in readFromParcel()
78 setInt32(name, valueSize); in readFromParcel()
/hardware/interfaces/weaver/1.0/
Dtypes.hal29 uint32_t valueSize;
/hardware/interfaces/graphics/mapper/stable-c/include/android/hardware/graphics/mapper/
DIMapper.h144 const void* _Nonnull value, size_t valueSize);
/hardware/google/gfxstream/codegen/renderControl/
DrenderControl.attrib122 len valuePtr valueSize
DrenderControl.in69 GL_ENTRY(void, rcSetProcessMetadata, char* key, RenderControlByte* valuePtr, uint32_t valueSize);
/hardware/google/gfxstream/guest/renderControl_enc/
DrenderControl_entry.cpp76 void rcSetProcessMetadata(char* key, RenderControlByte* valuePtr, uint32_t valueSize);
494 void rcSetProcessMetadata(char* key, RenderControlByte* valuePtr, uint32_t valueSize) in rcSetProcessMetadata() argument
497 ctx->rcSetProcessMetadata(ctx, key, valuePtr, valueSize); in rcSetProcessMetadata()
/hardware/google/gfxstream/guest/mesa/include/GL/internal/
Ddri_interface.h313 const void *value, signed long valueSize);
317 void *value, signed long valueSize);
/hardware/nxp/weaver/libese_weaver/src/
Dweaver-parser-impl.cpp245 slotInfo.valueSize = VALUE_SIZE; in ParseSlotInfo()

12