Searched refs:properties (Results 1 - 15 of 15) sorted by relevance

/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DTestUtils.java72 Properties properties = System.getProperties();
74 properties.remove(key);
76 properties.setProperty(key, value);
78 System.setProperties(properties);
/libcore/luni/src/test/java/tests/support/
H A DSupport_SQL.java52 .getResourceAsStream("/connection.properties");
100 Properties properties = new Properties();
101 properties.load(fileName);
102 sqlDriver = properties.getProperty("sqlDriver");
103 sqlLogin = properties.getProperty("sqlLogin");
104 sqlCatalog = properties.getProperty("sqlCatalog");
105 sqlHost = properties.getProperty("sqlHost");
106 sqlUrl = properties.getProperty("sqlUrlPrefix") + sqlHost + "/"
108 sqlPassword = properties.getProperty("sqlPassword");
109 sqlUser = properties
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
H A DMockFilter.java41 private Map<String, Object> properties = new HashMap<String, Object>(); field in class:MockFilter
57 return properties.get(name);
73 properties.remove(name);
75 properties.put(name, value);
H A DMockReader.java53 private Map<String, Object> properties = new HashMap<String, Object>(); field in class:MockReader
84 return properties.get(name);
122 properties.remove(name);
124 properties.put(name, value);
/libcore/luni/src/main/native/
H A Djava_lang_System.cpp81 std::vector<std::string> properties; local
84 properties.push_back(std::string("user.dir=") + getcwd(path, sizeof(path)));
86 properties.push_back("android.zlib.version=" ZLIB_VERSION);
87 properties.push_back("android.openssl.version=" OPENSSL_VERSION_TEXT);
99 properties.push_back(std::string("java.library.path=") + library_path);
101 return toStringArray(env, properties);
/libcore/luni/src/main/java/java/util/jar/
H A DPack200.java185 * Returns a sorted map of the properties of this packer.
187 * @return the properties of the packer.
189 SortedMap<String, String> properties(); method in interface:Pack200.Packer
266 * Returns a sorted map of the properties of this unpacker.
268 * @return the properties of unpacker.
270 SortedMap<String, String> properties(); method in interface:Pack200.Unpacker
/libcore/luni/src/test/java/libcore/java/lang/
H A DSystemTest.java153 // Android-specific: The RI does not have a concept of immutable properties.
199 // All the immutable properties should be reset.
201 // Non-standard properties are cleared.
216 // Android-specific: The RI makes the setProperties() argument the system properties object,
217 // Android makes a new Properties object and copies the properties.
219 // Android-specific: The RI does not have a concept of immutable properties.
230 Properties properties = System.getProperties();
231 assertEquals("v1", properties.getProperty("p1"));
233 properties.clear();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DPropertiesTest.java84 Properties properties = new Properties(systemProperties);
89 assertEquals("failed to construct correct properties",
91 properties.getProperty(propertyName));
215 assertEquals("Failed to load correct properties", "harmony.tests", prop
265 "#properties file\r\nfred=1\r\n#last comment"
282 .getStream("hyts_PropertiesTest.properties");
320 assertEquals("Failed to load correct properties", "harmony.tests", prop
362 "#properties file\r\nfred=1\r\n#last comment"
435 .getStream("hyts_PropertiesTest.properties");
508 Properties properties
[all...]
/libcore/libart/src/main/java/dalvik/system/
H A DVMRuntime.java70 public native String[] properties(); method in class:VMRuntime
/libcore/luni/src/main/java/java/sql/
H A DConnection.java804 * Replaces all client info properties with the name/value pairs from {@code properties}.
805 * All existing properties are removed. If an exception is thrown, the resulting state of
806 * this connection's client info properties is undefined.
810 public void setClientInfo(Properties properties) throws SQLClientInfoException; argument
820 * Returns a {@link Properties} object containing all client info properties.
/libcore/luni/src/main/java/java/util/prefs/
H A DXMLParser.java441 * Returns the preferences from {@code xmlFile}. Returns empty properties if
476 static void writeXmlPreferences(File xmlFile, Properties properties) throws IOException { argument
488 String[] keys = properties.keySet().toArray(new String[properties.size()]);
492 values[i] = properties.getProperty(keys[i]);
/libcore/luni/src/main/java/java/util/
H A DProperties.java71 private static final String PROP_DTD_NAME = "http://java.sun.com/dtd/properties.dtd";
74 + " <!ELEMENT properties (comment?, entry*) >"
75 + " <!ATTLIST properties version CDATA #FIXED \"1.0\" >"
99 * @param properties
102 public Properties(Properties properties) { argument
103 defaults = properties;
238 * Loads properties from the specified {@code InputStream}, assumed to be ISO-8859-1.
252 * Loads properties from the specified {@code Reader}.
253 * The properties file is interpreted according to the following rules:
515 * Stores properties t
[all...]
/libcore/
H A DJavaLibrary.mk137 TMP_RESOURCE_FILE := org/apache/harmony/luni/tests/java/lang/test\#.properties
/libcore/luni/src/main/java/java/lang/
H A DSystem.java697 * Returns the system properties. Note that this is not a copy, so that
701 * @return the system properties.
769 // Undocumented Android-only properties.
776 // Override built-in properties with settings from the command line.
777 parsePropertyAssignments(p, runtime.properties());
833 * <p>The following properties are always provided by the Dalvik VM <b>and
875 * <p>It is an error to override anyone of these properties. Any attempt to
897 * Sets the value of a particular system property. Most system properties
899 * list of such properties.
910 * Removes a specific system property. Most system properties
[all...]
/libcore/benchmarks/libs/
H A Dcaliper.jar ... caliper.CaliperRc INSTANCE private final java.util.Properties properties private void " href="/5.0.0_r2/s ...

Completed in 582 milliseconds