Home
last modified time | relevance | path

Searched refs:select (Results 1 – 21 of 21) 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 …]
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()
90 assertEquals(0, selector.select()); in testEINTR()
98 int count = selector.select(); in testInterrupted()
115 selector.select(); in testManyWakeupCallsTriggerOnlyOneWakeup()
122 selector.select(); in testManyWakeupCallsTriggerOnlyOneWakeup()
170 assertEquals(1, selector.select()); in test_57456()
172 assertEquals(0, selector.select()); in test_57456()
/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/luni/src/main/java/java/nio/channels/
DSelector.java107 public abstract int select() throws IOException; in select() method in Selector
127 public abstract int select(long timeout) throws IOException; in select() method in Selector
/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/luni/src/main/java/java/net/
DProxySelector.java117 public abstract List<Proxy> select(URI uri); in select() method in ProxySelector
DProxySelectorImpl.java31 @Override public List<Proxy> select(URI uri) { in select() method in ProxySelectorImpl
/libcore/luni/src/main/native/
Dlibcore_icu_NativePluralRules.cpp59 UnicodeString keyword = toPluralRules(address)->select(value); in NativePluralRules_quantityForIntImpl()
/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/luni/src/main/java/java/nio/
DSelectorImpl.java151 @Override public int select() throws IOException { in select() method in SelectorImpl
156 @Override public int select(long timeout) throws IOException { in select() method in SelectorImpl
/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/luni/src/main/java/libcore/net/url/
DFtpURLConnection.java177 proxyList = selector.select(uri); in connect()
/libcore/expectations/
Dknownfailures.txt664 description: "Does throw an exception on non select statement.",
694 description: "Does not return null on update count > 0 (not a select statement)",
1266 "libcore.xml.JaxenXPathTestSuite$3#xml/evaluate.xml / //metatest[ evaluate(@select) = . ]",
/libcore/benchmarks/libs/
Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...