/frameworks/base/core/java/android/net/ |
D | IpSecAlgorithm.java | 209 private static void checkValidOrThrow(String name, int keyLen, int truncLen) { in checkValidOrThrow() argument 215 isValidLen = keyLen == 128 || keyLen == 192 || keyLen == 256; in checkValidOrThrow() 218 isValidLen = keyLen == 128; in checkValidOrThrow() 222 isValidLen = keyLen == 160; in checkValidOrThrow() 226 isValidLen = keyLen == 256; in checkValidOrThrow() 230 isValidLen = keyLen == 384; in checkValidOrThrow() 234 isValidLen = keyLen == 512; in checkValidOrThrow() 239 isValidLen = keyLen == 128 + 32 || keyLen == 192 + 32 || keyLen == 256 + 32; in checkValidOrThrow() 247 throw new IllegalArgumentException("Invalid key material keyLength: " + keyLen); in checkValidOrThrow()
|
/frameworks/base/libs/androidfw/ |
D | BackupData.cpp | 114 ssize_t keyLen; in WriteEntityHeader() local 116 keyLen = k.length(); in WriteEntityHeader() 119 header.keyLen = tolel(keyLen); in WriteEntityHeader() 130 if (kIsDebug) ALOGI("writing entity header key, %zd bytes", keyLen+1); in WriteEntityHeader() 131 amt = write(m_fd, k.string(), keyLen+1); in WriteEntityHeader() 132 if (amt != keyLen+1) { in WriteEntityHeader() 138 amt = write_padding_for(keyLen+1); in WriteEntityHeader() 257 m_header.entity.keyLen = fromlel(m_header.entity.keyLen); in ReadNextHeader() 258 if (m_header.entity.keyLen <= 0) { in ReadNextHeader() 260 (int)m_header.entity.keyLen); in ReadNextHeader() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | AAMRAssembler.cpp | 36 size_t keyLen = strlen(key); in GetAttribute() local 44 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute() 45 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute() 48 if (len == keyLen && !strncmp(s, key, keyLen)) { in GetAttribute()
|
D | AMPEG4ElementaryAssembler.cpp | 41 size_t keyLen = strlen(key); in GetAttribute() local 53 if (len >= keyLen + 1 && s[keyLen] == '=' in GetAttribute() 54 && !strncasecmp(s, key, keyLen)) { in GetAttribute() 55 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
|
D | AMPEG4AudioAssembler.cpp | 38 size_t keyLen = strlen(key); in GetAttribute() local 50 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute() 51 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
|
D | APacketSource.cpp | 46 size_t keyLen = strlen(key); in GetAttribute() local 58 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute() 59 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
|
D | MyTransmitter.h | 56 size_t keyLen = strlen(key); in GetAttribute() local 64 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute() 65 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
|
D | MyHandler.h | 85 size_t keyLen = strlen(key); in GetAttribute() local 97 if (len >= keyLen + 1 && s[keyLen] == '=' && !strncmp(s, key, keyLen)) { in GetAttribute() 98 value->setTo(&s[keyLen + 1], len - keyLen - 1); in GetAttribute()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | BackupHelpers.h | 34 int keyLen; // length of the key name, not including the null terminator member
|
/frameworks/base/keystore/java/android/security/ |
D | SystemKeyStore.java | 52 int keyLen = keyData.length; in toHexString() local
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.cpp | 355 off64_t keyLen; in decryptBuffer() local 356 if (keySrc == NULL || keySrc->getSize(&keyLen) != OK || keyLen < 0) { in decryptBuffer() 360 key = new ABuffer(keyLen); in decryptBuffer() 361 keySrc->readAt(0, key->data(), keyLen); in decryptBuffer() 362 key->setRange(0, keyLen); in decryptBuffer()
|