/frameworks/native/opengl/libs/EGL/ |
D | BlobCache.cpp | 55 void BlobCache::set(const void* key, size_t keySize, const void* value, in set() argument 57 if (mMaxKeySize < keySize) { in set() 59 keySize, mMaxKeySize); in set() 67 if (mMaxTotalSize < keySize + valueSize) { in set() 69 "large: %zu (limit: %zu)", keySize + valueSize, mMaxTotalSize); in set() 72 if (keySize == 0) { in set() 81 std::shared_ptr<Blob> dummyKey(new Blob(key, keySize, false)); in set() 88 std::shared_ptr<Blob> keyBlob(new Blob(key, keySize, true)); in set() 90 size_t newTotalSize = mTotalSize + keySize + valueSize; in set() 100 keySize + valueSize, mMaxTotalSize); in set() [all …]
|
D | egl_cache.cpp | 53 static void setBlob(const void* key, EGLsizeiANDROID keySize, in setBlob() argument 55 egl_cache_t::get()->setBlob(key, keySize, value, valueSize); in setBlob() 58 static EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize, in getBlob() argument 60 return egl_cache_t::get()->getBlob(key, keySize, value, valueSize); in getBlob() 125 void egl_cache_t::setBlob(const void* key, EGLsizeiANDROID keySize, in setBlob() argument 129 if (keySize < 0 || valueSize < 0) { in setBlob() 136 bc->set(key, keySize, value, valueSize); in setBlob() 153 EGLsizeiANDROID egl_cache_t::getBlob(const void* key, EGLsizeiANDROID keySize, 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 | 57 void setBlob(const void* key, EGLsizeiANDROID keySize, const void* value, 63 EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize,
|
D | BlobCache.h | 57 void set(const void* key, size_t keySize, const void* value, 76 size_t get(const void* key, size_t keySize, void* value, size_t valueSize);
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache.cpp | 79 void BlobCache::set(const void* key, size_t keySize, const void* value, in set() argument 81 if (mMaxKeySize < keySize) { in set() 83 keySize, mMaxKeySize); in set() 91 if (mMaxTotalSize < keySize + valueSize) { in set() 93 "large: %zu (limit: %zu)", keySize + valueSize, mMaxTotalSize); in set() 96 if (keySize == 0) { in set() 105 std::shared_ptr<Blob> dummyKey(new Blob(key, keySize, false)); in set() 112 std::shared_ptr<Blob> keyBlob(new Blob(key, keySize, true)); in set() 114 size_t newEntrySize = keySize + valueSize; in set() 132 keySize + valueSize, mMaxTotalSize); in set() [all …]
|
D | BlobCache.h | 89 void set(const void* key, size_t keySize, const void* value, 130 size_t get(const void* key, size_t keySize, void* value, size_t valueSize); 131 size_t get(const void* key, size_t keySize, void** value, std::function<void*(size_t)> alloc); 133 size_t get(const void* key, size_t keySize, T** value, std::function<void*(size_t)> alloc) { in get() argument 135 const size_t size = get(key, keySize, &valueVoid, alloc); in get()
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.h | 62 void setBlob(const void* key, ssize_t keySize, const void* value, 67 ssize_t getBlob(const void* key, ssize_t keySize, 69 ssize_t getBlob(const void* key, ssize_t keySize, 72 ssize_t getBlob(const void* key, size_t keySize, in getBlob() argument 75 const ssize_t size = getBlob(key, keySize, &valueVoid, alloc); in getBlob()
|
D | nnCache.cpp | 75 void NNCache::setBlob(const void* key, ssize_t keySize, 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, in getBlob() argument 107 if (keySize < 0 || valueSize < 0) { in getBlob() 114 return bc->get(key, keySize, value, valueSize); in getBlob() 119 ssize_t NNCache::getBlob(const void* key, ssize_t keySize, in getBlob() argument 123 if (keySize < 0) { in getBlob() 130 return bc->get(key, keySize, value, alloc); in getBlob()
|
D | nnCache_test.cpp | 198 const size_t keySize = strlen(key); in yesStringBlob() local 202 ASSERT_EQ(ssize_t(valueSize), mCache->getBlob(key, keySize, buf, sizeof(buf))); in yesStringBlob() 214 const size_t keySize = strlen(key); in noStringBlob() local 216 ASSERT_EQ(ssize_t(0), mCache->getBlob(key, keySize, buf, sizeof(buf))); in noStringBlob()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | ShaderCache.cpp | 104 size_t keySize = key.size(); in load() local 117 size_t valueSize = bc->get(key.data(), keySize, valueBuffer, mObservedBlobValueSize); in load() 127 valueSize = bc->get(key.data(), keySize, valueBuffer, mObservedBlobValueSize); in load() 163 size_t keySize = key.size(); in store() local 164 if (keySize == 0 || valueSize == 0 || valueSize >= maxValueSize) { in store() 165 ALOGW("ShaderCache::store: sizes %d %d not allowed", (int)keySize, (int)valueSize); in store() 175 mOldPipelineCacheSize = bc->get(key.data(), keySize, nullptr, 0); in store() 190 bc->set(key.data(), keySize, value, valueSize); in store()
|
/frameworks/base/keystore/java/android/security/ |
D | KeyPairGeneratorSpec.java | 115 public KeyPairGeneratorSpec(Context context, String keyStoreAlias, String keyType, int keySize, in KeyPairGeneratorSpec() argument 141 mKeySize = keySize; in KeyPairGeneratorSpec() 351 public Builder setKeySize(int keySize) { in setKeySize() argument 352 if (keySize < 0) { in setKeySize() 355 mKeySize = keySize; in setKeySize()
|
/frameworks/wilhelm/src/itf/ |
D | IMetadataExtraction.cpp | 72 SLuint32 index, SLuint32 keySize, SLMetadataInfo *pKey) in IMetadataExtraction_GetKey() argument 83 index, keySize, pKey); in IMetadataExtraction_GetKey() 147 SLuint32 keySize, const void *pKey, SLuint32 keyEncoding, in IMetadataExtraction_AddKeyFilter() argument 158 thiz->mKeySize = keySize; in IMetadataExtraction_AddKeyFilter()
|
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/ |
D | IkeKePayload.java | 149 int keySize = 0; in IkeKePayload() local 155 keySize = DH_GROUP_1024_BIT_MODP_DATA_LEN; in IkeKePayload() 161 keySize = DH_GROUP_2048_BIT_MODP_DATA_LEN; in IkeKePayload() 187 BigIntegerUtils.bigIntegerToUnsignedByteArray(publicKey.getY(), keySize); in IkeKePayload()
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestDecodeToBuffQueue.cpp | 465 SLuint32 i, keySize, valueSize; in TestDecToBuffQueue() local 468 keyInfo = NULL; keySize = 0; in TestDecToBuffQueue() 470 result = (*mdExtrItf)->GetKeySize(mdExtrItf, i, &keySize); in TestDecToBuffQueue() 474 keyInfo = (SLMetadataInfo*) malloc(keySize); in TestDecToBuffQueue() 476 result = (*mdExtrItf)->GetKey(mdExtrItf, i, keySize, keyInfo); in TestDecToBuffQueue()
|
D | slesTestDecodeAac.cpp | 679 SLuint32 keySize, valueSize; in TestDecToBuffQueue() local 682 keyInfo = NULL; keySize = 0; in TestDecToBuffQueue() 684 res = (*mdExtrItf)->GetKeySize(mdExtrItf, i, &keySize); in TestDecToBuffQueue() 688 keyInfo = (SLMetadataInfo*) malloc(keySize); in TestDecToBuffQueue() 690 res = (*mdExtrItf)->GetKey(mdExtrItf, i, keySize, keyInfo); in TestDecToBuffQueue()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyGenParameterSpec.java | 285 int keySize, in KeyGenParameterSpec() argument 333 mKeySize = keySize; in KeyGenParameterSpec() 832 public Builder setKeySize(int keySize) { in setKeySize() argument 833 if (keySize < 0) { in setKeySize() 836 mKeySize = keySize; in setKeySize()
|
D | KeyInfo.java | 93 int keySize, in KeyInfo() argument 112 mKeySize = keySize; in KeyInfo()
|
D | AndroidKeyStoreSecretKeyFactorySpi.java | 91 int keySize; in getKeyInfo() local 119 keySize = (int) keySizeUnsigned; in getKeyInfo() 198 keySize, in getKeyInfo()
|
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 729 int keySize, in checkValidKeySize() argument 734 if (isStrongBoxBacked && keySize != 256) { in checkValidKeySize() 737 + keySize + " bits. Supported: 256"); in checkValidKeySize() 739 if (!SUPPORTED_EC_NIST_CURVE_SIZES.contains(keySize)) { in checkValidKeySize() 741 + keySize + " bits. Supported: " + SUPPORTED_EC_NIST_CURVE_SIZES); in checkValidKeySize() 745 if (keySize < RSA_MIN_KEY_SIZE || keySize > RSA_MAX_KEY_SIZE) { in checkValidKeySize()
|
D | ParcelableKeyGenParameterSpec.java | 123 final int keySize = in.readInt(); in ParcelableKeyGenParameterSpec() local 169 keySize, in ParcelableKeyGenParameterSpec()
|
/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) 141 void (*set) (const void* key, EGLsizeiANDROID keySize, 145 respectively, that are to be inserted. <keySize> and <valueSize> specify 160 EGLsizeiANDROID (*get) (const void* key, EGLsizeiANDROID keySize, 163 <key> is a pointer to the beginning of the key. <keySize> specifies the
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockWeaverService.java | 28 config.keySize = KEY_LENGTH; in getConfig()
|
/frameworks/wilhelm/src/android/ |
D | android_AudioSfDecoder.h | 64 bool getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName);
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothGattCharacteristic.java | 472 public void setKeySize(int keySize) { in setKeySize() argument 473 mKeySize = keySize; in setKeySize()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | ShaderCacheTests.cpp | 213 constexpr size_t keySize(1024); in TEST() local 218 std::vector<uint8_t> keyBuffer(keySize); in TEST()
|