/frameworks/native/opengl/libs/EGL/ |
D | BlobCache.cpp | 57 BlobCache::InsertResult BlobCache::set(const void* key, size_t keySize, const void* value, in set() argument 59 if (mMaxKeySize < keySize) { in set() 60 ALOGV("set: not caching because the key is too large: %zu (limit: %zu)", keySize, in set() 69 if (mMaxTotalSize < keySize + valueSize) { in set() 72 keySize + valueSize, mMaxTotalSize); in set() 75 if (keySize == 0) { in set() 84 std::shared_ptr<Blob> cacheKey(new Blob(key, keySize, false)); in set() 92 std::shared_ptr<Blob> keyBlob(new Blob(key, keySize, true)); in set() 94 size_t newTotalSize = mTotalSize + keySize + valueSize; in set() 105 keySize + valueSize, mMaxTotalSize); in set() [all …]
|
D | egl_cache.cpp | 57 static void setBlob(const void* key, EGLsizeiANDROID keySize, const void* value, in setBlob() argument 59 egl_cache_t::get()->setBlob(key, keySize, value, valueSize); in setBlob() 62 static EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize, void* value, in getBlob() argument 64 return egl_cache_t::get()->getBlob(key, keySize, value, valueSize); in getBlob() 130 void egl_cache_t::setBlob(const void* key, EGLsizeiANDROID keySize, const void* value, in setBlob() argument 134 if (keySize < 0 || valueSize < 0) { in setBlob() 144 mbc->set(key, keySize, value, valueSize); in setBlob() 147 bc->set(key, keySize, value, valueSize); in setBlob() 165 EGLsizeiANDROID egl_cache_t::getBlob(const void* key, EGLsizeiANDROID keySize, void* value, in getBlob() argument 169 if (keySize < 0 || valueSize < 0) { in getBlob() [all …]
|
D | MultifileBlobCache.cpp | 186 if (header.keySize <= 0 || header.valueSize <= 0) { in MultifileBlobCache() 189 entryHash, header.keySize, header.valueSize); in MultifileBlobCache() 254 void MultifileBlobCache::set(const void* key, EGLsizeiANDROID keySize, const void* value, in set() argument 261 if (keySize > mMaxKeySize || valueSize > mMaxValueSize) { in set() 262 ALOGW("SET: keySize (%lu vs %zu) or valueSize (%lu vs %zu) too large", keySize, mMaxKeySize, in set() 268 uint32_t entryHash = android::JenkinsHashMixBytes(0, static_cast<const uint8_t*>(key), keySize); in set() 270 size_t fileSize = sizeof(MultifileHeader) + keySize + valueSize; in set() 283 android::MultifileHeader header = {kMultifileMagic, kCrcPlaceholder, keySize, valueSize}; in set() 288 keySize); in set() 289 memcpy(static_cast<void*>(buffer + sizeof(MultifileHeader) + keySize), in set() [all …]
|
D | egl_cache.h | 60 void setBlob(const void* key, EGLsizeiANDROID keySize, const void* value, 66 EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize,
|
D | MultifileBlobCache.h | 39 EGLsizeiANDROID keySize; member 98 void set(const void* key, EGLsizeiANDROID keySize, const void* value, 100 EGLsizeiANDROID get(const void* key, EGLsizeiANDROID keySize, void* value,
|
D | BlobCache.h | 77 InsertResult set(const void* key, size_t keySize, const void* value, size_t valueSize); 95 size_t get(const void* key, size_t keySize, void* value, size_t valueSize);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | ShaderCache.cpp | 104 size_t keySize = key.size(); in load() local 116 size_t valueSize = mBlobCache->get(key.data(), keySize, valueBuffer, mObservedBlobValueSize); in load() 126 valueSize = mBlobCache->get(key.data(), keySize, valueBuffer, mObservedBlobValueSize); in load() 143 void ShaderCache::set(const void* key, size_t keySize, const void* value, size_t valueSize) { in set() argument 144 switch (mBlobCache->set(key, keySize, value, valueSize)) { in set() 149 ATRACE_FORMAT("ShaderCache: evicted an entry to fit {key: %lu value %lu}!", keySize, in set() 157 ATRACE_FORMAT("ShaderCache: could not fit {key: %lu value %lu}!", keySize, valueSize); in set() 162 ATRACE_FORMAT("ShaderCache: invalid size {key: %lu value %lu}!", keySize, valueSize); in set() 168 ATRACE_FORMAT("ShaderCache: entry too big: {key: %lu value %lu}!", keySize, valueSize); in set() 197 size_t keySize = key.size(); in store() local [all …]
|
D | ShaderCache.h | 108 void set(const void* key, size_t keySize, const void* value, size_t valueSize) REQUIRES(mMutex);
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | CipherPerfTest.java | 71 for (int keySize : keySizes) { in getCases() 75 mode, padding, keySize, inputSize, implementation in getCases() 141 public void setUp(Mode mode, Padding padding, int keySize, Implementation implementation) in setUp() argument 146 mKey = sKeySizes.get(keySize); in setUp() 149 generator.init(keySize); in setUp() 151 sKeySizes.put(keySize, mKey); in setUp() 179 Mode mode, Padding padding, int keySize, int inputSize, Implementation implementation) in timeEncrypt() argument 181 setUp(mode, padding, keySize, implementation); in timeEncrypt() 191 Mode mode, Padding padding, int keySize, int inputSize, Implementation implementation) in timeDecrypt() argument 193 setUp(mode, padding, keySize, implementation); in timeDecrypt()
|
/frameworks/native/opengl/libs/EGL/fuzzer/ |
D | MultifileBlobCache_fuzzer.cpp | 58 EGLsizeiANDROID keySize = static_cast<EGLsizeiANDROID>(fdp.ConsumeIntegral<uint8_t>()); in LLVMFuzzerTestOneInput() local 63 keySize = keySize % (size >> 1); in LLVMFuzzerTestOneInput() 67 if (keySize == 0 || valueSize == 0) { in LLVMFuzzerTestOneInput() 74 key = fdp.ConsumeBytes<uint8_t>(keySize); in LLVMFuzzerTestOneInput() 90 mbc->set(key.data(), keySize, value.data(), valueSize); in LLVMFuzzerTestOneInput() 93 mbc->get(key.data(), keySize, buffer, valueSize); in LLVMFuzzerTestOneInput() 121 for (int i = 0; i < keySize && i < kMaxKeySize; ++i) { in LLVMFuzzerTestOneInput()
|
/frameworks/base/keystore/java/android/security/ |
D | KeyPairGeneratorSpec.java | 113 public KeyPairGeneratorSpec(Context context, String keyStoreAlias, String keyType, int keySize, in KeyPairGeneratorSpec() argument 139 mKeySize = keySize; in KeyPairGeneratorSpec() 352 public Builder setKeySize(int keySize) { in setKeySize() argument 353 if (keySize < 0) { in setKeySize() 356 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/base/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreSecretKeyFactorySpi.java | 79 int keySize = -1; in getKeyInfo() local 115 keySize = (int) keySizeUnsigned; in getKeyInfo() 214 if (keySize == -1) { in getKeyInfo() 244 keySize, in getKeyInfo()
|
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 952 int keySize, in checkValidKeySize() argument 958 if (isStrongBoxBacked && keySize != 256) { in checkValidKeySize() 961 + keySize + " bits. Supported: 256"); in checkValidKeySize() 967 if (!SUPPORTED_EC_CURVE_SIZES.contains(keySize)) { in checkValidKeySize() 969 + keySize + " bits. Supported: " + SUPPORTED_EC_CURVE_SIZES); in checkValidKeySize() 973 if (keySize < RSA_MIN_KEY_SIZE || keySize > RSA_MAX_KEY_SIZE) { in checkValidKeySize()
|
/frameworks/libs/net/common/native/bpfmapjni/ |
D | com_android_net_module_util_BpfMap.cpp | 33 jstring path, jint mode, jint keySize, jint valueSize) { in com_android_net_module_util_BpfMap_nativeBpfFdGet() argument 45 if (bpf::bpfGetFdKeySize(fd) != keySize) { in com_android_net_module_util_BpfMap_nativeBpfFdGet()
|
/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/libs/net/common/device/com/android/net/module/util/ |
D | BpfMap.java | 71 int keySize, int valueSize) in cachedBpfFdGet() argument 84 fd = ParcelFileDescriptor.adoptFd(nativeBpfFdGet(path, mode, keySize, valueSize)); in cachedBpfFdGet() 300 private static native int nativeBpfFdGet(String path, int mode, int keySize, int valueSize) in nativeBpfFdGet() argument
|
/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/core/java/com/android/server/locksettings/ |
D | WeaverHidlAdapter.java | 48 aidlRes.keySize = config.keySize; in getConfig()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyInfo.java | 96 int keySize, in KeyInfo() argument 118 mKeySize = keySize; in KeyInfo()
|
D | KeyGenParameterSpec.java | 337 int keySize, in KeyGenParameterSpec() argument 396 mKeySize = keySize; in KeyGenParameterSpec() 1070 public Builder setKeySize(int keySize) { in setKeySize() argument 1071 if (keySize < 0) { in setKeySize() 1074 mKeySize = keySize; in setKeySize()
|
/frameworks/base/media/java/android/media/ |
D | MediaMetrics.java | 669 final char keySize = buffer.getChar(); // includes zero termination, i.e. keyLength + 1 in toBundle() local 675 if (keySize > 0) { in toBundle() 676 key = getStringFromBuffer(buffer, keySize); in toBundle() 714 bundle.putChar(BUNDLE_KEY_SIZE, keySize); in toBundle()
|
/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 | 59 bool getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName);
|