/libcore/luni/src/test/java/libcore/java/net/ |
H A D | ProxySelectorTest.java | 66 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(ftpUri)); 67 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(httpUri)); 68 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(httpsUri)); 69 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(socketUri)); 70 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(otherUri)); 80 proxySelector.select(ftpUri)); 82 proxySelector.select(httpUri)); 84 proxySelector.select(httpsUri)); 85 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(otherUri)); 86 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(socketUr [all...] |
H A D | OldURLTest.java | 577 public List<Proxy> select(URI uri) { method in class:OldURLTest.MockProxySelector
|
/libcore/luni/src/test/java/libcore/xml/ |
H A D | JaxenXPathTestSuite.java | 109 * <context select="..."> 119 String select = element.getAttribute("select"); 120 Context context = new Context(inputSource, url, select); 152 final String select = element.getAttribute("select"); 154 /* Such as <test exception="true" select="..." count="0"/> */ 156 return new XPathTest(context, select) { 159 xpath.evaluate(select, contextNode); 167 /* a <test> with a nested <valueOf>, both of which have select attribute 220 private final String select; field in class:JaxenXPathTestSuite.Context 222 Context(InputSource inputSource, String url, String select) argument 250 private final String select; field in class:JaxenXPathTestSuite.XPathTest 252 XPathTest(Context context, String select) argument [all...] |
/libcore/luni/src/main/java/java/nio/channels/ |
H A D | Selector.java | 31 * By invoking the {@code select} method, the key set is checked and all keys 32 * that have been canceled since last select operation are moved to the set of 33 * canceled keys. During the select operation, the channels registered with this 57 * Closes this selector. Ongoing calls to the {@code select} methods of this 107 public abstract int select() throws IOException; method in class:Selector 127 public abstract int select(long timeout) throws IOException; method in class:Selector 155 * Forces blocked {@code select} operations to return immediately. 157 * If no {@code select} operation is blocked when {@code wakeup()} is called 158 * then the next {@code select} operation will return immediately. This can 160 * {@code selectNow()}, a subsequent call of {@code select} ca [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | ProxySelectorTest.java | 108 * java.net.ProxySelector#select(URI) 113 proxyList = selector.select(httpUri); 129 proxyList = selector.select(httpUri); 132 proxyList = selector.select(httpsUri); 135 proxyList = selector.select(ftpUri); 138 proxyList = selector.select(tcpUri); 144 * java.net.ProxySelector#select(URI) 154 proxyList = selector.select(httpUri); 170 proxyList = selector.select(httpUri); 174 proxyList = selector.select(httpsUr 540 public List<Proxy> select(URI uri) { method in class:ProxySelectorTest.MockProxySelector [all...] |
H A D | URLTest.java | 1114 public List<Proxy> select(URI uri) { method in class:URLTest.MockProxySelector
|
/libcore/luni/src/main/java/java/net/ |
H A D | ProxySelector.java | 117 public abstract List<Proxy> select(URI uri); method in class:ProxySelector
|
H A D | ProxySelectorImpl.java | 31 @Override public List<Proxy> select(URI uri) { method in class:ProxySelectorImpl
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | SelectorTest.java | 47 assertEquals(1, selector.select()); 65 assertEquals(1, selector.select()); 90 assertEquals(0, selector.select()); 98 int count = selector.select(); 115 selector.select(); 117 // create a latch that will reach 0 when select returns 122 selector.select(); 130 // select doesn't ever return, so await() times out and returns false 170 assertEquals(1, selector.select()); 172 assertEquals(0, selector.select()); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | UnixSelectorTest.java | 69 assertEquals(1, sel0.select(100)); 73 assertEquals(0, sel1.select(100)); 89 assertEquals(1, sel2.select(100)); 98 assertEquals(1, sel3.select(100)); 106 assertEquals(1, sel4.select(100)); 112 assertEquals(1, sel5.select(100));
|
H A D | SelectorTest.java | 215 * @tests java.nio.channel.Selector#select() 225 * @tests java.nio.channel.Selector#select() 232 * @tests java.nio.channel.Selector#select(long) 247 * @tests java.nio.channel.Selector#select(long) 256 * @tests java.nio.channel.Selector#select(long) 260 selector.select(-1); 267 // make sure select(timeout) doesn't block 268 selector.select(WAIT_TIME); 273 // make sure select(long) does wait for specified amount of 279 selector.select(SELECT_TIMEOUT_M [all...] |
H A D | SelectionKeyTest.java | 301 selector.select();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
H A D | MockAbstractSelector.java | 77 public int select(long arg0) throws IOException { method in class:MockAbstractSelector 81 public int select() throws IOException { method in class:MockAbstractSelector
|
/libcore/luni/src/main/native/ |
H A D | libcore_icu_NativePluralRules.cpp | 59 UnicodeString keyword = toPluralRules(address)->select(value);
|
/libcore/luni/src/test/java/libcore/java/sql/ |
H A D | OldResultSetMetaDataTest.java | 37 String query = "select * from zoo"; 240 String query = "select name, animal_id from hutch, zoo where zoo.id = 1" ; 285 String select = "select * from DecimalNumbers;"; 293 rs = st3.executeQuery(select); 350 String select = "select * from DecimalNumbers;"; 356 rs = st.executeQuery(select);
|
H A D | OldStatementTest.java | 81 st.execute("select animals from zoo"); 111 st.execute("select animals from zoooo"); 128 st.execute("select animals from zoooo"); 140 st.execute("select horse from zoooooo"); 222 "select animal_id, address from hutch where animal_id=1;", 223 "create view address as select address from hutch where animal_id=2", 248 "select animal_id, from hutch where animal_id=1;", 276 "select animal_id, address from hutch where animal_id=1;", 277 "create view address as select address from hutch where animal_id=2", 384 st.executeQuery("select * fro [all...] |
/libcore/luni/src/main/java/java/nio/ |
H A D | SelectorImpl.java | 81 * time select returns, wakeupIn is drained. 151 @Override public int select() throws IOException { method in class:SelectorImpl 156 @Override public int select(long timeout) throws IOException { method in class:SelectorImpl
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
H A D | HttpURLConnectionTest.java | 140 public java.util.List<Proxy> select(URI uri) { method in class:HttpURLConnectionTest.TestProxySelector
|
/libcore/luni/src/main/java/libcore/net/url/ |
H A D | FtpURLConnection.java | 168 // Use system-wide ProxySelect to select proxy list, 177 proxyList = selector.select(uri);
|
/libcore/benchmarks/libs/ |
H A D | caliper.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ... |