Home
last modified time | relevance | path

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

/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 …]
DFtpURLConnectionTest.java340 public List<Proxy> select(URI uri) { in select() method in FtpURLConnectionTest.SingleProxySelector
DSocketTest.java449 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.java46 assertEquals(1, selector.select()); in testNonBlockingConnect_immediate()
60 int count = selector.select(); in testInterrupted()
77 selector.select(); in testManyWakeupCallsTriggerOnlyOneWakeup()
84 selector.select(); in testManyWakeupCallsTriggerOnlyOneWakeup()
132 assertEquals(1, selector.select()); in test_57456()
134 assertEquals(0, selector.select()); in test_57456()
167 assertEquals(1, selector.select(100)); in test28318596()
168 assertEquals(0, selector.select(100)); in test28318596()
192 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.java92 public int select(long timeout) in select() method in SelectorImpl
100 public int select() throws IOException { in select() method in SelectorImpl
101 return select(0); in select()
/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/annotations/hiddenapi/sun/nio/ch/
DSelectorImpl.java54 public int select(long timeout) throws java.io.IOException { in select() method in SelectorImpl
58 public int select() throws java.io.IOException { in select() method in SelectorImpl
/libcore/ojluni/src/main/java/java/net/
DProxySelector.java146 public abstract List<Proxy> select(URI uri); in select() method in ProxySelector
/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.h84 #define NET_Select select
Dlinux_close.cpp177 select(s, readfds, writefds, exceptfds, timeout) ); in NET_Select()
/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/spi/
DDefaultProxySelector.java154 public java.util.List<Proxy> select(URI uri) { in select() method in DefaultProxySelector
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DFtpURLConnection.java243 Iterator<Proxy> it = sel.select(uri).iterator(); in connect()
/libcore/expectations/
Dknownfailures.txt669 description: "Does throw an exception on non select statement.",
699 description: "Does not return null on update count > 0 (not a select statement)",
1271 "libcore.xml.JaxenXPathTestSuite$3#xml/evaluate.xml / //metatest[ evaluate(@select) = . ]",