/frameworks/base/core/java/android/hardware/ |
SensorEvent.java | 651 SensorEvent(int valueSize) { 652 values = new float[valueSize];
|
/external/proguard/src/proguard/classfile/instruction/ |
Instruction.java | 1029 protected static int readValue(byte[] code, int offset, int valueSize) 1031 switch (valueSize) 1037 default: throw new IllegalArgumentException("Unsupported value size ["+valueSize+"]"); 1052 protected static int readSignedValue(byte[] code, int offset, int valueSize) 1054 switch (valueSize) 1060 default: throw new IllegalArgumentException("Unsupported value size ["+valueSize+"]"); 1093 protected static void writeValue(byte[] code, int offset, int value, int valueSize) 1095 switch (valueSize) 1101 default: throw new IllegalArgumentException("Unsupported value size ["+valueSize+"]"); 1126 protected static void writeSignedValue(byte[] code, int offset, int value, int valueSize) [all...] |
/hardware/interfaces/weaver/1.0/ |
types.hal | 29 uint32_t valueSize;
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
BlobCache.cpp | 80 size_t valueSize) { 86 if (mMaxValueSize < valueSize) { 88 valueSize, mMaxValueSize); 91 if (mMaxTotalSize < keySize + valueSize) { 93 "large: %zu (limit: %zu)", keySize + valueSize, mMaxTotalSize); 100 if (valueSize <= 0) { 101 ALOGW("set: not caching because valueSize is 0"); 113 std::shared_ptr<Blob> valueBlob(new Blob(value, valueSize, true)); 114 size_t newEntrySize = keySize + valueSize; 132 keySize + valueSize, mMaxTotalSize) [all...] |
BlobCache.h | 88 // 0 < valueSize 90 size_t valueSize); 97 // There are two variants of get: one takes a buffer (value, valueSize) 101 // the size of the cached value is less than valueSize bytes then 109 // 0 <= valueSize 130 size_t get(const void* key, size_t keySize, void* value, size_t valueSize); 295 // ((sizeof(EntryHeader) + keySize + valueSize) + 3) & ~3 315 // BlobCache::set with a valueSize parameter larger than mMaxValueSize will
|
/frameworks/native/opengl/libs/EGL/ |
BlobCache.cpp | 55 size_t valueSize) { 61 if (mMaxValueSize < valueSize) { 63 valueSize, mMaxValueSize); 66 if (mMaxTotalSize < keySize + valueSize) { 68 "large: %zu (limit: %zu)", keySize + valueSize, mMaxTotalSize); 75 if (valueSize <= 0) { 76 ALOGW("set: not caching because valueSize is 0"); 88 std::shared_ptr<Blob> valueBlob(new Blob(value, valueSize, true)); 89 size_t newTotalSize = mTotalSize + keySize + valueSize; 99 keySize + valueSize, mMaxTotalSize) [all...] |
egl_cache.h | 58 EGLsizeiANDROID valueSize); 64 void* value, EGLsizeiANDROID valueSize);
|
egl_cache.cpp | 62 const void* value, EGLsizeiANDROID valueSize) { 63 egl_cache_t::get()->setBlob(key, keySize, value, valueSize); 67 void* value, EGLsizeiANDROID valueSize) { 68 return egl_cache_t::get()->getBlob(key, keySize, value, valueSize); 132 const void* value, EGLsizeiANDROID valueSize) { 135 if (keySize < 0 || valueSize < 0) { 142 bc->set(key, keySize, value, valueSize); 160 void* value, EGLsizeiANDROID valueSize) { 163 if (keySize < 0 || valueSize < 0) { 170 return bc->get(key, keySize, value, valueSize); [all...] |
BlobCache.h | 56 // 0 < valueSize 58 size_t valueSize); 63 // is non-NULL and the size of the cached value is less than valueSize bytes 75 // 0 <= valueSize 76 size_t get(const void* key, size_t keySize, void* value, size_t valueSize); 199 // ((sizeof(EntryHeader) + keySize + valueSize) + 3) & ~3 219 // BlobCache::set with a valueSize parameter larger than mMaxValueSize will
|
/hardware/interfaces/audio/effect/2.0/default/ |
Effect.h | 64 std::function<void(uint32_t valueSize, const void* valueData)>; 130 [&] (uint32_t valueSize, const void* valueData) { 131 if (valueSize > sizeof(T)) valueSize = sizeof(T); 132 memcpy(&value, valueData, valueSize); 142 [&] (uint32_t valueSize, const void* valueData) { 143 if (valueSize > sizeof(T)) valueSize = sizeof(T); 144 memcpy(¶mValue, valueData, valueSize); 153 [&] (uint32_t valueSize, const void* valueData) [all...] |
VirtualizerEffect.cpp | 218 [&] (uint32_t valueSize, const void* valueData) { 219 if (valueSize > halSpeakerAnglesSize) { 220 valueSize = halSpeakerAnglesSize; 221 } else if (valueSize < halSpeakerAnglesSize) { 222 channelCount = valueSize / (sizeof(int32_t) * 3);
|
/frameworks/ml/nn/driver/cache/nnCache/ |
nnCache.h | 63 ssize_t valueSize); 68 void* value, ssize_t valueSize);
|
nnCache.cpp | 76 const void* value, ssize_t valueSize) { 79 if (keySize < 0 || valueSize < 0) { 86 bc->set(key, keySize, value, valueSize); 104 void* value, ssize_t valueSize) { 107 if (keySize < 0 || valueSize < 0) { 114 return bc->get(key, keySize, value, valueSize);
|
nnCache_test.cpp | 201 const size_t valueSize = strlen(value); 202 ASSERT_LE(valueSize, sizeof(buf)); // Check testing assumption 204 ASSERT_EQ(ssize_t(valueSize), mCache->getBlob(key, keySize, buf, sizeof(buf))); 205 for (size_t i = 0; i < valueSize; i++) {
|
/frameworks/wilhelm/src/android/ |
AudioRecorder_to_android.h | 32 const void *pConfigValue, SLuint32 valueSize);
|
AudioPlayer_to_android.h | 53 const void *pConfigValue, SLuint32 valueSize);
|
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);
|
/frameworks/wilhelm/src/itf/ |
IAndroidConfiguration.cpp | 29 SLuint32 valueSize) 33 // object-specific code will check that valueSize is large enough for the key 34 if (NULL == configKey || NULL == pConfigValue || valueSize == 0) { 44 SL_LOGV("SetConfiguration issued for AudioRecorder key=%s valueSize=%u", 45 configKey, valueSize); 47 pConfigValue, valueSize); 50 SL_LOGV("SetConfiguration issued for AudioPlayer key=%s valueSize=%u", 51 configKey, valueSize); 53 pConfigValue, valueSize);
|
IMetadataExtraction.cpp | 122 SLuint32 index, SLuint32 valueSize, SLMetadataInfo *pValue) 133 index, valueSize, pValue);
|
/frameworks/wilhelm/tests/mimeUri/ |
slesTestPlayStreamType.cpp | 194 SLuint32 valueSize = sizeof(SLint32) * 2; // trying too big on purpose 196 SL_ANDROID_KEY_STREAM_TYPE, &valueSize, NULL); 198 if (valueSize != sizeof(SLint32)) { 200 valueSize, sizeof(SLint32)); 203 SL_ANDROID_KEY_STREAM_TYPE, &valueSize, ¤tType); 220 SL_ANDROID_KEY_STREAM_TYPE, &valueSize, ¤tType);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
GroupedLinkedMap.java | 131 final int valueSize = size(); 132 return valueSize > 0 ? values.remove(valueSize - 1) : null;
|
/external/mdnsresponder/mDNSShared/ |
dnssd_clientlib.c | 205 uint8_t valueSize, 215 keyvalsize = 1 + keysize + (value ? (1 + valueSize) : 0); 238 memcpy(p, value, valueSize); 239 p += valueSize;
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.cpp | 155 uint32_t valueSize, 165 uint32_t valueSize, 175 uint32_t valueSize, 185 uint32_t valueSize, [all...] |
/development/ndk/platforms/android-9/include/SLES/ |
OpenSLES_Android.h | 155 SLuint32 valueSize);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
MockWeaverService.java | 29 config.valueSize = VALUE_LENGTH;
|