Home
last modified time | relevance | path

Searched refs:init (Results 1 – 25 of 157) sorted by relevance

1234567

/libcore/support/src/test/java/tests/resources/
Dhyts_security.jar ... publicField protected int protectedField private int privateField public void <init> () protected void <init> (int ...
Djunit4-4.3.1.jar ... .TestSuite { private volatile int fActiveTestDeathCount public void <init> () public void <init> (java ...
Dhyts_patch2.jar ... .lang.Object { String s public void <init> () public void <init> (java
Dhyts_patch.jar ... .lang.Object { String s public void <init> () public void <init> (java
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DSSLContextSpiImpl.java19 private boolean init = false; field in SSLContextSpiImpl
27 init = true; in engineInit()
31 if (!init) { in engineGetSocketFactory()
38 if (!init) { in engineGetServerSocketFactory()
45 if (!init) { in engineGetServerSessionContext()
52 if (!init) { in engineGetClientSessionContext()
68 if (!init) { in engineCreateSSLEngine()
75 if (!init) { in engineCreateSSLEngine()
DMySSLContextSpi.java42 private boolean init = false; field in MySSLContextSpi
49 init = true; in engineInit()
53 if (!init) { in engineGetSocketFactory()
60 if (!init) { in engineGetServerSocketFactory()
67 if (!init) { in engineGetServerSessionContext()
74 if (!init) { in engineGetClientSessionContext()
94 if (!init) { in engineCreateSSLEngine()
101 if (!init) { in engineCreateSSLEngine()
/libcore/support/src/test/java/tests/resources/ServiceLoader/
Dhyts_services.jar ... .resources.ServiceLoader.AbstractService { public void <init> () public java.lang.String myNameIs ...
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DAlgorithmParametersTest.java114 params.init(new MyAlgorithmParameterSpec()); in test_getEncoded()
150 params.init(new MyAlgorithmParameterSpec()); in test_getEncodedLjava_lang_String()
165 params.init(new MyAlgorithmParameterSpec()); in test_getEncodedLjava_lang_String()
177 ap.init(new MyAlgorithmParameterSpec()); in test_getInstanceLjava_lang_String()
203 ap.init(new byte[6]); in test_getInstanceLjava_lang_StringLjava_lang_String()
279 params.init(new MyAlgorithmParameterSpec()); in test_getParameterSpecLjava_lang_Class()
297 params.init(new MyAlgorithmParameterSpec()); in test_getParameterSpecLjava_lang_Class()
311 ap.init(new byte[6], "aaa"); in test_getInstanceLjava_lang_StringLjava_security_Provider()
373 params.init(spec); in test_initLjava_security_spec_AlgorithmParameterSpec()
380 params.init(spec); in test_initLjava_security_spec_AlgorithmParameterSpec()
[all …]
DAlgorithmParameterGenerator2Test.java85 algParGen.init(pp, new SecureRandom()); in checkResult()
86 algParGen.init(pp); in checkResult()
88 algParGen.init(pp, null); in checkResult()
93 algParGen.init(pp, new SecureRandom()); in checkResult()
94 algParGen.init(pp); in checkResult()
96 algParGen.init(0, null); in checkResult()
97 algParGen.init(0, new SecureRandom()); in checkResult()
100 algParGen.init(-10, null); in checkResult()
105 algParGen.init(-10, new SecureRandom()); in checkResult()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherTest.java218 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES, new SecureRandom()); in test_getOutputSizeI()
234 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES); in test_initWithKey()
239 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES); in test_initWithKey()
251 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES, new SecureRandom()); in test_initWithSecureRandom()
255 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES, new SecureRandom()); in test_initWithSecureRandom()
269 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES, ap); in test_initWithAlgorithmParameterSpec()
275 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES, ap); in test_initWithAlgorithmParameterSpec()
283 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_DES, ap); in test_initWithAlgorithmParameterSpec()
298 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES, ap, new SecureRandom()); in test_initWithKeyAlgorithmParameterSpecSecureRandom()
304 cipher.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_3DES, ap, new SecureRandom()); in test_initWithKeyAlgorithmParameterSpecSecureRandom()
[all …]
DExemptionMechanismTest.java73 em.init(null); in testExemptionMechanism()
87 em.init(null); in testExemptionMechanism()
135 em.init(key); in testIsCryptoAllowed()
145 em.init(key1); in testIsCryptoAllowed()
165 em.init(key); in testGenExemptionBlob()
253 em.init(key); in test_genExemptionBlob()
261 em.init(key); in test_genExemptionBlob()
291 em.init(key); in test_genExemptionBlob$B()
331 em.init(key); in test_genExemptionBlob$BI()
443 em.init(key); in test_getOutputSizeI()
[all …]
DKeyAgreementTest.java325 kAgs[i].init(privKey); in testGenerateSecret03()
328 kAgs[i].init(privKey); in testGenerateSecret03()
332 kAgs[i].init(privKey); in testGenerateSecret03()
361 kAgs[i].init(privKey); in testDoPhase()
375 kAgs[i].init(privKey, dhPs); in testDoPhase()
377 kAgs[i].init(privKey, dhPs, random); in testDoPhase()
403 kAgs[i].init(publKey); in testInit01()
408 kAgs[i].init(publKey, new SecureRandom()); in testInit01()
413 kAgs[i].init(publKey, random); in testInit01()
418 kAgs[i].init(publKey, dhPs); in testInit01()
[all …]
DKeyGeneratorTest.java126 keyG.init(params, null); in testKeyGenerator()
131 keyG.init(keysize, null); in testKeyGenerator()
140 keyG.init(params, null); in testKeyGenerator()
145 keyG.init(keysize, null); in testKeyGenerator()
359 kgs[i].init(size[j]); in testInitKey()
366 kgs[i].init(size[j], random); in testInitKey()
391 kgs[i].init(aps); in testInitParams()
396 kgs[i].init(aps, new SecureRandom()); in testInitParams()
429 kgs[i].init(new SecureRandom()); in testGenerateKey()
433 kgs[i].init(defaultKeySize); in testGenerateKey()
[all …]
/libcore/luni/src/main/java/org/xml/sax/
DSAXParseException.java60 init(locator.getPublicId(), locator.getSystemId(), in SAXParseException()
63 init(null, null, -1, -1); in SAXParseException()
87 init(locator.getPublicId(), locator.getSystemId(), in SAXParseException()
90 init(null, null, -1, -1); in SAXParseException()
120 init(publicId, systemId, lineNumber, columnNumber); in SAXParseException()
152 init(publicId, systemId, lineNumber, columnNumber); in SAXParseException()
166 private void init (String publicId, String systemId, in init() method in SAXParseException
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMySSLContextSpi.java43 private boolean init = false; field in MySSLContextSpi
51 init = true; in engineInit()
55 if (!init) { in engineGetSocketFactory()
62 if (!init) { in engineGetServerSocketFactory()
69 if (!init) { in engineGetServerSessionContext()
76 if (!init) { in engineGetClientSessionContext()
96 if (!init) { in engineCreateSSLEngine()
103 if (!init) { in engineCreateSSLEngine()
/libcore/benchmarks/libs/
Dcaliper.jar ... google.caliper.AllocationMeasurer this$0 void <init> (com.google.caliper.AllocationMeasurer, ...
/libcore/support/src/test/java/tests/resources/JarIndex/
Dhyts_23.jar ... extends java.lang.Object { public void <init> () } Main2.class Main2.java
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DCipherSymmetricKeyThread.java43 kg.init(getKeyLength(), new SecureRandom()); in crypt()
56 cip.init(Cipher.ENCRYPT_MODE, key, ivspec); in crypt()
61 cip.init(Cipher.DECRYPT_MODE, key, ivspec); in crypt()
64 cip.init(Cipher.ENCRYPT_MODE, key); in crypt()
67 cip.init(Cipher.DECRYPT_MODE, key); in crypt()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherInputStreamTest.java98 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testAvailable()
107 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testDecrypt_NullInput_Discarded()
120 cipher.init(Cipher.ENCRYPT_MODE, key, iv); in testEncrypt()
132 cipher.init(Cipher.ENCRYPT_MODE, rc4Key); in testEncrypt_RC4()
144 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testDecrypt()
152 cipher.init(Cipher.DECRYPT_MODE, rc4Key); in testDecrypt_RC4()
160 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testSkip()
177 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testCipherInputStream_TruncatedInput_Failure()
185 cipher.init(Cipher.DECRYPT_MODE, key, iv); in testCipherInputStream_NullInputStream_Failure()
/libcore/luni/src/test/java/libcore/java/security/
DOldAlgorithmParameterGeneratorTest.java35 gen.init(valid[i]); in test_initI()
53 gen.init(valid[i], new SecureRandom()); in test_initILjava_security_SecureRandom()
54 gen.init(valid[i], null); in test_initILjava_security_SecureRandom()
/libcore/luni/src/main/java/javax/crypto/
DKeyGenerator.java187 public final void init(AlgorithmParameterSpec params) in init() method in KeyGenerator
204 public final void init(AlgorithmParameterSpec params, SecureRandom random) in init() method in KeyGenerator
216 public final void init(int keysize) { in init() method in KeyGenerator
229 public final void init(int keysize, SecureRandom random) { in init() method in KeyGenerator
240 public final void init(SecureRandom random) { in init() method in KeyGenerator
/libcore/luni/src/test/java/tests/security/cert/
DPKIXCertPathBuilderResultTest.java191 PKIXCertPathBuilderResult init = new PKIXCertPathBuilderResult( in test_clone() local
195 PKIXCertPathBuilderResult clone = (PKIXCertPathBuilderResult) init in test_clone()
197 assertSame(init.getCertPath(), clone.getCertPath()); in test_clone()
198 assertSame(init.getPolicyTree(), clone.getPolicyTree()); in test_clone()
199 assertSame(init.getPublicKey(), clone.getPublicKey()); in test_clone()
200 assertSame(init.getTrustAnchor(), clone.getTrustAnchor()); in test_clone()
/libcore/luni/src/test/resources/org/apache/harmony/luni/tests/java/lang/
DillegalClasses.jar ... .java package TestClass extends TestClass1 { public void <init> () } IllegalClass.class IllegalClass.java
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLContext1Test.java112 sslContext.init(km, tm, new SecureRandom()); in test_ConstructorLjavax_net_ssl_SSLContextSpiLjava_security_ProviderLjava_lang_String()
118 sslContext.init(km, tm, null); in test_ConstructorLjavax_net_ssl_SSLContextSpiLjava_security_ProviderLjava_lang_String()
148 sslContext.init(null, null, new SecureRandom()); in test_createSSLEngine()
163 sslContext.init(null, null, new SecureRandom()); in test_createSSLEngineLjava_lang_StringI()
182 sslC[i].init(null, null, null); in test_getClientSessionContext()
455 kmf.init(null, new char[11]); in test_getServerSessionContext()
458 tmf.init(ks); in test_getServerSessionContext()
461 sslCi.init(kmf.getKeyManagers(), tms, new SecureRandom()); in test_getServerSessionContext()
500 kmf.init(ks, new char[10]); in test_getServerSocketFactory()
503 tmf.init(ks); in test_getServerSocketFactory()
[all …]
/libcore/support/src/test/java/tests/resources/morestuff/
Dhyts_patch2.jar ... .lang.Object { String s public void <init> () public void <init> (java

1234567