Home
last modified time | relevance | path

Searched refs:select (Results 1 – 25 of 28) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/net/
DProxySelectorTest.java66 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(ftpUri)); in testNoProxySystemProperty()
67 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(httpUri)); in testNoProxySystemProperty()
68 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(httpsUri)); in testNoProxySystemProperty()
69 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(socketUri)); in testNoProxySystemProperty()
70 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(otherUri)); in testNoProxySystemProperty()
80 proxySelector.select(ftpUri)); in testProxyHostOnly()
82 proxySelector.select(httpUri)); in testProxyHostOnly()
84 proxySelector.select(httpsUri)); in testProxyHostOnly()
85 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(otherUri)); in testProxyHostOnly()
86 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(socketUri)); in testProxyHostOnly()
[all …]
DSocketTest.java402 public List<Proxy> select(URI uri) { in testSocketWithProxySet()
DOldURLTest.java577 public List<Proxy> select(URI uri) { in select() method in OldURLTest.MockProxySelector
/libcore/luni/src/test/java/libcore/xml/
DJaxenXPathTestSuite.java119 String select = element.getAttribute("select"); in contextToTestSuite() local
120 Context context = new Context(inputSource, url, select); in contextToTestSuite()
152 final String select = element.getAttribute("select"); in createFromTest() local
156 return new XPathTest(context, select) { in createFromTest()
159 xpath.evaluate(select, contextNode); in createFromTest()
173 return new XPathTest(context, select) { in createFromTest()
176 select, contextNode, XPathConstants.NODE); in createFromTest()
186 return new XPathTest(context, select) { in createFromTest()
189 select, contextNode, XPathConstants.NODESET); in createFromTest()
204 final String select = element.getAttribute("select");
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DProxySelectorTest.java113 proxyList = selector.select(httpUri); in test_selectLjava_net_URI_SelectExact()
129 proxyList = selector.select(httpUri); in test_selectLjava_net_URI_SelectExact()
132 proxyList = selector.select(httpsUri); in test_selectLjava_net_URI_SelectExact()
135 proxyList = selector.select(ftpUri); in test_selectLjava_net_URI_SelectExact()
138 proxyList = selector.select(tcpUri); in test_selectLjava_net_URI_SelectExact()
154 proxyList = selector.select(httpUri); in test_selectLjava_net_URI_SelectExact_NullHost()
170 proxyList = selector.select(httpUri); in test_selectLjava_net_URI_SelectExact_NullHost()
174 proxyList = selector.select(httpsUri); in test_selectLjava_net_URI_SelectExact_NullHost()
178 proxyList = selector.select(ftpUri); in test_selectLjava_net_URI_SelectExact_NullHost()
182 proxyList = selector.select(tcpUri); in test_selectLjava_net_URI_SelectExact_NullHost()
[all …]
DURLTest.java1114 public List<Proxy> select(URI uri) { in select() method in URLTest.MockProxySelector
/libcore/luni/src/test/java/libcore/java/nio/channels/
DSelectorTest.java47 assertEquals(1, selector.select()); in testNonBlockingConnect_immediate()
65 assertEquals(1, selector.select()); in testNonBlockingConnect_slow()
79 int count = selector.select(); in testInterrupted()
96 selector.select(); in testManyWakeupCallsTriggerOnlyOneWakeup()
103 selector.select(); in testManyWakeupCallsTriggerOnlyOneWakeup()
151 assertEquals(1, selector.select()); in test_57456()
153 assertEquals(0, selector.select()); in test_57456()
186 assertEquals(1, selector.select(100)); in test28318596()
187 assertEquals(0, selector.select(100)); in test28318596()
211 assertEquals(0, selector.select(500)); in test28318596()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DUnixSelectorTest.java69 assertEquals(1, sel0.select(100)); in testSelectorAcceptAndRead()
73 assertEquals(0, sel1.select(100)); in testSelectorAcceptAndRead()
89 assertEquals(1, sel2.select(100)); in testSelectorAcceptAndRead()
98 assertEquals(1, sel3.select(100)); in testSelectUnConnectedChannel()
106 assertEquals(1, sel4.select(100)); in testSelectUnConnectedChannel()
112 assertEquals(1, sel5.select(100)); in testSelectUnConnectedChannel()
DSelectorTest.java260 selector.select(-1); in test_selectJ_Exception()
268 selector.select(WAIT_TIME); in test_selectJ_Timeout()
279 selector.select(SELECT_TIMEOUT_MS); in test_selectJ_Empty_Keys()
384 assertEquals(0, selector.select(5000)); // blocks
448 selector.select();
664 ret = selector.select(); in selectOnce()
667 ret = selector.select(timeout); in selectOnce()
DSelectionKeyTest.java301 selector.select(); in test_readyOps()
/libcore/ojluni/src/main/java/java/nio/channels/
DSelector.java329 public abstract int select(long timeout) in select() method in Selector
350 public abstract int select() throws IOException; in select() method in Selector
/libcore/ojluni/src/main/java/sun/nio/ch/
DSelectorImpl.java93 public int select(long timeout) in select() method in SelectorImpl
101 public int select() throws IOException { in select() method in SelectorImpl
102 return select(0); in select()
DServerSocketAdaptor.java121 int ns = sel.select(to); in accept()
DSocketAdaptor.java123 int ns = sel.select(to); in connect()
238 int ns = sel.select(to); in read()
DDatagramSocketAdaptor.java195 int ns = sel.select(to); in receive()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
DMockAbstractSelector.java77 public int select(long arg0) throws IOException { in select() method in MockAbstractSelector
81 public int select() throws IOException { in select() method in MockAbstractSelector
/libcore/ojluni/src/main/java/java/net/
DProxySelector.java147 public abstract List<Proxy> select(URI uri); in select() method in ProxySelector
DSocksSocketImpl.java627 iProxy = sel.select(uri).iterator(); in socksBind()
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetMetaDataTest.java285 String select = "select * from DecimalNumbers;"; in testGetPrecision() local
293 rs = st3.executeQuery(select); in testGetPrecision()
350 String select = "select * from DecimalNumbers;"; in testGetScale() local
356 rs = st.executeQuery(select); in testGetScale()
DOldStatementTest.java1001 String select = "select * from zoo"; in testSetCursorName() local
1014 String select = "select * from zoo"; in testSetEscapeProcessing() local
1176 String select = "select * from zoo where id == 4;"; in testGetResultSet() local
1179 st.execute(select); in testGetResultSet()
/libcore/ojluni/src/main/native/
Dnet_util_md.h78 #define NET_Select select
Dlinux_close.cpp170 select(s, readfds, writefds, exceptfds, timeout) ); in NET_Select()
/libcore/ojluni/src/main/java/sun/net/spi/
DDefaultProxySelector.java127 public java.util.List<Proxy> select(URI uri) { in select() method in DefaultProxySelector
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
DHttpURLConnectionTest.java140 public java.util.List<Proxy> select(URI uri) { in select() method in HttpURLConnectionTest.TestProxySelector
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DFtpURLConnection.java235 Iterator<Proxy> it = sel.select(uri).iterator(); in connect()

12