Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 40) 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/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/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/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/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.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()
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/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
384 if (param == null) { in engineLoad()
389 if (param instanceof KeyStore.SimpleLoadStoreParameter) { in engineLoad()
390 ProtectionParameter protection = param.getProtectionParameter(); in engineLoad()
DSignature.java1010 public final void setParameter(String param, Object value) in setParameter() argument
1012 engineSetParameter(param, value); in setParameter()
1074 public final Object getParameter(String param) in getParameter() argument
1076 return engineGetParameter(param); in getParameter()
1439 protected void engineSetParameter(String param, Object value) in engineSetParameter() argument
1442 sigSpi.engineSetParameter(param, value); in engineSetParameter()
1451 protected Object engineGetParameter(String param) in engineGetParameter() argument
1454 return sigSpi.engineGetParameter(param); in engineGetParameter()
1552 protected void engineSetParameter(String param, Object value) in engineSetParameter() argument
1557 protected Object engineGetParameter(String param) in engineGetParameter() argument
DSignatureSpi.java307 protected abstract void engineSetParameter(String param, Object value) in engineSetParameter() argument
374 protected abstract Object engineGetParameter(String param) in engineGetParameter() argument
DKeyStore.java1439 public final void store(LoadStoreParameter param) in store() argument
1445 keyStoreSpi.engineStore(param); in store()
1514 public final void load(LoadStoreParameter param) in load() argument
1518 keyStoreSpi.engineLoad(param); in load()
1966 LoadStoreParameter param = new SimpleLoadStoreParameter(protection); in newInstance()
1968 ks.load(param); in newInstance()
1976 ks.load(param); in newInstance()
/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.java60 protected void engineSetParameter(String param, Object value) in engineSetParameter() argument
65 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
/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/test/java/tests/targets/security/
DSignatureTestMD2withRSA.java136 protected Object engineGetParameter(String param) in engineGetParameter() argument
152 protected void engineSetParameter(String param, Object value) in engineSetParameter() argument
/libcore/ojluni/src/main/java/sun/security/util/
DDisabledAlgorithmConstraints.java153 public boolean checkProperty(String param) { in checkProperty() argument
154 param = param.toLowerCase(Locale.ENGLISH); in checkProperty()
156 if (block.toLowerCase(Locale.ENGLISH).indexOf(param) >= 0) { in checkProperty()

12