/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
DESKeyGenerator.java | 36 byte[] newKey = new byte[DESParameters.DES_KEY_LENGTH]; 40 random.nextBytes(newKey); 42 DESParameters.setOddParity(newKey); 44 while (DESParameters.isWeakKey(newKey, 0)); 46 return newKey;
|
DESedeKeyGenerator.java | 44 byte[] newKey = new byte[strength]; 48 random.nextBytes(newKey); 50 DESedeParameters.setOddParity(newKey); 52 while (DESedeParameters.isWeakKey(newKey, 0, newKey.length)); 54 return newKey;
|
/frameworks/base/keystore/tests/src/android/security/ |
SystemKeyStoreTest.java | 67 byte[] newKey = mSysKeyStore.generateNewKey(128, "AES", keyName); 68 assertNotNull(newKey); 70 assertEquals(newKey.length, recKey.length); 71 for (int i = 0; i < newKey.length; i++) { 72 assertEquals(newKey[i], recKey[i]);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
StringFloat.java | 24 public StringFloat(String newKey, float newValue) { 25 key = newKey;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyboardParams.java | 85 public void onAddKey(final Key newKey) { 86 final Key key = (mKeysCache != null) ? mKeysCache.get(newKey) : newKey;
|
NonDistinctMultitouchHelper.java | 83 final Key newKey = mainTracker.getKeyOn(x, y); 84 if (mOldKey != newKey) {
|
/external/guava/guava-tests/test/com/google/common/cache/ |
PopulatedCachesTest.java | 93 Object newKey = new Object(); 94 assertNull(cache.asMap().put(newKey, entry.getValue())); 97 assertEquals(entry.getValue(), cache.getUnchecked(newKey)); 99 warmed.add(entryOf(newKey, entry.getValue())); 114 Object newKey = new Object(); 115 assertNull(cache.asMap().putIfAbsent(newKey, entry.getValue())); 118 assertEquals(entry.getValue(), cache.getUnchecked(newKey)); 120 warmed.add(entryOf(newKey, entry.getValue())); 131 Object newKey = new Object(); 133 cache.asMap().putAll(ImmutableMap.of(newKey, newValue)) [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
AbstractSyncParser.java | 199 String newKey = getValue(); 200 userLog("Parsed key for ", mMailbox.mDisplayName, ": ", newKey); 201 if (!newKey.equals(mMailbox.mSyncKey)) { 202 mMailbox.mSyncKey = newKey; 203 cv.put(MailboxColumns.SYNC_KEY, newKey);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
MoreKeysKeyboardView.java | 152 final Key newKey = mKeyDetector.detectHitKey(x, y); 153 if (newKey != oldKey) { 154 mCurrentKey = newKey; 159 if (newKey != null) { 160 updatePressKeyGraphics(newKey);
|
PointerTracker.java | 610 final Key newKey = mKeyDetector.detectHitKey(mKeyX, mKeyY); 611 if (newKey != mCurrentKey) { [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
OutputPropertiesFactory.java | 461 String newKey = fixupPropertyString(key, true); 465 newValue = System.getProperty(newKey); 476 if (key != newKey || value != newValue) 479 props.put(newKey, newValue);
|
/external/icu4c/i18n/ |
tznames.cpp | 160 char *newKey = NULL; 167 newKey = (char *)uprv_malloc(uprv_strlen(key) + 1); 168 if (newKey == NULL) { 171 uprv_strcpy(newKey, key); 183 uhash_put(gTimeZoneNamesCache, newKey, cacheEntry, &status); 190 if (newKey != NULL) { 191 uprv_free(newKey);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
DESEngine.java | 311 int[] newKey = new int[32]; 336 newKey[m] = newKey[n] = 0; 368 newKey[m] |= bigbyte[j]; 373 newKey[n] |= bigbyte[j]; 385 i1 = newKey[i]; 386 i2 = newKey[i + 1]; 388 newKey[i] = ((i1 & 0x00fc0000) << 6) | ((i1 & 0x00000fc0) << 10) 391 newKey[i + 1] = ((i1 & 0x0003f000) << 12) | ((i1 & 0x0000003f) << 16) 395 return newKey; [all...] |
RC2Engine.java | 101 // Phase 3 - copy to newKey in little-endian order 102 int[] newKey = new int[64]; 104 for (int i = 0; i != newKey.length; i++) 106 newKey[i] = (xKey[2 * i] + (xKey[2 * i + 1] << 8)); 109 return newKey;
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/ |
DES.java | 194 int[] newKey = new int[32]; 218 newKey[m] = newKey[n] = 0; 250 newKey[m] |= bigbyte[j]; 255 newKey[n] |= bigbyte[j]; 267 i1 = newKey[i]; 268 i2 = newKey[i + 1]; 270 newKey[i] = ((i1 & 0x00fc0000) << 6) | ((i1 & 0x00000fc0) << 10) | ((i2 & 0x00fc0000) >>> 10) 273 newKey[i + 1] = ((i1 & 0x0003f000) << 12) | ((i1 & 0x0000003f) << 16) | ((i2 & 0x0003f000) >>> 4) 277 return newKey; [all...] |
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasSyncBase.java | 133 final String newKey = getSyncKey(); 134 if (result == RESULT_MORE_AVAILABLE && key.equals(newKey)) {
|
/external/chromium_org/third_party/sqlite/src/src/ |
test_pcache.c | 330 unsigned newKey 338 /* If there already exists another page at newKey, verify that 342 if( p->a[i].key==newKey ){ 360 p->a[i].key = newKey;
|
/frameworks/base/core/java/android/accounts/ |
AuthenticatorDescription.java | 74 public static AuthenticatorDescription newKey(String type) {
|
/frameworks/base/core/java/android/content/ |
SyncAdaptersCache.java | 89 return SyncAdapterType.newKey(authority, accountType);
|
/frameworks/base/services/java/com/android/server/accounts/ |
AccountAuthenticatorCache.java | 91 return AuthenticatorDescription.newKey(parser.getAttributeValue(null, "type"));
|
/external/chromium_org/third_party/icu/source/i18n/ |
sortkey.cpp | 399 U_NAMESPACE_QUALIFIER CollationKey newKey(key, length); 400 return newKey.hashCode();
|
uspoof_conf.cpp | 542 int32_t newKey = keyChar | tableFlag; 544 newKey |= USPOOF_KEY_MULTIPLE_VALUES; 550 newKey |= adjustedMappingLength << USPOOF_KEY_LENGTH_SHIFT; 554 fKeyVec->addElement(newKey, status);
|
/frameworks/base/media/java/android/media/ |
MediaCodec.java | 390 byte[] newKey, 396 key = newKey;
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SoftKeyboardView.java | 217 SoftKey newKey = mSoftKeyboard.mapToKey(x, y); 218 if (newKey == mSoftKeyDown) moveWithinPreviousKey = true; 219 mSoftKeyDown = newKey;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ACBTree.h | 33 + (ACBKey *)newKey;
|