Home
last modified time | relevance | path

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

123

/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/ojluni/src/main/java/java/sql/
DParameterMetaData.java67 int isNullable(int param) throws SQLException; in isNullable() argument
95 boolean isSigned(int param) throws SQLException; in isSigned() argument
112 int getPrecision(int param) throws SQLException; in getPrecision() argument
123 int getScale(int param) throws SQLException; in getScale() argument
134 int getParameterType(int param) throws SQLException; in getParameterType() argument
145 String getParameterTypeName(int param) throws SQLException; in getParameterTypeName() argument
161 String getParameterClassName(int param) throws SQLException; in getParameterClassName() argument
195 int getParameterMode(int param) throws SQLException; in getParameterMode() argument
/libcore/ojluni/src/test/java/lang/invoke/common/test/java/lang/invoke/lib/
DHelper.java222 private static Object randomArg(Class<?> param) { in randomArg() argument
223 Object wrap = castToWrapperOrNull(nextArg(param), param); in randomArg()
228 if (param.isInterface()) { in randomArg()
229 for (Class<?> c : param.getClasses()) { in randomArg()
230 if (param.isAssignableFrom(c) && !c.isInterface()) { in randomArg()
231 param = c; in randomArg()
236 if (param.isArray()) { in randomArg()
237 Class<?> ctype = param.getComponentType(); in randomArg()
242 if (param.isInterface() && param.isAssignableFrom(List.class)) { in randomArg()
245 if (param.isInterface() || param.isAssignableFrom(String.class)) { in randomArg()
[all …]
/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/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/ojluni/src/main/java/sun/security/jca/
DGetInstance.java185 String algorithm, Object param) throws NoSuchAlgorithmException { in getInstance() argument
190 return getInstance(s, clazz, param); in getInstance()
210 String algorithm, Object param, String provider) in getInstance() argument
212 return getInstance(getService(type, algorithm, provider), clazz, param); in getInstance()
222 String algorithm, Object param, Provider provider) in getInstance() argument
224 return getInstance(getService(type, algorithm, provider), clazz, param); in getInstance()
242 Object param) throws NoSuchAlgorithmException { in getInstance() argument
243 Object instance = s.newInstance(param); in getInstance()
/libcore/ojluni/src/test/java/lang/invoke/
DInvokeGenericTest.java198 static Object randomArg(Class<?> param) { in randomArg() argument
199 Object wrap = castToWrapperOrNull(nextArg(param), param); in randomArg()
209 if (param.isInterface()) { in randomArg()
210 for (Class<?> c : param.getClasses()) { in randomArg()
211 if (param.isAssignableFrom(c) && !c.isInterface()) in randomArg()
212 { param = c; break; } in randomArg()
215 if (param.isInterface() || param.isAssignableFrom(String.class)) in randomArg()
219 return param.newInstance(); in randomArg()
230 static Object[] randomArgs(int nargs, Class<?> param) { in randomArgs() argument
233 args[i] = randomArg(param); in randomArgs()
[all …]
DMethodHandlesTest.java240 static Object randomArg(Class<?> param) { in randomArg() argument
241 Object wrap = castToWrapperOrNull(nextArg(param), param); in randomArg()
251 if (param.isInterface()) { in randomArg()
252 for (Class<?> c : param.getClasses()) { in randomArg()
253 if (param.isAssignableFrom(c) && !c.isInterface()) in randomArg()
254 { param = c; break; } in randomArg()
257 if (param.isArray()) { in randomArg()
258 Class<?> ctype = param.getComponentType(); in randomArg()
263 if (param.isInterface() && param.isAssignableFrom(List.class)) in randomArg()
265 if (param.isInterface() || param.isAssignableFrom(String.class)) in randomArg()
[all …]
/libcore/ojluni/src/main/java/java/security/
DKeyStoreSpi.java318 public void engineStore(KeyStore.LoadStoreParameter param) in engineStore() argument
380 public void engineLoad(KeyStore.LoadStoreParameter param) in engineLoad() argument
383 engineLoad(null, param); in engineLoad()
386 void engineLoad(InputStream stream, KeyStore.LoadStoreParameter param) in engineLoad() argument
390 if (param == null) { in engineLoad()
395 if (param instanceof KeyStore.SimpleLoadStoreParameter) { in engineLoad()
396 ProtectionParameter protection = param.getProtectionParameter(); in engineLoad()
DSignature.java1014 public final void setParameter(String param, Object value) in setParameter() argument
1016 engineSetParameter(param, value); in setParameter()
1078 public final Object getParameter(String param) in getParameter() argument
1080 return engineGetParameter(param); in getParameter()
1443 protected void engineSetParameter(String param, Object value) in engineSetParameter() argument
1446 sigSpi.engineSetParameter(param, value); in engineSetParameter()
1455 protected Object engineGetParameter(String param) in engineGetParameter() argument
1458 return sigSpi.engineGetParameter(param); in engineGetParameter()
1556 protected void engineSetParameter(String param, Object value) in engineSetParameter() argument
1561 protected Object engineGetParameter(String param) in engineGetParameter() argument
DKeyStore.java1460 public final void store(LoadStoreParameter param) in store() argument
1466 keyStoreSpi.engineStore(param); in store()
1535 public final void load(LoadStoreParameter param) in load() argument
1539 keyStoreSpi.engineLoad(param); in load()
1767 LoadStoreParameter param) throws KeyStoreException, IOException, in getInstance() argument
1769 return getInstance(file, null, param, false); in getInstance()
1774 LoadStoreParameter param, boolean hasPassword) in getInstance() argument
1835 keystore.keyStoreSpi.engineLoad(dataStream, param); in getInstance()
2226 LoadStoreParameter param = new SimpleLoadStoreParameter(protection); in newInstance()
2228 ks.load(param); in newInstance()
[all …]
DSignatureSpi.java307 protected abstract void engineSetParameter(String param, Object value) in engineSetParameter() argument
374 protected abstract Object engineGetParameter(String param) in engineGetParameter() argument
/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/
DTestKeyStoreSpi.java179 public void engineLoad(LoadStoreParameter param) throws IOException, in engineLoad() argument
181 if (param == null) { in engineLoad()
186 ProtectionParameter pParam = param.getProtectionParameter(); in engineLoad()
258 public void engineStore(LoadStoreParameter param) throws IOException, in engineStore() argument
260 if (param == null) { in engineStore()
264 ProtectionParameter pParam = param.getProtectionParameter(); in engineStore()
DMyKeyPairGenerator1.java82 public void initialize(AlgorithmParameterSpec param, SecureRandom random) in initialize() argument
87 if (param == null) { in initialize()
90 paramSpec = param; in initialize()
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()
DMySignature1.java103 protected void engineSetParameter(String param, Object value) in engineSetParameter() argument
108 protected Object engineGetParameter(String param) in engineGetParameter() 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/test/java/libcore/java/security/cert/
DFakeOidProvider.java64 protected void engineSetParameter(String param, Object value) in engineSetParameter() argument
69 protected Object engineGetParameter(String param) throws InvalidParameterException { in engineGetParameter() argument
/libcore/ojluni/src/main/java/java/lang/reflect/
DExecutable.java154 String param = params[j].getTypeName(); in sharedToGenericString() local
156 param = param.replaceFirst("\\[\\]$", "..."); in sharedToGenericString()
157 sb.append(param); in sharedToGenericString()
296 final Parameter param = params[i]; in getAllGenericParameterTypes() local
297 if (param.isSynthetic() || param.isImplicit()) { in getAllGenericParameterTypes()
/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/ojluni/annotations/hiddenapi/java/security/
DSignature.java143 public final void setParameter(java.lang.String param, java.lang.Object value) in setParameter() argument
158 public final java.lang.Object getParameter(java.lang.String param) in getParameter() argument
239 protected void engineSetParameter(java.lang.String param, java.lang.Object value) in engineSetParameter() argument
244 protected java.lang.Object engineGetParameter(java.lang.String param) in engineGetParameter() argument
346 protected void engineSetParameter(java.lang.String param, java.lang.Object value) in engineSetParameter() argument
356 protected java.lang.Object engineGetParameter(java.lang.String param) in engineGetParameter() argument
/libcore/ojluni/annotations/hiddenapi/sun/security/jca/
DGetInstance.java83 java.lang.Object param) in getInstance() argument
102 java.lang.Object param, in getInstance() argument
122 java.lang.Object param, in getInstance() argument
135 java.security.Provider.Service s, java.lang.Class<?> clazz, java.lang.Object param) in getInstance() argument

123