Searched refs:keySize (Results 1 - 22 of 22) sorted by relevance

/frameworks/native/opengl/libs/EGL/
H A Degl_cache.h55 void setBlob(const void* key, EGLsizeiANDROID keySize, const void* value,
61 EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize,
H A Degl_cache.cpp63 static void setBlob(const void* key, EGLsizeiANDROID keySize, argument
65 egl_cache_t::get()->setBlob(key, keySize, value, valueSize);
68 static EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize, argument
70 return egl_cache_t::get()->getBlob(key, keySize, value, valueSize);
134 void egl_cache_t::setBlob(const void* key, EGLsizeiANDROID keySize, argument
138 if (keySize < 0 || valueSize < 0) {
145 bc->set(key, keySize, value, valueSize);
173 EGLsizeiANDROID egl_cache_t::getBlob(const void* key, EGLsizeiANDROID keySize, argument
177 if (keySize < 0 || valueSize < 0) {
184 return bc->get(key, keySize, valu
[all...]
/frameworks/base/keystore/java/android/security/
H A DKeyPairGeneratorSpec.java104 * @param keySize size of key to generate
115 public KeyPairGeneratorSpec(Context context, String keyStoreAlias, String keyType, int keySize, argument
141 mKeySize = keySize;
350 public Builder setKeySize(int keySize) { argument
351 if (keySize < 0) {
352 throw new IllegalArgumentException("keySize < 0");
354 mKeySize = keySize;
H A DKeyStore.java296 public boolean generate(String key, int uid, int keyType, int keySize, int flags, argument
299 return mBinder.generate(key, uid, keyType, keySize, flags,
/frameworks/wilhelm/src/itf/
H A DIMetadataExtraction.c72 SLuint32 index, SLuint32 keySize, SLMetadataInfo *pKey)
83 index, keySize, pKey);
147 SLuint32 keySize, const void *pKey, SLuint32 keyEncoding,
158 thiz->mKeySize = keySize;
71 IMetadataExtraction_GetKey(SLMetadataExtractionItf self, SLuint32 index, SLuint32 keySize, SLMetadataInfo *pKey) argument
146 IMetadataExtraction_AddKeyFilter(SLMetadataExtractionItf self, SLuint32 keySize, const void *pKey, SLuint32 keyEncoding, const SLchar *pValueLangCountry, SLuint32 valueEncoding, SLuint8 filterMask) argument
/frameworks/base/keystore/java/android/security/keystore/
H A DKeyGenParameterSpec.java272 int keySize,
316 mKeySize = keySize;
707 public Builder setKeySize(int keySize) { argument
708 if (keySize < 0) {
709 throw new IllegalArgumentException("keySize < 0");
711 mKeySize = keySize;
269 KeyGenParameterSpec( String keyStoreAlias, int uid, int keySize, AlgorithmParameterSpec spec, X500Principal certificateSubject, BigInteger certificateSerialNumber, Date certificateNotBefore, Date certificateNotAfter, Date keyValidityStart, Date keyValidityForOriginationEnd, Date keyValidityForConsumptionEnd, @KeyProperties.PurposeEnum int purposes, @KeyProperties.DigestEnum String[] digests, @KeyProperties.EncryptionPaddingEnum String[] encryptionPaddings, @KeyProperties.SignaturePaddingEnum String[] signaturePaddings, @KeyProperties.BlockModeEnum String[] blockModes, boolean randomizedEncryptionRequired, boolean userAuthenticationRequired, int userAuthenticationValidityDurationSeconds, byte[] attestationChallenge, boolean uniqueIdIncluded, boolean userAuthenticationValidWhileOnBody, boolean invalidatedByBiometricEnrollment) argument
H A DKeyInfo.java91 int keySize,
108 mKeySize = keySize;
88 KeyInfo(String keystoreKeyAlias, boolean insideSecureHardware, @KeyProperties.OriginEnum int origin, int keySize, Date keyValidityStart, Date keyValidityForOriginationEnd, Date keyValidityForConsumptionEnd, @KeyProperties.PurposeEnum int purposes, @KeyProperties.EncryptionPaddingEnum String[] encryptionPaddings, @KeyProperties.SignaturePaddingEnum String[] signaturePaddings, @KeyProperties.DigestEnum String[] digests, @KeyProperties.BlockModeEnum String[] blockModes, boolean userAuthenticationRequired, int userAuthenticationValidityDurationSeconds, boolean userAuthenticationRequirementEnforcedBySecureHardware, boolean userAuthenticationValidWhileOnBody, boolean invalidatedByBiometricEnrollment) argument
H A DAndroidKeyStoreSecretKeyFactorySpi.java88 int keySize;
116 keySize = (int) keySizeUnsigned;
190 keySize,
H A DAndroidKeyStoreKeyPairGeneratorSpi.java719 private static void checkValidKeySize(int keymasterAlgorithm, int keySize) argument
723 if (!SUPPORTED_EC_NIST_CURVE_SIZES.contains(keySize)) {
725 + keySize + " bits. Supported: " + SUPPORTED_EC_NIST_CURVE_SIZES);
729 if (keySize < RSA_MIN_KEY_SIZE || keySize > RSA_MAX_KEY_SIZE) {
H A DAndroidKeyStoreKeyGeneratorSpi.java144 protected void engineInit(int keySize, SecureRandom random) { argument
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeToBuffQueue.cpp465 SLuint32 i, keySize, valueSize; local
468 keyInfo = NULL; keySize = 0;
470 result = (*mdExtrItf)->GetKeySize(mdExtrItf, i, &keySize);
474 keyInfo = (SLMetadataInfo*) malloc(keySize);
476 result = (*mdExtrItf)->GetKey(mdExtrItf, i, keySize, keyInfo);
H A DslesTestDecodeAac.cpp678 SLuint32 keySize, valueSize; local
681 keyInfo = NULL; keySize = 0;
683 res = (*mdExtrItf)->GetKeySize(mdExtrItf, i, &keySize);
687 keyInfo = (SLMetadataInfo*) malloc(keySize);
689 res = (*mdExtrItf)->GetKey(mdExtrItf, i, keySize, keyInfo);
/frameworks/base/packages/Osu/src/com/android/hotspot2/est/
H A DESTHandler.java340 int keySize = -1;
401 keySize = (int) ((Asn1Integer) value).getValue();
431 if (keySize < MinRSAKeySize) {
432 if (keySize >= 0) {
434 keySize + " to " + MinRSAKeySize);
436 keySize = MinRSAKeySize;
472 kpg.initialize(keySize);
/frameworks/base/keystore/tests/src/android/security/keystore/
H A DAndroidKeyPairGeneratorTest.java330 private void assertKeyPairCorrect(KeyPair pair, String alias, String keyType, int keySize, argument
338 assertEquals("Curve should be what was specified during initialization", keySize,
343 (keySize + 7) & ~7, (rsaPubKey.getModulus().bitLength() + 7) & ~7);
346 assertEquals((keySize + 7) & ~7, (params.getKeysize() + 7) & ~7);
/frameworks/wilhelm/src/android/
H A Dandroid_AudioSfDecoder.h65 bool getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName);
H A Dandroid_AudioSfDecoder.cpp113 bool AudioSfDecoder::getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName) { argument
118 if (keySize < actualKeySize) {
/frameworks/base/core/java/android/security/
H A DIKeystoreService.aidl45 int generate(String name, int uid, int keyType, int keySize, int flags,
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattCharacteristic.java446 public void setKeySize(int keySize) { argument
447 mKeySize = keySize;
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp2401 uint32_t keySize; local
2402 if (!mDataSource->getUInt32(keyOffset, &keySize)
2403 || keySize < 8
2404 || keyOffset + keySize > stopOffset) {
2414 keySize -= 8;
2417 sp<ABuffer> keyData = new ABuffer(keySize);
2422 keyOffset, keyData->data(), keySize) < (ssize_t) keySize) {
2426 AString key((const char *)keyData->data(), keySize);
2429 keyOffset += keySize;
[all...]
/frameworks/native/opengl/include/EGL/
H A Deglext.h530 typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize);
531 typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize);
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h1324 XAuint32 keySize,
1340 XAuint32 keySize,
1393 XAuint32 keySize,
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h778 SLuint32 keySize,
794 SLuint32 keySize,

Completed in 420 milliseconds