Searched defs:params (Results 1 - 25 of 95) sorted by path

1234

/libcore/libart/src/main/java/java/lang/reflect/
H A DAbstractMethod.java294 protected boolean equalMethodParameters(Class<?>[] params) { argument
297 if (types.length != params.length) {
301 if (declaringClassOfOverriddenMethod.getDexCacheType(dex, types[i]) != params[i]) {
308 protected int compareParameters(Class<?>[] params) { argument
311 int length = Math.min(types.length, params.length);
314 Class<?> bType = params[i];
322 return types.length - params.length;
/libcore/luni/src/test/java/libcore/java/security/
H A DProviderTest.java617 public MyCertStoreSpi(CertStoreParameters params) throws InvalidAlgorithmParameterException { argument
618 super(params);
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DMockCipherSpi.java110 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, argument
116 protected void engineInit(int opmode, Key key, AlgorithmParameters params, argument
130 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, argument
136 protected void engineInit(int opmode, Key key, AlgorithmParameters params, argument
150 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, argument
156 protected void engineInit(int opmode, Key key, AlgorithmParameters params, argument
172 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, argument
180 protected void engineInit(int opmode, Key key, AlgorithmParameters params, argument
240 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, argument
243 checkAlgorithmParameterSpec(params);
247 engineInit(int opmode, Key key, AlgorithmParameters params, SecureRandom random) argument
[all...]
H A DMockKeyAgreementSpi.java87 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) argument
H A DMockMacSpi.java68 protected void engineInit(Key key, AlgorithmParameterSpec params) argument
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DCipherSpiTest.java89 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, argument
91 super.engineInit(opmode, key, params, random);
95 protected void engineInit(int opmode, Key key, AlgorithmParameters params, argument
97 super.engineInit(opmode, key, params, random);
345 AlgorithmParameterSpec params, SecureRandom random)
349 protected void engineInit(int opmode, Key key, AlgorithmParameters params, argument
344 engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) argument
H A DExemptionMechanismSpiTest.java72 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException, ExemptionMechanismException { argument
73 super.engineInit(key, params);
78 protected void engineInit(Key key, AlgorithmParameters params) throws InvalidKeyException, InvalidAlgorithmParameterException, ExemptionMechanismException { argument
79 super.engineInit(key, params);
99 AlgorithmParameters params = null;
107 emSpi.engineInit(key, params);
123 emSpi.engineInit(key, params);
H A DKeyAgreementSpiTest.java76 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) argument
78 super.engineInit(key, params, random);
113 AlgorithmParameterSpec params = null;
115 kaSpi.engineInit(key, params, new SecureRandom());
H A DKeyGeneratorSpiTest.java53 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) argument
55 super.engineInit(params, random);
H A DMacSpiTest.java57 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { argument
58 super.engineInit(key, params);
91 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { argument
92 super.engineInit(key, params);
130 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException { argument
131 super.engineInit(key, params);
238 protected void engineInit(Key key, AlgorithmParameterSpec params) argument
H A DMockKeyAgreementSpi.java85 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) argument
H A DMockMacSpi.java58 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, argument
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
H A DMyCipher.java89 AlgorithmParameterSpec params, SecureRandom random)
94 protected void engineInit(int opmode, Key key, AlgorithmParameters params, argument
88 engineInit(int opmode, Key key, AlgorithmParameterSpec params, SecureRandom random) argument
H A DMyExemptionMechanismSpi.java77 protected void engineInit(Key key, AlgorithmParameters params) argument
86 if (params == null) {
87 throw new InvalidAlgorithmParameterException("params is null");
92 protected void engineInit(Key key, AlgorithmParameterSpec params) argument
101 if (params == null) {
102 throw new InvalidAlgorithmParameterException("params is null");
H A DMyKeyAgreementSpi.java81 protected void engineInit(Key key, AlgorithmParameterSpec params, argument
H A DMyKeyGeneratorSpi.java46 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) argument
48 if (params == null) {
49 throw new InvalidAlgorithmParameterException("params is null");
H A DMyMacSpi.java47 protected void engineInit(Key key, AlgorithmParameterSpec params) argument
49 if (params == null) {
51 throw new IllegalArgumentException("params is null and key is SecretKeySpec");
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DAlgorithmParametersSpiTest.java55 protected void engineInit(byte[] params){ argument
57 protected void engineInit(byte[] params, String format){ argument
H A DAlgorithmParametersTest.java98 AlgorithmParameters params = new DummyAlgorithmParameters(paramSpi, p,
105 params.getEncoded();
114 params.init(new MyAlgorithmParameterSpec());
115 assertSame(enc, params.getEncoded());
134 AlgorithmParameters params = new DummyAlgorithmParameters(paramSpi, p,
141 params.getEncoded(strFormatParam);
150 params.init(new MyAlgorithmParameterSpec());
151 assertSame(enc, params.getEncoded(strFormatParam));
164 params = new DummyAlgorithmParameters(paramSpi, p, "algorithm");
165 params
714 engineInit(byte[] params) argument
717 engineInit(byte[] params, String format) argument
[all...]
H A DSignatureSpiTest.java279 protected void engineSetParameter(AlgorithmParameterSpec params) argument
H A DSignatureTest.java614 protected void engineSetParameter(AlgorithmParameterSpec params) argument
616 if (params == null) {
/libcore/luni/src/test/java/tests/security/
H A DCertPathBuilderTest.java26 private CertPathParameters params; field in class:CertPathBuilderTest
36 params = getCertPathParameters();
46 CertPathBuilderResult builderResult = pathBuilder.build(params);
/libcore/luni/src/test/java/tests/security/cert/
H A DCertStore1Test.java182 * Test for <code>getInstance(String type, CertStoreParameters params)</code> method
207 * Test for <code>getInstance(String type, CertStoreParameters params)</code> method
224 * <code>getInstance(String type, CertStoreParameters params, String provider)</code>
250 * <code>getInstance(String type, CertStoreParameters params, String provider)</code>
270 * <code>getInstance(String type, CertStoreParameters params, String provider)</code>
297 * <code>getInstance(String type, CertStoreParameters params, String provider)</code>
315 * <code>getInstance(String type, CertStoreParameters params, Provider provider)</code>
333 * Test for <code>getInstance(String type, CertStoreParameters params, Provider provider)</code> method
359 * <code>getInstance(String type, CertStoreParameters params, Provider provider)</code>
506 public myCertStore(CertStoreSpi spi, Provider prov, String type, CertStoreParameters params) { argument
[all...]
H A DCertStore2Test.java344 public MyCertStoreSpi(CertStoreParameters params) argument
346 super(params);
347 if (params != null && !(params instanceof MyCertStoreParameters)) {
/libcore/luni/src/test/java/tests/security/spec/
H A DECPublicKeySpecTest.java31 ECParameterSpec params; field in class:ECPublicKeySpecTest
43 params = new ECParameterSpec(curve, ecpoint, BigInteger.valueOf(1), 1);
44 ecpks = new ECPublicKeySpec(w, params);
49 params = null;
59 * case 3: catch NullPointerException - if params is null.
64 assertEquals("wrong params value", params, ecpks.getParams());
69 new ECPublicKeySpec(null, params);
75 // case 3: catch NullPointerException - if params is null.
95 assertEquals("wrong params valu
[all...]

Completed in 329 milliseconds

1234