Home
last modified time | relevance | path

Searched refs:interfaces (Results 1 – 25 of 61) sorted by relevance

123

/libcore/libart/src/main/java/java/lang/reflect/
DProxy.java109 public static Class<?> getProxyClass(ClassLoader loader, Class<?>... interfaces) in getProxyClass() argument
115 if (interfaces == null) { in getProxyClass()
121 final List<Class<?>> interfaceList = new ArrayList<Class<?>>(interfaces.length); in getProxyClass()
122 Collections.addAll(interfaceList, interfaces); in getProxyClass()
133 if (interfaceSet.size() != interfaces.length) { in getProxyClass()
145 for (Class<?> c : interfaces) { in getProxyClass()
165 List<Method> methods = getMethods(interfaces); in getProxyClass()
185 result = generateProxy(name, interfaces, loader, methodsArray, exceptionsArray); in getProxyClass()
223 public static Object newProxyInstance(ClassLoader loader, Class<?>[] interfaces, in newProxyInstance() argument
232 return getProxyClass(loader, interfaces) in newProxyInstance()
[all …]
/libcore/luni/src/main/java/java/net/
DNetworkInterface.java304 NetworkInterface[] interfaces = new NetworkInterface[interfaceNames.length]; in getNetworkInterfacesList() local
305 boolean[] done = new boolean[interfaces.length]; in getNetworkInterfacesList()
309 interfaces[i] = NetworkInterface.getByNameInternal(interfaceNames[i], ifInet6Lines); in getNetworkInterfacesList()
312 if (interfaces[i] == null) { in getNetworkInterfacesList()
318 for (int counter = 0; counter < interfaces.length; counter++) { in getNetworkInterfacesList()
325 for (int counter2 = counter; counter2 < interfaces.length; counter2++) { in getNetworkInterfacesList()
329 if (interfaces[counter2].name.startsWith(interfaces[counter].name + ":")) { in getNetworkInterfacesList()
330 interfaces[counter].children.add(interfaces[counter2]); in getNetworkInterfacesList()
331 interfaces[counter2].parent = interfaces[counter]; in getNetworkInterfacesList()
332 interfaces[counter].addresses.addAll(interfaces[counter2].addresses); in getNetworkInterfacesList()
[all …]
/libcore/luni/src/test/java/tests/security/interfaces/
DDSAPrivateKeyTest.java16 package tests.security.interfaces;
23 import java.security.interfaces.DSAPrivateKey;
24 import java.security.interfaces.DSAPublicKey;
DDSAKeyTest.java17 package tests.security.interfaces;
22 import java.security.interfaces.DSAKey;
23 import java.security.interfaces.DSAParams;
DDSAPublicKeyTest.java16 package tests.security.interfaces;
23 import java.security.interfaces.DSAPrivateKey;
24 import java.security.interfaces.DSAPublicKey;
DDSAKeyPairGeneratorTest.java17 package tests.security.interfaces;
22 import java.security.interfaces.DSAKeyPairGenerator;
23 import java.security.interfaces.DSAParams;
28 import org.apache.harmony.security.tests.support.interfaces.DSAKeyPairGeneratorImpl;
DRSAPublicKeyTest.java16 package tests.security.interfaces;
22 import java.security.interfaces.RSAPublicKey;
DRSAPrivateKeyTest.java16 package tests.security.interfaces;
22 import java.security.interfaces.RSAPrivateKey;
DDSAParamsTest.java16 package tests.security.interfaces;
21 import java.security.interfaces.DSAParams;
DRSAKeyTest.java16 package tests.security.interfaces;
22 import java.security.interfaces.RSAKey;
DRSAPrivateCrtKeyTest.java16 package tests.security.interfaces;
21 import java.security.interfaces.RSAPrivateCrtKey;
DRSAMultiPrimePrivateCrtKeyTest.java17 package tests.security.interfaces;
22 import java.security.interfaces.RSAMultiPrimePrivateCrtKey;
25 import org.apache.harmony.security.tests.support.interfaces.RSAMultiPrimePrivateCrtKeyImpl;
/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java92 Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces(); in test_bind_nullBindsToAll() local
93 while (interfaces.hasMoreElements()) { in test_bind_nullBindsToAll()
94 NetworkInterface nic = interfaces.nextElement(); in test_bind_nullBindsToAll()
123 Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces(); in test_bind_loopback() local
124 while (interfaces.hasMoreElements()) { in test_bind_loopback()
125 NetworkInterface nic = interfaces.nextElement(); in test_bind_loopback()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/
DDSAKeyPairGeneratorImpl.java18 package org.apache.harmony.security.tests.support.interfaces;
20 import java.security.interfaces.DSAKeyPairGenerator;
23 import java.security.interfaces.DSAParams;
DRSAMultiPrimePrivateCrtKeyImpl.java18 package org.apache.harmony.security.tests.support.interfaces;
20 import java.security.interfaces.RSAMultiPrimePrivateCrtKey;
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/interfaces/
DDHPublicKeyTest.java23 package org.apache.harmony.crypto.tests.javax.crypto.interfaces;
33 import javax.crypto.interfaces.DHKey;
34 import javax.crypto.interfaces.DHPublicKey;
DDHPrivateKeyTest.java23 package org.apache.harmony.crypto.tests.javax.crypto.interfaces;
29 import javax.crypto.interfaces.DHKey;
30 import javax.crypto.interfaces.DHPrivateKey;
DPBEKeyTest.java23 package org.apache.harmony.crypto.tests.javax.crypto.interfaces;
29 import javax.crypto.interfaces.PBEKey;
/libcore/luni/src/main/java/java/security/interfaces/
DDSAKey.java19 package java.security.interfaces;
DRSAKey.java18 package java.security.interfaces;
DECKey.java18 package java.security.interfaces;
DDSAParams.java18 package java.security.interfaces;
DECPrivateKey.java18 package java.security.interfaces;
/libcore/luni/src/main/java/javax/crypto/interfaces/
DDHKey.java18 package javax.crypto.interfaces;
DPBEKey.java18 package javax.crypto.interfaces;

123