Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 37) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DMethodTest.java110 public void publicVoidVarargs(Object... param){} in publicVoidVarargs() argument
111 public void publicVoidArray(Object[] param){} in publicVoidArray() argument
124 public void invokeCastTest1(byte param) { in invokeCastTest1() argument
127 public void invokeCastTest1(short param) { in invokeCastTest1() argument
130 public void invokeCastTest1(int param) { in invokeCastTest1() argument
133 public void invokeCastTest1(long param) { in invokeCastTest1() argument
136 public void invokeCastTest1(float param) { in invokeCastTest1() argument
139 public void invokeCastTest1(double param) { in invokeCastTest1() argument
142 public void invokeCastTest1(char param) { in invokeCastTest1() argument
145 public void invokeCastTest1(boolean param) { in invokeCastTest1() argument
[all …]
DWildcardTypeTest.java33 …GenericMethods> void lowerBoundedParamNoReturn( BoundedWildcardsGenericMethods<? super T> param) {} in lowerBoundedParamNoReturn() argument
35 …nericMethods> void upperBoundedParamNoReturn( BoundedWildcardsGenericMethods<? extends T> param) {} in upperBoundedParamNoReturn() argument
37 …hods> T lowerBoundedParamReturn(BoundedWildcardsGenericMethods<? super T> param) { return (T) new … in lowerBoundedParamReturn() argument
39 …ds> T upperBoundedParamReturn(BoundedWildcardsGenericMethods<? extends T> param) { return (T) new … in upperBoundedParamReturn() argument
DGenericMethodsTests.java34 public <T> void paramNoReturn(T param) {} in paramNoReturn() argument
39 public <T> T paramReturn(T param) {return param;} in paramReturn() argument
/libcore/luni/src/main/java/javax/net/ssl/
DCertPathTrustManagerParameters.java30 private final CertPathParameters param; field in CertPathTrustManagerParameters
40 param = (CertPathParameters) parameters.clone(); in CertPathTrustManagerParameters()
49 return (CertPathParameters) param.clone(); in getParameters()
/libcore/luni/src/test/java/tests/security/interfaces/
DDSAKeyTest.java36 DSAParams param = new DSAParameterSpec(Util.P, Util.Q, Util.G); in test_getParams() local
39 gen.initialize((DSAParameterSpec) param); in test_getParams()
44 assertDSAParamsEquals(param, key.getParams()); in test_getParams()
48 assertDSAParamsEquals(param, key.getParams()); in test_getParams()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DKeyStoreBuilderParametersTest.java78 String[] param = {"Parameter1", "Parameter2", "Parameter3"}; in test_getParameters() local
80 for (int i = 0; i < param.length; i++) { in test_getParameters()
81 ls.add(param[i]); in test_getParameters()
91 assertEquals(res.length, param.length); in test_getParameters()
93 assertEquals(param[i], res[i]); in test_getParameters()
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/
DEngine.java132 public SpiAndProvider getInstance(String algorithm, Object param) in getInstance() argument
141 … return new SpiAndProvider(services.get(0).newInstance(param), services.get(0).getProvider()); in getInstance()
149 public SpiAndProvider getInstance(Provider.Service service, String param) in getInstance() argument
151 return new SpiAndProvider(service.newInstance(param), service.getProvider()); in getInstance()
176 public Object getInstance(String algorithm, Provider provider, Object param) in getInstance() argument
185 return service.newInstance(param); in getInstance()
/libcore/luni/src/main/java/java/security/
DKeyPairGenerator.java190 public void initialize(AlgorithmParameterSpec param) in initialize() argument
192 initialize(param, RANDOM); in initialize()
245 public void initialize(AlgorithmParameterSpec param, SecureRandom random) in initialize() argument
282 public void initialize(AlgorithmParameterSpec param, SecureRandom random) in initialize() argument
284 spiImpl.initialize(param, random); in initialize()
DKeyStoreSpi.java254 public void engineStore(KeyStore.LoadStoreParameter param) in engineStore() argument
297 public void engineLoad(KeyStore.LoadStoreParameter param) in engineLoad() argument
299 if (param == null) { in engineLoad()
304 KeyStore.ProtectionParameter pp = param.getProtectionParameter(); in engineLoad()
DKeyStore.java560 public final void store(LoadStoreParameter param) throws KeyStoreException, in store() argument
565 implSpi.engineStore(param); in store()
611 public final void load(LoadStoreParameter param) throws IOException, in load() argument
613 implSpi.engineLoad(param); in load()
637 public final Entry getEntry(String alias, ProtectionParameter param) in getEntry() argument
645 return implSpi.engineGetEntry(alias, param); in getEntry()
668 ProtectionParameter param) throws KeyStoreException { in setEntry() argument
678 implSpi.engineSetEntry(alias, entry, param); in setEntry()
DSignatureSpi.java264 protected abstract void engineSetParameter(String param, Object value) in engineSetParameter() argument
305 protected abstract Object engineGetParameter(String param) in engineGetParameter() argument
DSignature.java579 public final void setParameter(String param, Object value) in setParameter() argument
581 engineSetParameter(param, value); in setParameter()
622 public final Object getParameter(String param) in getParameter() argument
624 return engineGetParameter(param); in getParameter()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSignatureSpiTest.java95 protected Object engineGetParameter(String param) in testEngineGetParameters()
113 protected void engineSetParameter(String param, Object value) in testEngineGetParameters()
148 public Object engineGetParameter(String param) { in engineGetParameter() argument
162 public void engineSetParameter(String param, Object value) { in engineSetParameter() argument
182 public Object engineGetParameter(String param) { in engineGetParameter() argument
196 public void engineSetParameter(String param, Object value) { in engineSetParameter() argument
223 protected Object engineGetParameter(String param) in engineGetParameter() argument
243 protected void engineSetParameter(String param, Object value) in engineSetParameter() argument
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyKeyPairGenerator1.java82 public void initialize(AlgorithmParameterSpec param, SecureRandom random) in initialize() argument
87 if (param == null) { in initialize()
90 paramSpec = param; in initialize()
DTestKeyStoreSpi.java162 public void engineLoad(LoadStoreParameter param) throws IOException, in engineLoad() argument
164 if (param == null) { in engineLoad()
169 ProtectionParameter pParam = param.getProtectionParameter(); in engineLoad()
241 public void engineStore(LoadStoreParameter param) throws IOException, in engineStore() argument
243 if (param == null) { in engineStore()
247 ProtectionParameter pParam = param.getProtectionParameter(); in engineStore()
DMySignature2.java75 protected void engineSetParameter(String param, Object value) in engineSetParameter() argument
80 protected Object engineGetParameter(String param) in engineGetParameter() argument
DMySignature1.java103 protected void engineSetParameter(String param, Object value) in engineSetParameter() argument
108 protected Object engineGetParameter(String param) in engineGetParameter() argument
DMyKeyStore.java225 public void engineStore(KeyStore.LoadStoreParameter param) in engineStore() argument
227 if (param == null) { in engineStore()
232 public void engineLoad(KeyStore.LoadStoreParameter param) in engineLoad() argument
234 if (!(param instanceof MyLoadStoreParams)) { in engineLoad()
235 throw new IllegalArgumentException("param is not MyLoadStoreParams: " + param); in engineLoad()
/libcore/luni/src/test/java/libcore/java/lang/
DClassTest.java27 public void foo(T param); in foo() argument
31 public void bar(T param); in bar() argument
/libcore/luni/src/test/java/tests/java/security/
DAlgorithmParameterGeneratorSpiTest.java48 AlgorithmParameters param = algParGen.engineGenerateParameters(); in testAlgorithmParameterGeneratorSpi01() local
49 assertNull("Not null parameters", param); in testAlgorithmParameterGeneratorSpi01()
/libcore/luni/src/main/java/javax/crypto/
DExemptionMechanism.java259 public final void init(Key key, AlgorithmParameters param) in init() argument
263 spiImpl.engineInit(key, param); in init()
284 public final void init(Key key, AlgorithmParameterSpec param) in init() argument
288 spiImpl.engineInit(key, param); in init()
/libcore/luni/src/test/java/libcore/java/security/
DMockSignatureSpi.java99 protected void engineSetParameter(String param, Object value) throws InvalidParameterException { in engineSetParameter() argument
107 protected Object engineGetParameter(String param) throws InvalidParameterException { in engineGetParameter() argument
/libcore/luni/src/test/java/tests/targets/security/
DSignatureTestMD2withRSA.java139 protected Object engineGetParameter(String param) in engineGetParameter() argument
155 protected void engineSetParameter(String param, Object value) in engineSetParameter() argument
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DOldGenericReflectionCornerCases.java36 void wildcardEquality(Pair<? extends T, ? extends T> param) {} in wildcardEquality() argument
79 void wildcardUnEquality(Pair<? extends T, ? super T> param) {} in wildcardUnEquality() argument
121 void multipleBoundedWildcardUnEquality(Pair<? extends T, ? super T> param) {} in multipleBoundedWildcardUnEquality() argument
176 void multipleBoundedWildcardEquality(Pair<? extends T, ? extends T> param) {} in multipleBoundedWildcardEquality() argument
/libcore/luni/src/main/java/java/util/logging/
DLogger.java707 public void entering(String sourceClass, String sourceMethod, Object param) { in entering() argument
716 record.setParameters(new Object[] { param }); in entering()
938 public void log(Level logLevel, String msg, Object param) { in log() argument
945 record.setParameters(new Object[] { param }); in log()
1086 String msg, Object param) { in logp() argument
1095 record.setParameters(new Object[] { param }); in logp()
1218 String bundleName, String msg, Object param) { in logrb() argument
1235 record.setParameters(new Object[] { param }); in logrb()

12