/libcore/luni/src/main/java/javax/crypto/spec/ |
D | DESKeySpec.java | 33 private final byte[] key; field in DESKeySpec 101 public DESKeySpec(byte[] key) throws InvalidKeyException { in DESKeySpec() 117 public DESKeySpec(byte[] key, int offset) throws InvalidKeyException { in DESKeySpec() 153 public static boolean isParityAdjusted(byte[] key, int offset) throws InvalidKeyException { in isParityAdjusted() 190 public static boolean isWeak(byte[] key, int offset) throws InvalidKeyException { in isWeak()
|
D | DESedeKeySpec.java | 33 private final byte[] key; field in DESedeKeySpec 46 public DESedeKeySpec(byte[] key) throws InvalidKeyException { in DESedeKeySpec() 72 public DESedeKeySpec(byte[] key, int offset) throws InvalidKeyException { in DESedeKeySpec() 108 public static boolean isParityAdjusted(byte[] key, int offset) throws InvalidKeyException { in isParityAdjusted()
|
D | SecretKeySpec.java | 42 private final byte[] key; field in SecretKeySpec 57 public SecretKeySpec(byte[] key, String algorithm) { in SecretKeySpec() 93 public SecretKeySpec(byte[] key, int offset, int len, String algorithm) { in SecretKeySpec()
|
/libcore/luni/src/main/java/java/util/prefs/ |
D | Preferences.java | 253 public abstract String get(String key, String deflt); in get() 281 public abstract boolean getBoolean(String key, boolean deflt); in getBoolean() 310 public abstract byte[] getByteArray(String key, byte[] deflt); in getByteArray() 338 public abstract double getDouble(String key, double deflt); in getDouble() 367 public abstract float getFloat(String key, float deflt); in getFloat() 396 public abstract int getInt(String key, int deflt); in getInt() 424 public abstract long getLong(String key, long deflt); in getLong() 559 public abstract void put(String key, String value); in put() 578 public abstract void putBoolean(String key, boolean value); in putBoolean() 603 public abstract void putByteArray(String key, byte[] value); in putByteArray() [all …]
|
D | AbstractPreferences.java | 285 protected abstract String getSpi(String key); in getSpi() 321 protected abstract void removeSpi(String key); in removeSpi() 403 public String get(String key, String deflt) { in get() 420 public boolean getBoolean(String key, boolean deflt) { in getBoolean() 435 public byte[] getByteArray(String key, byte[] deflt) { in getByteArray() 455 public double getDouble(String key, double deflt) { in getDouble() 468 public float getFloat(String key, float deflt) { in getFloat() 481 public int getInt(String key, int deflt) { in getInt() 494 public long getLong(String key, long deflt) { in getLong() 642 public void put(String key, String value) { in put() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | MockKeyAgreementSpi.java | 34 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType() 43 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType() 53 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType() 57 protected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, in engineDoPhase() 80 protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException { in engineInit() 85 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) in engineInit()
|
D | ExemptionMechanismTest.java | 131 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in testIsCryptoAllowed() local 163 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in testGenExemptionBlob() local 244 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_genExemptionBlob() local 282 Key key = new Mock_ExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_genExemptionBlob$B() local 322 Key key = new Mock_ExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_genExemptionBlob$BI() local 419 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_getName() local 434 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_getOutputSizeI() local 457 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_getProvider() local 472 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_initLjava_security_Key() local 506 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); in test_initLjava_security_KeyLjava_security_AlgorithmParameters() local [all …]
|
D | MockMacSpi.java | 30 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType() 39 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType() 49 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType() 58 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, in engineInit()
|
D | ExemptionMechanismSpiTest.java | 66 protected void engineInit(Key key) throws InvalidKeyException, ExemptionMechanismException { in engineInit() 72 …protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, Inva… in engineInit() 78 …protected void engineInit(Key key, AlgorithmParameters params) throws InvalidKeyException, Invalid… in engineInit() 98 Key key = null; in testExemptionMechanismSpi01() local
|
D | KeyAgreementSpiTest.java | 48 protected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException, in engineDoPhase() 71 protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException { in engineInit() 76 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) in engineInit() 107 Key key = null; in testKeyAgreementSpi01() local
|
/libcore/luni/src/main/java/java/util/ |
D | NavigableMap.java | 80 Map.Entry<K,V> lowerEntry(K key); in lowerEntry() 94 K lowerKey(K key); in lowerKey() 109 Map.Entry<K,V> floorEntry(K key); in floorEntry() 123 K floorKey(K key); in floorKey() 138 Map.Entry<K,V> ceilingEntry(K key); in ceilingEntry() 152 K ceilingKey(K key); in ceilingKey() 167 Map.Entry<K,V> higherEntry(K key); in higherEntry() 181 K higherKey(K key); in higherKey()
|
D | Dictionary.java | 56 public abstract V get(Object key); in get() 92 public abstract V put(K key, V value); in put() 105 public abstract V remove(Object key); in remove()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ConcurrentMap.java | 59 V putIfAbsent(K key, V value); in putIfAbsent() 85 boolean remove(Object key, Object value); in remove() 112 boolean replace(K key, V oldValue, V newValue); in replace() 141 V replace(K key, V value); in replace()
|
/libcore/luni/src/main/java/libcore/util/ |
D | BasicLruCache.java | 44 public synchronized final V get(K key) { in get() 70 public synchronized final V put(K key, V value) { in put() 86 K key = toEvict.getKey(); in trimToSize() local 98 protected void entryEvicted(K key, V value) {} in entryEvicted() 105 protected V create(K key) { in create()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | PreferencesTest.java | 279 public String get(String key, String deflt) { in get() 284 public boolean getBoolean(String key, boolean deflt) { in getBoolean() 289 public byte[] getByteArray(String key, byte[] deflt) { in getByteArray() 294 public double getDouble(String key, double deflt) { in getDouble() 299 public float getFloat(String key, float deflt) { in getFloat() 304 public int getInt(String key, int deflt) { in getInt() 309 public long getLong(String key, long deflt) { in getLong() 344 public void put(String key, String value) { in put() 349 public void putBoolean(String key, boolean value) { in putBoolean() 354 public void putByteArray(String key, byte[] value) { in putByteArray() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/interfaces/ |
D | PBEKeyTest.java | 43 checkPBEKey key = new checkPBEKey(); in testField() local 50 checkPBEKey key = new checkPBEKey(); in test_getIterationCount() local 56 checkPBEKey key = new checkPBEKey(); in test_getPassword() local 62 checkPBEKey key = new checkPBEKey(); in test_getSalt() local
|
/libcore/luni/src/main/java/javax/crypto/ |
D | KeyAgreement.java | 192 … private static Engine.SpiAndProvider tryAlgorithm(Key key, Provider provider, String algorithm) { in tryAlgorithm() 213 … private static Engine.SpiAndProvider tryAlgorithmWithProvider(Key key, Provider.Service service) { in tryAlgorithmWithProvider() 235 private KeyAgreementSpi getSpi(Key key) { in getSpi() 267 public final void init(Key key) throws InvalidKeyException { in init() 283 public final void init(Key key, SecureRandom random) in init() 303 public final void init(Key key, AlgorithmParameterSpec params) in init() 325 public final void init(Key key, AlgorithmParameterSpec params, in init() 348 public final Key doPhase(Key key, boolean lastPhase) in doPhase()
|
D | ExemptionMechanismSpi.java | 88 protected abstract void engineInit(Key key) throws InvalidKeyException, in engineInit() 107 protected abstract void engineInit(Key key, AlgorithmParameters params) in engineInit() 127 protected abstract void engineInit(Key key, AlgorithmParameterSpec params) in engineInit()
|
D | KeyAgreementSpi.java | 56 protected abstract Key engineDoPhase(Key key, boolean lastPhase) in engineDoPhase() 118 protected abstract void engineInit(Key key, SecureRandom random) in engineInit() 138 protected abstract void engineInit(Key key, AlgorithmParameterSpec params, in engineInit()
|
/libcore/luni/src/main/java/java/io/ |
D | SerializationHandleMap.java | 53 Object key = oldKeys[i]; in resizeArrays() local 62 public int get(Object key) { in get() 74 private int findIndex(Object key, Object[] array) { in findIndex() 91 private int getModuloHash(Object key, int length) { in getModuloHash() 95 public int put(Object key, int value) { in put() 124 public int remove(Object key) { in remove()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | Security2Test.java | 45 String key = (String) k; in test_getProvidersLjava_lang_String() local 58 String key = (String) entry.getKey(); in test_getProvidersLjava_lang_String() local 96 private boolean isProviderData(String key) { in isProviderData() 100 private boolean isAlias(String key) { in isAlias() 105 String key = k.toUpperCase(); in addOrIncrementTable() local
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
D | MyKeyAgreementSpi.java | 45 protected Key engineDoPhase(Key key, boolean lastPhase) in engineDoPhase() 75 protected void engineInit(Key key, SecureRandom random) in engineInit() 81 protected void engineInit(Key key, AlgorithmParameterSpec params, in engineInit()
|
D | MySecretKeyFactorySpi.java | 47 protected KeySpec engineGetKeySpec(SecretKey key, Class keySpec) in engineGetKeySpec() 53 protected SecretKey engineTranslateKey(SecretKey key) in engineTranslateKey()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | MockCipherSpi.java | 39 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType() 48 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType() 59 public void checkKeyType(Key key) throws InvalidKeyException { in checkKeyType() 97 protected void engineInit(int opmode, Key key, SecureRandom random) throws InvalidKeyException { in engineInit() 102 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() 108 protected void engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) in engineInit()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | SortedMapTestBase.java | 62 int key = rnd.nextInt(N); in testContainsKey() local 91 int key = rnd.nextInt(N); in testGet() local 113 int key = rnd.nextInt(N); in testPut() local 125 int key = rnd.nextInt(N); in testPut0() local 145 int key = rnd.nextInt(N); in testRemove() local 155 int key = ref.tailMap((ref.firstKey() + ref.lastKey()) / 2) in testRemove0() local 194 int key = rnd.nextInt(N); in testHeadMap() local 240 int key = rnd.nextInt(2 * N); in testTailMap() local
|