Home
last modified time | relevance | path

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

/frameworks/base/keystore/java/android/security/
DKeyPairGeneratorSpec.java129 public KeyPairGeneratorSpec(Context context, String keyStoreAlias, String keyType, int keySize, in KeyPairGeneratorSpec() argument
149 if (keySize == -1) { in KeyPairGeneratorSpec()
150 keySize = getDefaultKeySizeForType(keyTypeInt); in KeyPairGeneratorSpec()
152 checkCorrectParametersSpec(keyTypeInt, keySize, spec); in KeyPairGeneratorSpec()
153 checkValidKeySize(keyTypeInt, keySize); in KeyPairGeneratorSpec()
158 mKeySize = keySize; in KeyPairGeneratorSpec()
178 private static void checkValidKeySize(int keyType, int keySize) { in checkValidKeySize() argument
180 if (keySize < DSA_MIN_KEY_SIZE || keySize > DSA_MAX_KEY_SIZE) { in checkValidKeySize()
185 if (keySize < EC_MIN_KEY_SIZE || keySize > EC_MAX_KEY_SIZE) { in checkValidKeySize()
190 if (keySize < RSA_MIN_KEY_SIZE || keySize > RSA_MAX_KEY_SIZE) { in checkValidKeySize()
[all …]
DKeyStore.java207 public boolean generate(String key, int uid, int keyType, int keySize, int flags, in generate() argument
210 return mBinder.generate(key, uid, keyType, keySize, flags, args) == NO_ERROR; in generate()
/frameworks/native/opengl/libs/EGL/
Degl_cache.cpp62 static void setBlob(const void* key, EGLsizeiANDROID keySize, in setBlob() argument
64 egl_cache_t::get()->setBlob(key, keySize, value, valueSize); in setBlob()
67 static EGLsizeiANDROID getBlob(const void* key, EGLsizeiANDROID keySize, in getBlob() argument
69 return egl_cache_t::get()->getBlob(key, keySize, value, valueSize); in getBlob()
133 void egl_cache_t::setBlob(const void* key, EGLsizeiANDROID keySize, in setBlob() argument
137 if (keySize < 0 || valueSize < 0) { in setBlob()
144 bc->set(key, keySize, value, valueSize); in setBlob()
172 EGLsizeiANDROID egl_cache_t::getBlob(const void* key, EGLsizeiANDROID keySize, in getBlob() argument
176 if (keySize < 0 || valueSize < 0) { in getBlob()
183 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/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/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.cpp679 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/tests/src/android/security/
DAndroidKeyPairGeneratorTest.java465 private void assertKeyPairCorrect(KeyPair pair, String alias, String keyType, int keySize, in assertKeyPairCorrect() argument
475 assertEquals(keySize, (actualParams.getP().bitLength() + 7) & ~7); in assertKeyPairCorrect()
483 assertEquals("Curve should be what was specified during initialization", keySize, in assertKeyPairCorrect()
488 (keySize + 7) & ~7, (rsaPubKey.getModulus().bitLength() + 7) & ~7); in assertKeyPairCorrect()
491 assertEquals((keySize + 7) & ~7, (params.getKeysize() + 7) & ~7); in assertKeyPairCorrect()
/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/ex/variablespeed/jni/
Dvariablespeed.cc236 SLuint32 i, keySize, valueSize; in ReadSampleRateAndChannelCount() local
240 keySize = valueSize = 0; in ReadSampleRateAndChannelCount()
241 OpenSL(decoderMetadata, GetKeySize, i, &keySize); in ReadSampleRateAndChannelCount()
242 keyInfo = static_cast<SLMetadataInfo*>(malloc(keySize)); in ReadSampleRateAndChannelCount()
244 OpenSL(decoderMetadata, GetKey, i, keySize, keyInfo); in ReadSampleRateAndChannelCount()
/frameworks/wilhelm/src/android/
Dandroid_AudioSfDecoder.h67 bool getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName);
Dandroid_AudioSfDecoder.cpp110 bool AudioSfDecoder::getPcmFormatKeyName(uint32_t index, uint32_t keySize, char* keyName) { in getPcmFormatKeyName() argument
115 if (keySize < actualKeySize) { in getPcmFormatKeyName()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattCharacteristic.java386 public void setKeySize(int keySize) { in setKeySize() argument
387 mKeySize = keySize; in setKeySize()
/frameworks/base/core/java/android/security/
DIKeystoreService.java247 public int generate(String name, int uid, int keyType, int keySize, int flags, in generate() argument
257 _data.writeInt(keySize); in generate()
631 public int generate(String name, int uid, int keyType, int keySize, int flags, byte[][] args) in generate() argument
/frameworks/native/opengl/include/EGL/
Deglext.h508 typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value,…
509 typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *v…
/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,