Searched refs:properties (Results 1 - 12 of 12) 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/luni/src/main/native/
H A Djava_lang_System.cpp75 std::vector<std::string> properties; local
78 properties.push_back(std::string("user.dir=") + getcwd(path, sizeof(path)));
80 properties.push_back("android.zlib.version=" ZLIB_VERSION);
81 properties.push_back("android.openssl.version=" OPENSSL_VERSION_TEXT);
83 return toStringArray(env, properties);
/libcore/luni/src/test/java/tests/api/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/dalvik/src/main/java/dalvik/system/
H A DVMRuntime.java53 public native String[] properties(); method in class:VMRuntime
/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/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/luni/src/main/java/java/lang/
H A DSystem.java252 * Returns the system properties. Note that this is not a copy, so that
256 * @return the system properties.
321 // Undocumented Android-only properties.
328 // Override built-in properties with settings from the command line.
329 parsePropertyAssignments(p, runtime.properties());
357 * <p>The following properties are always provided by the Dalvik VM:
606 * Sets all system properties. This does not take a copy; the passed-in object is used
607 * directly. Passing null causes the VM to reinitialize the properties to how they were
/libcore/
H A DJavaLibrary.mk110 TMP_RESOURCE_FILE := org/apache/harmony/luni/tests/java/lang/test\#.properties

Completed in 270 milliseconds