/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
DESedeKeyGenerator.java | 46 byte[] newKey = new byte[strength]; 51 random.nextBytes(newKey); 53 DESedeParameters.setOddParity(newKey); 55 while (++count < MAX_IT && (DESedeParameters.isWeakKey(newKey, 0, newKey.length) || !DESedeParameters.isRealEDEKey(newKey, 0))); 57 if (DESedeParameters.isWeakKey(newKey, 0, newKey.length) || !DESedeParameters.isRealEDEKey(newKey, 0)) 62 return newKey; [all...] |
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;
|
/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;
|
/external/guice/extensions/dagger-adapter/src/com/google/inject/daggeradapter/ |
DaggerMethodScanner.java | 69 Key<T> newKey = Key.get(key.getTypeLiteral(), UniqueAnnotations.create()); 70 setBinder.addBinding().to(newKey); 71 return newKey;
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
AuthenticatorDescriptionTest.java | 45 AuthenticatorDescription desc = AuthenticatorDescription.newKey(accountType);
|
/external/guava/guava-tests/test/com/google/common/cache/ |
PopulatedCachesTest.java | 92 Object newKey = new Object(); 93 assertNull(cache.asMap().put(newKey, entry.getValue())); 96 assertEquals(entry.getValue(), cache.getUnchecked(newKey)); 98 warmed.add(entryOf(newKey, entry.getValue())); 113 Object newKey = new Object(); 114 assertNull(cache.asMap().putIfAbsent(newKey, entry.getValue())); 117 assertEquals(entry.getValue(), cache.getUnchecked(newKey)); 119 warmed.add(entryOf(newKey, entry.getValue())); 130 Object newKey = new Object(); 132 cache.asMap().putAll(ImmutableMap.of(newKey, newValue)) [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
ConcurrentSharedRingBuffer.java | 216 * result is saved to the buffer. If an entry with {@code newKey} already 222 * @param newKey the key with which to store the swapped-in element. 229 public boolean swapLeast(long newKey, SwapTask<E> swapper) { 237 existingElement = mElements.get(newKey); 256 mElements.put(newKey, p); 257 mUnpinnedElements.put(newKey, p); 278 if (swapKey == newKey) { 303 // swap to be placed in the correct order with newKey. 315 mElements.put(newKey, toSwap); 316 mUnpinnedElements.put(newKey, toSwap) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
MoreKeysKeyboardView.java | 211 final Key newKey = mKeyDetector.detectHitKey(x, y); 212 if (newKey == oldKey) { 213 return newKey; 220 if (newKey != null) { 221 updatePressKeyGraphics(newKey); 222 invalidateKey(newKey); 224 return newKey;
|
PointerTracker.java | 494 private Key onMoveToNewKey(final Key newKey, final int x, final int y) { 495 mCurrentKey = newKey; 498 return newKey; 775 private void processDraggingFingerInToNewKey(final Key newKey, final int x, final int y, [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
ReverseState.java | 296 PublicKey newKey = cert.getPublicKey(); 297 if (PKIX.isDSAPublicKeyWithoutParams(newKey)) { 298 newKey = BasicChecker.makeInheritedParamsKey(newKey, pubKey); 302 pubKey = newKey;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
NonDistinctMultitouchHelper.java | 85 final Key newKey = mainTracker.getKeyOn(x, y); 86 if (mOldKey != newKey) {
|
KeyboardParams.java | 119 public void onAddKey(@Nonnull final Key newKey) { 120 final Key key = mUniqueKeysCache.getUniqueKey(newKey);
|
/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/icu/icu4c/source/i18n/ |
tznames.cpp | 153 char *newKey = NULL; 160 newKey = (char *)uprv_malloc(uprv_strlen(key) + 1); 161 if (newKey == NULL) { 164 uprv_strcpy(newKey, key); 176 uhash_put(gTimeZoneNamesCache, newKey, cacheEntry, &status); 183 if (newKey != NULL) { 184 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;
|
/frameworks/base/core/java/android/app/ |
ActivityTransitionState.java | 125 int newKey = mExitTransitionCoordinatorsKey++; 126 mExitTransitionCoordinators.append(newKey, ref); 127 return newKey;
|
/external/skia/src/gpu/ |
GrResourceCache.cpp | 297 void GrResourceCache::changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) { 309 if (newKey.isValid()) { 310 if (GrGpuResource* old = fUniqueHash.find(newKey)) { 318 fUniqueHash.remove(newKey); 322 SkASSERT(nullptr == fUniqueHash.find(newKey)); 323 resource->cacheAccess().setUniqueKey(newKey);
|
GrResourceCache.h | 405 void changeUniqueKey(GrGpuResource* resource, const GrUniqueKey& newKey) { 406 fCache->changeUniqueKey(resource, newKey);
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLSignature.java | 194 private void initInternal(OpenSSLKey newKey, boolean signing) throws InvalidKeyException { 195 checkEngineType(newKey); 196 key = newKey;
|
/frameworks/base/core/java/android/accounts/ |
AuthenticatorDescription.java | 74 public static AuthenticatorDescription newKey(String type) {
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
AccountAuthenticatorCache.java | 91 return AuthenticatorDescription.newKey(parser.getAttributeValue(null, "type"));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
NotificationGroupManager.java | 189 String newKey = entry.notification.getGroupKey(); 190 boolean groupKeysChanged = !oldKey.equals(newKey); 203 updateSuppression(mGroupMap.get(newKey));
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ACBTree.h | 33 + (ACBKey *)newKey;
|