/libcore/luni/src/test/java/libcore/java/net/ |
D | ProxySelectorTest.java | 66 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 …]
|
D | SocketTest.java | 402 public List<Proxy> select(URI uri) { in testSocketWithProxySet()
|
D | OldURLTest.java | 577 public List<Proxy> select(URI uri) { in select() method in OldURLTest.MockProxySelector
|
/libcore/luni/src/test/java/libcore/xml/ |
D | JaxenXPathTestSuite.java | 119 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/ |
D | ProxySelectorTest.java | 113 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 …]
|
D | URLTest.java | 1114 public List<Proxy> select(URI uri) { in select() method in URLTest.MockProxySelector
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SelectorTest.java | 47 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/ |
D | UnixSelectorTest.java | 69 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()
|
D | SelectorTest.java | 260 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()
|
D | SelectionKeyTest.java | 301 selector.select(); in test_readyOps()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | Selector.java | 329 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/ |
D | SelectorImpl.java | 93 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()
|
D | ServerSocketAdaptor.java | 121 int ns = sel.select(to); in accept()
|
D | SocketAdaptor.java | 123 int ns = sel.select(to); in connect() 238 int ns = sel.select(to); in read()
|
D | DatagramSocketAdaptor.java | 195 int ns = sel.select(to); in receive()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
D | MockAbstractSelector.java | 77 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/ |
D | ProxySelector.java | 147 public abstract List<Proxy> select(URI uri); in select() method in ProxySelector
|
D | SocksSocketImpl.java | 627 iProxy = sel.select(uri).iterator(); in socksBind()
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldResultSetMetaDataTest.java | 285 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()
|
D | OldStatementTest.java | 1001 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/ |
D | net_util_md.h | 78 #define NET_Select select
|
D | linux_close.cpp | 170 select(s, readfds, writefds, exceptfds, timeout) ); in NET_Select()
|
/libcore/ojluni/src/main/java/sun/net/spi/ |
D | DefaultProxySelector.java | 127 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/ |
D | HttpURLConnectionTest.java | 140 public java.util.List<Proxy> select(URI uri) { in select() method in HttpURLConnectionTest.TestProxySelector
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
D | FtpURLConnection.java | 235 Iterator<Proxy> it = sel.select(uri).iterator(); in connect()
|