Home
last modified time | relevance | path

Searched refs:uc (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java209 URLConnection uc;
224 uc = url.openConnection();
240 ((HttpURLConnection) uc).disconnect();
252 uc.setRequestProperty("prop", "yo");
253 uc.setRequestProperty("prop", "yo2");
254 assertEquals("yo2", uc.getRequestProperty("prop"));
255 Map<String, List<String>> map = uc.getRequestProperties();
256 List<String> props = uc.getRequestProperties().get("prop");
310 uc.setAllowUserInteraction(false);
311 assertFalse(uc.getAllowUserInteraction());
[all …]
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
DHandler.java87 URLConnection uc; in openConnection() local
94 uc = ru.openConnection(p); in openConnection()
96 uc = ru.openConnection(); in openConnection()
99 uc = null; in openConnection()
101 if (uc == null) { in openConnection()
105 return uc; in openConnection()
/libcore/ojluni/src/main/java/sun/misc/
DURLClassPath.java724 URLConnection uc = url.openConnection();
725 if (uc instanceof HttpURLConnection) {
726 HttpURLConnection hconn = (HttpURLConnection)uc;
733 uc.setUseCaches(false);
734 InputStream is = uc.getInputStream();
750 final URLConnection uc;
755 uc = url.openConnection();
756 InputStream in = uc.getInputStream();
757 if (uc instanceof JarURLConnection) {
761 JarURLConnection juc = (JarURLConnection)uc;
[all …]
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DJarFileFactory.java154 URLConnection uc = getConnection(jarFile); in getPermission() local
155 if (uc != null) in getPermission()
156 return uc.getPermission(); in getPermission()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStringTest.java36 Constructor<String> uc;
38 uc = String.class.getDeclaredConstructor(new Class[] { int.class,
40 uc.setAccessible(true);
42 uc = null;
44 UNSAFE_CONSTRUCTOR = uc;
/libcore/ojluni/src/main/native/
Dnet_util_md.c674 unsigned int u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,ua,ub,uc,ud,ue,uf;
681 &u8,&u9,&ua,&ub,&uc,&ud,&ue,&uf,
695 staddr[12] = (unsigned char)uc;
/libcore/ojluni/src/main/java/java/net/
DURLConnection.java1817 public Object getContent(URLConnection uc) throws IOException { in getContent() argument
1818 return uc.getInputStream(); in getContent()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCollectionsTest.java1944 Collection uc = Collections.unmodifiableCollection(al); in test_unmodifiable_toString_methods() local
1945 assertEquals("[a, b]", uc.toString()); in test_unmodifiable_toString_methods()