Home
last modified time | relevance | path

Searched refs:keySize (Results 1 – 24 of 24) sorted by relevance

/frameworks/native/opengl/libs/EGL/
Degl_cache.cpp63 static void setBlob(const void* key, EGLsizeiANDROID keySize, in setBlob() argument
65 egl_cache_t::get()->setBlob(key, keySize, value, valueSize); in setBlob()
68 static EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize, in getBlob() argument
70 return egl_cache_t::get()->getBlob(key, keySize, value, valueSize); in getBlob()
134 void egl_cache_t::setBlob(const void* key, EGLsizeiANDROID keySize, in setBlob() argument
138 if (keySize < 0 || valueSize < 0) { in setBlob()
145 bc->set(key, keySize, value, valueSize); in setBlob()
173 EGLsizeiANDROID egl_cache_t::getBlob(const void* key, EGLsizeiANDROID keySize, in getBlob() argument
177 if (keySize < 0 || valueSize < 0) { in getBlob()
184 return bc->get(key, keySize, value, valueSize); in getBlob()
Degl_cache.h55 void setBlob(const void* key, EGLsizeiANDROID keySize, const void* value,
61 EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize,
/frameworks/base/keystore/java/android/security/
DKeyPairGeneratorSpec.java115 public KeyPairGeneratorSpec(Context context, String keyStoreAlias, String keyType, int keySize, in KeyPairGeneratorSpec() argument
141 mKeySize = keySize; in KeyPairGeneratorSpec()
350 public Builder setKeySize(int keySize) { in setKeySize() argument
351 if (keySize < 0) { in setKeySize()
354 mKeySize = keySize; in setKeySize()
DKeyStore.java296 public boolean generate(String key, int uid, int keyType, int keySize, int flags, in generate() argument
299 return mBinder.generate(key, uid, keyType, keySize, flags, in generate()
/frameworks/wilhelm/src/itf/
DIMetadataExtraction.c72 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/keystore/
DKeyGenParameterSpec.java272 int keySize, in KeyGenParameterSpec() argument
316 mKeySize = keySize; in KeyGenParameterSpec()
707 public Builder setKeySize(int keySize) { in setKeySize() argument
708 if (keySize < 0) { in setKeySize()
711 mKeySize = keySize; in setKeySize()
DAndroidKeyStoreSecretKeyFactorySpi.java88 int keySize; in getKeyInfo() local
116 keySize = (int) keySizeUnsigned; in getKeyInfo()
190 keySize, in getKeyInfo()
DKeyInfo.java91 int keySize, in KeyInfo() argument
108 mKeySize = keySize; in KeyInfo()
DAndroidKeyStoreKeyPairGeneratorSpi.java719 private static void checkValidKeySize(int keymasterAlgorithm, int keySize) in checkValidKeySize() argument
723 if (!SUPPORTED_EC_NIST_CURVE_SIZES.contains(keySize)) { in checkValidKeySize()
725 + keySize + " bits. Supported: " + SUPPORTED_EC_NIST_CURVE_SIZES); in checkValidKeySize()
729 if (keySize < RSA_MIN_KEY_SIZE || keySize > RSA_MAX_KEY_SIZE) { in checkValidKeySize()
DAndroidKeyStoreKeyGeneratorSpi.java144 protected void engineInit(int keySize, SecureRandom random) { in engineInit() argument
/frameworks/base/packages/Osu/src/com/android/hotspot2/est/
DESTHandler.java340 int keySize = -1; in buildCSR() local
401 keySize = (int) ((Asn1Integer) value).getValue(); in buildCSR()
431 if (keySize < MinRSAKeySize) { in buildCSR()
432 if (keySize >= 0) { in buildCSR()
434 keySize + " to " + MinRSAKeySize); in buildCSR()
436 keySize = MinRSAKeySize; in buildCSR()
472 kpg.initialize(keySize); in buildCSR()
/frameworks/wilhelm/tests/examples/
DslesTestDecodeToBuffQueue.cpp465 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()
DslesTestDecodeAac.cpp678 SLuint32 keySize, valueSize; in TestDecToBuffQueue() local
681 keyInfo = NULL; keySize = 0; in TestDecToBuffQueue()
683 res = (*mdExtrItf)->GetKeySize(mdExtrItf, i, &keySize); in TestDecToBuffQueue()
687 keyInfo = (SLMetadataInfo*) malloc(keySize); in TestDecToBuffQueue()
689 res = (*mdExtrItf)->GetKey(mdExtrItf, i, keySize, keyInfo); in TestDecToBuffQueue()
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt78 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/keystore/tests/src/android/security/keystore/
DAndroidKeyPairGeneratorTest.java330 private void assertKeyPairCorrect(KeyPair pair, String alias, String keyType, int keySize, in assertKeyPairCorrect() argument
338 assertEquals("Curve should be what was specified during initialization", keySize, in assertKeyPairCorrect()
343 (keySize + 7) & ~7, (rsaPubKey.getModulus().bitLength() + 7) & ~7); in assertKeyPairCorrect()
346 assertEquals((keySize + 7) & ~7, (params.getKeysize() + 7) & ~7); in assertKeyPairCorrect()
/frameworks/wilhelm/src/android/
Dandroid_AudioSfDecoder.h65 bool getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName);
Dandroid_AudioSfDecoder.cpp113 bool AudioSfDecoder::getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName) { in getPcmFormatKeyName() argument
118 if (keySize < actualKeySize) { in getPcmFormatKeyName()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattCharacteristic.java446 public void setKeySize(int keySize) { in setKeySize() argument
447 mKeySize = keySize; in setKeySize()
/frameworks/base/core/java/android/security/
DIKeystoreService.aidl45 int generate(String name, int uid, int keyType, int keySize, int flags, in generate() argument
/frameworks/native/opengl/include/EGL/
Deglext.h530 typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value,…
531 typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *v…
/frameworks/av/media/libstagefright/
DMPEG4Extractor.cpp2401 uint32_t keySize; in parseQTMetaKey() local
2402 if (!mDataSource->getUInt32(keyOffset, &keySize) in parseQTMetaKey()
2403 || keySize < 8 in parseQTMetaKey()
2404 || keyOffset + keySize > stopOffset) { in parseQTMetaKey()
2414 keySize -= 8; in parseQTMetaKey()
2417 sp<ABuffer> keyData = new ABuffer(keySize); in parseQTMetaKey()
2422 keyOffset, keyData->data(), keySize) < (ssize_t) keySize) { in parseQTMetaKey()
2426 AString key((const char *)keyData->data(), keySize); in parseQTMetaKey()
2429 keyOffset += keySize; in parseQTMetaKey()
/frameworks/base/docs/html/preview/features/
Dkey-attestation.jd159 keySize [3] EXPLICIT INTEGER OPTIONAL,
346 the <code>keySize</code> field in an authorization list corresponds to the
385 <code>keySize</code>
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h1324 XAuint32 keySize,
1340 XAuint32 keySize,
1393 XAuint32 keySize,
/frameworks/wilhelm/include/SLES/
DOpenSLES.h778 SLuint32 keySize,
794 SLuint32 keySize,