Searched refs:setProperty (Results 1 - 25 of 62) sorted by relevance

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DProxySelectorTest.java117 System.setProperty("http.proxyHost", HTTP_PROXY_HOST);
118 System.setProperty("http.proxyPort", String.valueOf(HTTP_PROXY_PORT));
120 System.setProperty("https.proxyHost", HTTPS_PROXY_HOST);
121 System.setProperty("https.proxyPort", String.valueOf(HTTPS_PROXY_PORT));
123 System.setProperty("ftp.proxyHost", FTP_PROXY_HOST);
124 System.setProperty("ftp.proxyPort", String.valueOf(FTP_PROXY_PORT));
126 System.setProperty("socksProxyHost", SOCKS_PROXY_HOST);
127 System.setProperty("socksProxyPort", String.valueOf(SOCKS_PROXY_PORT));
158 System.setProperty("http.proxyHost", HTTP_PROXY_HOST);
159 System.setProperty("htt
[all...]
H A DInetAddressThreadTest.java130 System.setProperty("networkaddress.cache.ttl", "0");
169 System.setProperty("networkaddress.cache.ttl", "-1");
171 System.setProperty("networkaddress.cache.ttl",
/libcore/luni/src/test/java/libcore/java/net/
H A DProxySelectorTest.java74 System.setProperty("ftp.proxyHost", "a");
75 System.setProperty("http.proxyHost", "b");
76 System.setProperty("https.proxyHost", "c");
77 System.setProperty("other.proxyHost", "d");
78 System.setProperty("socket.proxyHost", "d");
90 System.setProperty("ftp.proxyHost", "a");
91 System.setProperty("ftp.proxyPort", "1001");
92 System.setProperty("http.proxyHost", "b");
93 System.setProperty("http.proxyPort", "1002");
94 System.setProperty("http
[all...]
H A DURLStreamHandlerFactoryTest.java92 System.setProperty("java.protocol.handler.pkgs", getHandlerPackageName());
111 System.setProperty("java.protocol.handler.pkgs", getHandlerPackageName());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
H A DParserFactoryTest.java44 System.setProperty("org.xml.sax.parser", "foo.bar.SAXParser");
54 System.setProperty("org.xml.sax.parser",
65 System.setProperty("org.xml.sax.parser",
76 System.setProperty("org.xml.sax.parser",
87 System.setProperty("org.xml.sax.parser",
H A DXMLReaderFactoryTest.java43 System.setProperty("org.xml.sax.driver", "foo.bar.XMLReader");
52 System.setProperty("org.xml.sax.driver",
62 System.setProperty("org.xml.sax.driver",
72 System.setProperty("org.xml.sax.driver",
84 System.setProperty("org.xml.sax.driver",
/libcore/luni/src/test/java/libcore/java/lang/
H A DSystemTest.java41 System.setProperty("line.separator", "poop");
64 System.setProperty("line.separator", "\n");
159 System.setProperty("user.dir", "not poop");
162 System.getProperties().setProperty("user.dir", "hmmph");
169 p.setProperty("user.dir", "meh");
182 System.setProperty("user.home", "/user/home");
185 System.setProperty("user.home", oldUserHome);
195 System.setProperty("p1", "v1");
211 newProperties.setProperty("user.dir", "v1");
213 newProperties.setProperty("p
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DPropertiesTest.java154 myProps.setProperty("Abba", "Cadabra");
155 myProps.setProperty("Open", "Sesame");
156 myProps.setProperty("LongProperty",
184 myProps.setProperty("Abba", "Cadabra");
185 myProps.setProperty("Open", "Sesame");
186 myProps.setProperty("LongProperty",
513 properties.setProperty(keys[index], values[index]);
562 defaults.setProperty(defaultKeys[index], defaultValues[index]);
570 properties.setProperty(keys[index], values[index]);
590 defaults.setProperty(defaultKey
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
H A DDoNothingXMLReader.java76 public void setProperty(String name, Object value) { method in class:DoNothingXMLReader
H A DNoAccessXMLReader.java76 public void setProperty(String name, Object value) { method in class:NoAccessXMLReader
H A DNoSubclassXMLReader.java76 public void setProperty(String name, Object value) { method in class:NoSubclassXMLReader
H A DNoInstanceXMLReader.java79 public void setProperty(String name, Object value) { method in class:NoInstanceXMLReader
H A DMockFilter.java70 public void setProperty(String name, Object value) throws SAXNotRecognizedException, method in class:MockFilter
/libcore/luni/src/main/java/org/xml/sax/
H A DXMLReader.java180 * @see #setProperty
211 public void setProperty (String name, Object value)
210 public void setProperty (String name, Object value) method in interface:XMLReader
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DTestUtils.java76 properties.setProperty(key, value);
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
H A DSAXParserImpl.java105 public void setProperty(String name, Object value) method in class:SAXParserImpl
107 reader.setProperty(name, value);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DBooleanTest.java76 System.setProperty(getClass().getName(), "true");
79 System.setProperty(getClass().getName(), "TRUE");
82 System.setProperty(getClass().getName(), "false");
H A DSystemTest.java213 * java.lang.System#setProperty(java.lang.String, java.lang.String)
217 // java.lang.System.setProperty(java.lang.String, java.lang.String)
219 assertNull("Failed to return null", System.setProperty("testing",
221 assertTrue("Failed to return old value", System.setProperty("testing",
228 System.setProperty("", "default");
/libcore/luni/src/main/java/javax/xml/validation/
H A DValidator.java406 public void setProperty(String name, Object object) throws SAXNotRecognizedException, SAXNotSupportedException { method in class:Validator
437 * @see #setProperty(String, Object)
H A DValidatorHandler.java415 public void setProperty(String name, Object object) throws SAXNotRecognizedException, SAXNotSupportedException { method in class:ValidatorHandler
446 * @see #setProperty(String, Object)
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DSecurityTest.java391 Security.setProperty("myprop","test white space ");
396 * java.security.Security#setProperty(String,String)
401 Security.setProperty(null, "");
407 Security.setProperty("", null);
412 Security.setProperty("", "");
415 Security.setProperty("My Test Property", "My property value");
/libcore/benchmarks/src/benchmarks/
H A DBufferedZipFileBenchmark.java38 System.setProperty("java.io.tmpdir", "/data/local/tmp");
H A DZipFileBenchmark.java38 System.setProperty("java.io.tmpdir", "/data/local/tmp");
/libcore/xml/src/main/java/org/xmlpull/v1/
H A DXmlPullParser.java443 void setProperty(String name, method in interface:XmlPullParser
H A DXmlSerializer.java76 void setProperty(String name, method in interface:XmlSerializer

Completed in 434 milliseconds

123