Searched defs:impl (Results 1 - 18 of 18) sorted by relevance

/libcore/support/src/test/java/tests/resources/ServiceLoader/
H A Dhyts_services.jar ... resources.ServiceLoader.ServiceMoreThanOne tests/ tests/resources/ tests/resources/impl/ tests/resources/impl/ImplementationOfAbstractService.class ImplementationOfAbstractService.java package ...
H A Dhyts_services2.jar ... resources.ServiceLoader.ServiceIn2File tests/ tests/resources/ tests/resources/impl/ tests/resources/impl/ImplementationOfServiceIn2File2.class ImplementationOfServiceIn2File2.java package ...
/libcore/jsr166-tests/src/test/java/jsr166/
H A DCollection8Test.java31 final CollectionImplementation impl; field in class:Collection8Test
34 Collection8Test(CollectionImplementation impl, String methodName) { argument
36 this.impl = impl;
39 public static Test testSuite(CollectionImplementation impl) { argument
42 impl);
49 final Collection c = impl.emptyCollection();
51 final Object x = impl.makeElement(1);
52 final Object y = impl.makeElement(2);
76 if (!impl
[all...]
H A DCollectionTest.java19 final CollectionImplementation impl; field in class:CollectionTest
22 CollectionTest(CollectionImplementation impl, String methodName) { argument
24 this.impl = impl;
27 public static Test testSuite(CollectionImplementation impl) { argument
31 impl),
34 impl));
39 assertTrue(impl.emptyCollection().isEmpty());
40 assertEquals(0, impl.emptyCollection().size());
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
H A DDefaultFtpClientProvider.java25 package sun.net.ftp.impl;
35 return sun.net.ftp.impl.FtpClient.create();
H A DFtpClient.java25 package sun.net.ftp.impl;
/libcore/ojluni/src/main/java/java/net/
H A DSocketOutputStream.java51 private AbstractPlainSocketImpl impl = null; field in class:SocketOutputStream
59 * @param impl the socket output stream inplemented
61 SocketOutputStream(AbstractPlainSocketImpl impl) throws IOException { argument
62 super(impl.getFileDescriptor());
63 this.impl = impl;
64 socket = impl.getSocket();
113 FileDescriptor fd = impl.acquireFD();
120 impl.setConnectionResetPending();
123 if (impl
[all...]
H A DSocketInputStream.java53 private AbstractPlainSocketImpl impl = null; field in class:SocketInputStream
61 * @param impl the implemented socket input stream
63 SocketInputStream(AbstractPlainSocketImpl impl) throws IOException { argument
64 super(impl.getFileDescriptor());
65 this.impl = impl;
66 socket = impl.getSocket();
144 return read(b, off, length, impl.getTimeout());
156 if (impl.isConnectionReset()) {
172 FileDescriptor fd = impl
[all...]
H A DServerSocket.java64 private SocketImpl impl; field in class:ServerSocket
75 ServerSocket(SocketImpl impl) { argument
76 this.impl = impl;
77 impl.setServerSocket(this);
260 return impl;
264 if (impl == null)
272 impl.getClass().getDeclaredMethod("connect",
285 impl = factory.createSocketImpl();
290 impl
[all...]
H A DDatagramSocket.java86 DatagramSocketImpl impl; field in class:DatagramSocket
108 * ST_CONNECTED_NO_IMPL = socket connected but not at impl level
164 if (oldImpl || (impl instanceof AbstractPlainDatagramSocketImpl &&
165 ((AbstractPlainDatagramSocketImpl)impl).nativeConnectDisabled())) {
171 // socket is now connected by the impl
223 * @param impl an instance of a <B>DatagramSocketImpl</B>
227 protected DatagramSocket(DatagramSocketImpl impl) { argument
228 if (impl == null)
230 this.impl = impl;
[all...]
H A DInetAddress.java275 static final InetAddressImpl impl = new Inet6AddressImpl(); field in class:InetAddress
284 return impl.lookupAllHostAddr(host, netId);
288 return impl.getHostByAddr(addr);
457 // Android-changed: Document that impl tries ICMP ECHO REQUESTs first.
485 // Android-changed: Document that impl tries ICMP ECHO REQUESTs first.
527 return impl.isReachable(this, timeout, netif, ttl);
535 return ((Inet6AddressImpl) impl).icmpEcho(this, timeout, null, 0);
763 static InetAddressImpl impl;
890 unknown_array[0] = impl.anyLocalAddress();
892 addressCache.put(impl
[all...]
H A DSocket.java71 SocketImpl impl; field in class:Socket
143 // impl = type == Proxy.Type.SOCKS ? new SocksSocketImpl(p)
145 impl = new SocksSocketImpl(p);
146 impl.setSocket(this);
150 impl = new PlainSocketImpl();
151 impl.setSocket(this);
163 * @param impl an instance of a <B>SocketImpl</B>
170 protected Socket(SocketImpl impl) throws SocketException { argument
171 this.impl = impl;
[all...]
/libcore/ojluni/src/main/java/sun/security/jca/
H A DGetInstance.java52 public final Object impl; field in class:GetInstance.Instance
53 private Instance(Provider provider, Object impl) { argument
55 this.impl = impl;
60 return new Object[] {impl, provider};
/libcore/dom/src/test/java/org/w3c/domts/
H A DLSDocumentBuilderFactory.java34 private final DOMImplementation impl; field in class:LSDocumentBuilderFactory
279 impl = (DOMImplementation) getDOMImplementationMethod.invoke(domRegistry,
281 Method createLSParserMethod = impl.getClass().getMethod("createLSParser",
283 parser = createLSParserMethod.invoke(impl,
349 return impl;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DServerSocketTest.java978 public MockSocket(SocketImpl impl) throws SocketException { argument
979 super(impl);
H A DDatagramSocketTest.java505 public TestDatagramSocket(DatagramSocketImpl impl) { argument
506 super(impl);
597 public SimpleTestDatagramSocket(DatagramSocketImpl impl) {
598 super(impl);
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DDocumentImpl.java75 public DocumentImpl(DOMImplementationImpl impl, String namespaceURI, argument
79 this.domImplementation = impl;
/libcore/luni/src/test/java/libcore/java/net/
H A DOldSocketTest.java462 public TestSocket(SocketImpl impl) throws SocketException { argument
463 super(impl);
1836 // Calling sendUrgentData on a closed socket should not allocate a new impl and leak resources.
1849 // Calling getTrafficClass on a closed socket should not allocate a new impl and leak resources.

Completed in 361 milliseconds