Searched refs:impl (Results 1 - 12 of 12) sorted by relevance

/libcore/luni/src/main/java/java/net/
H A DServerSocket.java36 private final SocketImpl impl; field in class:ServerSocket
42 return impl;
57 this.impl = factory != null ? factory.createSocketImpl()
59 impl.create(true);
93 this.impl = factory != null ? factory.createSocketImpl()
98 impl.create(true);
100 impl.bind(addr, port);
102 impl.listen(backlog > 0 ? backlog : DEFAULT_BACKLOG);
150 impl.close();
163 return impl
[all...]
H A DMulticastSocket.java82 InetAddress ipvXaddress = (InetAddress) impl.getOption(SocketOptions.IP_MULTICAST_IF);
109 int index = (Integer) impl.getOption(SocketOptions.IP_MULTICAST_IF2);
123 return impl.getTimeToLive();
135 return impl.getTTL();
149 impl.join(groupAddr);
169 impl.joinGroup(groupAddress, netInterface);
184 impl.leave(groupAddr);
202 impl.leaveGroup(groupAddress, netInterface);
252 impl.send(packet);
257 impl
[all...]
H A DDatagramSocket.java37 DatagramSocketImpl impl; field in class:DatagramSocket
111 impl.close();
122 impl.disconnect();
129 impl = factory != null ? factory.createDatagramSocketImpl()
131 impl.create();
133 impl.bind(aPort, addr);
166 return impl.getLocalAddress();
182 return impl.getLocalPort();
209 return ((Integer) impl.getOption(SocketOptions.SO_RCVBUF)).intValue();
217 return ((Integer) impl
[all...]
H A DSocket.java33 final SocketImpl impl; field in class:Socket
56 this.impl = factory != null ? factory.createSocketImpl() : new PlainSocketImpl();
84 this.impl = factory != null ? factory.createSocketImpl() : new PlainSocketImpl(proxy);
280 * @param impl
285 protected Socket(SocketImpl impl) throws SocketException { argument
286 this.impl = impl;
316 impl.close();
327 return impl.getInetAddress();
343 return impl
[all...]
/libcore/luni/src/main/java/java/util/
H A DTimer.java324 private final TimerImpl impl; field in class:Timer.FinalizerHelper
326 FinalizerHelper(TimerImpl impl) { argument
327 this.impl = impl;
332 synchronized (impl) {
333 impl.finished = true;
334 impl.notify();
349 private final TimerImpl impl; field in class:Timer
367 this.impl = new TimerImpl(name, isDaemon);
368 this.finalizer = new FinalizerHelper(impl);
[all...]
/libcore/luni/src/main/java/java/nio/
H A DServerSocketChannelImpl.java42 private final SocketImpl impl; field in class:ServerSocketChannelImpl
51 this.impl = socket.getImpl$();
93 IoUtils.setBlocking(impl.getFD$(), blocking);
104 return impl.getFD$();
/libcore/luni/src/test/java/libcore/java/net/
H A DSocketTest.java176 public MySocket(SocketImpl impl) throws SocketException {
177 super(impl);
181 MySocketImpl impl = new MySocketImpl();
182 Socket s = new MySocket(impl);
187 assertEquals(Boolean.FALSE, (Boolean) impl.value);
191 assertEquals(true, impl.createCalled);
193 assertEquals(Boolean.FALSE, (Boolean) impl.value);
195 assertEquals(Boolean.FALSE, (Boolean) impl.value);
199 assertEquals(Integer.valueOf(0), (Integer) impl.value);
201 assertEquals(Integer.valueOf(1), (Integer) impl
[all...]
H A DOldDatagramSocketTest.java1065 public testDatagramSocket(DatagramSocketImpl impl){
1066 super(impl);
1161 public testDatagramSocket(DatagramSocketImpl impl){
1162 super(impl);
H A DOldSocketTest.java460 public TestSocket(SocketImpl impl) throws SocketException { argument
461 super(impl);
/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/luni/src/main/java/java/util/prefs/
H A DPreferences.java111 for (PreferencesFactory impl : ServiceLoader.load(PreferencesFactory.class)) {
112 return impl;
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DDocumentImpl.java76 public DocumentImpl(DOMImplementationImpl impl, String namespaceURI, argument
80 this.domImplementation = impl;

Completed in 120 milliseconds