Home
last modified time | relevance | path

Searched refs:setProperty (Results 1 – 25 of 73) sorted by relevance

123

/dalvik/vm/
DProperties.c103 static void setProperty(Object* propObj, Method* put, const char* key, in setProperty() function
153 setProperty(propObj, put, "java.boot.class.path", gDvm.bootClassPathStr); in dvmCreateDefaultProperties()
154 setProperty(propObj, put, "java.class.path", gDvm.classPathStr); in dvmCreateDefaultProperties()
155 setProperty(propObj, put, "java.class.version", "46.0"); in dvmCreateDefaultProperties()
156 setProperty(propObj, put, "java.compiler", ""); in dvmCreateDefaultProperties()
157 setProperty(propObj, put, "java.ext.dirs", ""); in dvmCreateDefaultProperties()
160 setProperty(propObj, put, "java.home", getenv("JAVA_HOME")); in dvmCreateDefaultProperties()
162 setProperty(propObj, put, "java.home", "/system"); in dvmCreateDefaultProperties()
165 setProperty(propObj, put, "java.io.tmpdir", "/tmp"); in dvmCreateDefaultProperties()
166 setProperty(propObj, put, "java.library.path", getenv("LD_LIBRARY_PATH")); in dvmCreateDefaultProperties()
[all …]
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
DProxySelectorTest.java208 System.setProperty("http.proxyHost", HTTP_PROXY_HOST); in test_selectLjava_net_URI_SelectExact()
209 System.setProperty("http.proxyPort", String.valueOf(HTTP_PROXY_PORT)); in test_selectLjava_net_URI_SelectExact()
211 System.setProperty("https.proxyHost", HTTPS_PROXY_HOST); in test_selectLjava_net_URI_SelectExact()
212 System.setProperty("https.proxyPort", String.valueOf(HTTPS_PROXY_PORT)); in test_selectLjava_net_URI_SelectExact()
214 System.setProperty("ftp.proxyHost", FTP_PROXY_HOST); in test_selectLjava_net_URI_SelectExact()
215 System.setProperty("ftp.proxyPort", String.valueOf(FTP_PROXY_PORT)); in test_selectLjava_net_URI_SelectExact()
217 System.setProperty("socksProxyHost", SOCKS_PROXY_HOST); in test_selectLjava_net_URI_SelectExact()
218 System.setProperty("socksProxyPort", String.valueOf(SOCKS_PROXY_PORT)); in test_selectLjava_net_URI_SelectExact()
255 System.setProperty("http.proxyHost", HTTP_PROXY_HOST); in test_selectLjava_net_URI_SelectExact_NullHost()
256 System.setProperty("http.proxyPort", String.valueOf(HTTP_PROXY_PORT)); in test_selectLjava_net_URI_SelectExact_NullHost()
[all …]
DExcludedProxyTest.java61 System.setProperty("http.proxyHost", in test_usingProxy()
70 System.setProperty("http.proxyPort", "81"); in test_usingProxy()
80 System.setProperty("http.proxyPort", "80"); in test_usingProxy()
143 System.setProperty("socksProxyHost", in test_Constructor()
145 System.setProperty("socksProxyPort", String in test_Constructor()
157 System.setProperty("socksProxyHost", in test_Constructor()
160 .setProperty( in test_Constructor()
/dalvik/libcore/xml/src/test/java/tests/api/org/xml/sax/helpers/
DXMLReaderFactoryTest.java46 System.setProperty("org.xml.sax.driver", "foo.bar.XMLReader"); in testCreateXMLReader()
55 System.setProperty("org.xml.sax.driver", in testCreateXMLReader()
65 System.setProperty("org.xml.sax.driver", in testCreateXMLReader()
75 System.setProperty("org.xml.sax.driver", in testCreateXMLReader()
87 System.setProperty("org.xml.sax.driver", in testCreateXMLReader()
DParserFactoryTest.java55 System.setProperty("org.xml.sax.parser", "foo.bar.SAXParser"); in testMakeParser()
65 System.setProperty("org.xml.sax.parser", in testMakeParser()
76 System.setProperty("org.xml.sax.parser", in testMakeParser()
87 System.setProperty("org.xml.sax.parser", in testMakeParser()
98 System.setProperty("org.xml.sax.parser", in testMakeParser()
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
DPropertiesTest.java160 myProps.setProperty("Abba", "Cadabra"); in test_listLjava_io_PrintStream()
161 myProps.setProperty("Open", "Sesame"); in test_listLjava_io_PrintStream()
184 myProps.setProperty("Abba", "Cadabra"); in test_listLjava_io_PrintWriter()
185 myProps.setProperty("Open", "Sesame"); in test_listLjava_io_PrintWriter()
297 myProps.setProperty("Property A", "aye"); in test_saveLjava_io_OutputStreamLjava_lang_String()
298 myProps.setProperty("Property B", "bee"); in test_saveLjava_io_OutputStreamLjava_lang_String()
299 myProps.setProperty("Property C", "see"); in test_saveLjava_io_OutputStreamLjava_lang_String()
330 myProps.setProperty("Yoink", "Yabba"); in test_setPropertyLjava_lang_StringLjava_lang_String()
333 myProps.setProperty("Yoink", "Gab"); in test_setPropertyLjava_lang_StringLjava_lang_String()
454 myProps.setProperty("key1", "value1"); in test_storeToXMLLjava_io_OutputStreamLjava_lang_StringLjava_lang_String()
[all …]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/
DMimeTable.java47 types.setProperty("text", "text/plain"); //$NON-NLS-1$ //$NON-NLS-2$
48 types.setProperty("txt", "text/plain"); //$NON-NLS-1$ //$NON-NLS-2$
49 types.setProperty("htm", "text/html"); //$NON-NLS-1$ //$NON-NLS-2$
50 types.setProperty("html", "text/html"); //$NON-NLS-1$ //$NON-NLS-2$
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/parsers/
DSAXParserImpl.java87 public void setProperty(String name, Object value) in setProperty() method in SAXParserImpl
89 reader.setProperty(name, value); in setProperty()
/dalvik/libcore/nio_char/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/
DCharsetTest.java119 System.setProperty("file.encoding", charsetName);//$NON-NLS-1$ in test_defaultCharset()
124 System.setProperty("file.encoding", charsetName);//$NON-NLS-1$ in test_defaultCharset()
130 System.setProperty("file.encoding", charsetName);//$NON-NLS-1$ in test_defaultCharset()
147 System.setProperty("file.encoding", charsetName);//$NON-NLS-1$ in test_defaultCharset()
154 System.setProperty("file.encoding", oldDefaultEncoding);//$NON-NLS-1$ in test_defaultCharset()
/dalvik/libcore/dalvik/src/main/java/dalvik/system/
DTemporaryDirectory.java96 System.setProperty(PROPERTY, absolute); in setUpDirectory()
/dalvik/libcore/xml/src/main/java/org/xml/sax/
DXMLReader.java210 public void setProperty (String name, Object value) in setProperty() method
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DBooleanTest.java118 System.setProperty(getClass().getName(), "true"); in test_getBooleanLjava_lang_String()
121 System.setProperty(getClass().getName(), "TRUE"); in test_getBooleanLjava_lang_String()
124 System.setProperty(getClass().getName(), "false"); in test_getBooleanLjava_lang_String()
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java1052 System.setProperty("javax.net.ssl.keyStoreType", type); in setUpStoreProperties()
1053 System.setProperty("javax.net.ssl.keyStore", getKeyStoreFileName()); in setUpStoreProperties()
1054 System.setProperty("javax.net.ssl.keyStorePassword", KS_PASSWORD); in setUpStoreProperties()
1056 System.setProperty("javax.net.ssl.trustStoreType", type); in setUpStoreProperties()
1057 System.setProperty("javax.net.ssl.trustStore", getKeyStoreFileName()); in setUpStoreProperties()
1058 System.setProperty("javax.net.ssl.trustStorePassword", KS_PASSWORD); in setUpStoreProperties()
1069 .setProperty("javax.net.ssl.keyStoreType", in tearDownStoreProperties()
1075 System.setProperty("javax.net.ssl.keyStore", systemKeyStore); in tearDownStoreProperties()
1080 System.setProperty("javax.net.ssl.keyStorePassword", in tearDownStoreProperties()
1087 System.setProperty("javax.net.ssl.trustStoreType", in tearDownStoreProperties()
[all …]
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DTestUtils.java76 properties.setProperty(key, value); in setSystemProperty()
/dalvik/libcore/xml/src/test/java/tests/api/org/xml/sax/support/
DDoNothingXMLReader.java76 public void setProperty(String name, Object value) { in setProperty() method in DoNothingXMLReader
DNoSubclassXMLReader.java76 public void setProperty(String name, Object value) { in setProperty() method in NoSubclassXMLReader
DNoAccessXMLReader.java76 public void setProperty(String name, Object value) { in setProperty() method in NoAccessXMLReader
DNoInstanceXMLReader.java79 public void setProperty(String name, Object value) { in setProperty() method in NoInstanceXMLReader
DMockFilter.java70 public void setProperty(String name, Object value) throws SAXNotRecognizedException, in setProperty() method in MockFilter
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/
DFileTest.java56 System.setProperty("user.dir", dirName); in test_ConstructorLjava_io_FileLjava_lang_String()
87 System.setProperty("user.dir", oldUserDir); in test_ConstructorLjava_io_FileLjava_lang_String()
/dalvik/libcore/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DDriverManagerTest.java248 validProps.setProperty("user", validuser1); in testGetConnectionStringProperties()
249 validProps.setProperty("password", validpassword1); in testGetConnectionStringProperties()
251 invalidProps1.setProperty("user", invaliduser1); in testGetConnectionStringProperties()
252 invalidProps1.setProperty("password", invalidpassword1); in testGetConnectionStringProperties()
634 System.setProperty(JDBC_PROPERTY, theSystemDrivers); in loadDrivers()
/dalvik/libcore/sql/src/main/java/java/sql/
DDriverManager.java223 theProperties.setProperty("user", user); //$NON-NLS-1$ in getConnection()
226 theProperties.setProperty("password", password); //$NON-NLS-1$ in getConnection()
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
DSecurityTest.java470 Security.setProperty(null, ""); in test_setPropertyLjava_lang_StringLjava_lang_String()
476 Security.setProperty("", null); in test_setPropertyLjava_lang_StringLjava_lang_String()
481 Security.setProperty("", ""); in test_setPropertyLjava_lang_StringLjava_lang_String()
484 Security.setProperty("My Test Property", "My property value"); in test_setPropertyLjava_lang_StringLjava_lang_String()
/dalvik/libcore/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLogManagerTest.java1126 props.setProperty("config", className + "$MockValidConfig"); in testGlobalPropertyConfig()
1131 props.setProperty("config", className + "$MockValidConfig " + className in testGlobalPropertyConfig()
1136 props.setProperty("config", className + "$MockValidConfig2 " + className in testGlobalPropertyConfig()
1144 props.setProperty("config", className + "$MockInvalidConfigException"); in testGlobalPropertyConfig()
1149 props.setProperty("config", className + "$MockInvalidConfigNoDefaultConstructor"); in testGlobalPropertyConfig()
1153 props.setProperty("config", "badname"); in testGlobalPropertyConfig()
1157 props.setProperty("config", className + "$MockValidConfig2;" + className in testGlobalPropertyConfig()
1161 props.setProperty("config", className + "$MockValidConfig2;" + className in testGlobalPropertyConfig()
1167 props.setProperty("config", className + "$MockValidConfig " + className in testGlobalPropertyConfig()
1175 props.setProperty("config", "badname " + className + "$MockValidConfig " + className in testGlobalPropertyConfig()
[all …]
/dalvik/libcore/xml/src/test/java/tests/api/javax/xml/parsers/
DSAXParserFactoryTest.java185 System.setProperty("javax.xml.parsers.SAXParserFactory", in test_newInstance()
199 System.setProperty("javax.xml.parsers.SAXParserFactory", ""); in test_newInstance()
212 System.setProperty("javax.xml.parsers.SAXParserFactory", in test_newInstance()

123