Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 11 of 11) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DPropertiesTest.java209 Properties prop = null; in test_loadLjava_io_InputStream() local
212 prop = new Properties(); in test_loadLjava_io_InputStream()
213 prop.load(is = new ByteArrayInputStream(writeProperties())); in test_loadLjava_io_InputStream()
218 assertEquals("Failed to load correct properties", "harmony.tests", prop in test_loadLjava_io_InputStream()
220 assertNull("Load failed to parse incorrectly", prop in test_loadLjava_io_InputStream()
223 prop = new Properties(); in test_loadLjava_io_InputStream()
225 prop.load(new ByteArrayInputStream("=".getBytes())); in test_loadLjava_io_InputStream()
229 assertTrue("Failed to add empty key", prop.get("").equals("")); in test_loadLjava_io_InputStream()
231 prop = new Properties(); in test_loadLjava_io_InputStream()
233 prop.load(new ByteArrayInputStream(" = ".getBytes())); in test_loadLjava_io_InputStream()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSignedObjectTest.java50 Properties prop; in testSignedObject() local
59 prop = new Properties(); in testSignedObject()
60 prop.put("aaa", "bbb"); in testSignedObject()
62 SignedObject so = new SignedObject(prop, tkp.getPrivate(), sig); in testSignedObject()
65 assertEquals(prop, so.getObject()); in testSignedObject()
/libcore/ojluni/src/main/java/java/util/jar/
DPack200.java791 private synchronized static Object newInstance(String prop) { in newInstance() argument
794 Class<?> impl = (PACK_PROVIDER.equals(prop))? packerImpl: unpackerImpl; in newInstance()
798 new sun.security.action.GetPropertyAction(prop,"")); in newInstance()
812 ":\ncheck property " + prop + in newInstance()
816 ":\ncheck property " + prop + in newInstance()
820 ":\ncheck property " + prop + in newInstance()
/libcore/luni/src/test/java/libcore/java/lang/
DOldSystemTest.java190 for (String prop : props) { in test_getProperties()
192 + prop, p.getProperty(prop)); in test_getProperties()
193 assertNotNull("System property is null: " + prop, in test_getProperties()
194 System.getProperty(prop)); in test_getProperties()
271 for (String prop : props) { in test_getenv()
272 assertNotNull("There is no property: " + prop, in test_getenv()
273 envMap.get(prop)); in test_getenv()
/libcore/ojluni/src/main/java/sun/net/
DResourceManager.java56 String prop = java.security.AccessController.doPrivileged(
61 if (prop != null) {
62 defmax = Integer.parseInt(prop);
/libcore/ojluni/src/main/java/java/security/
DSecurity.java161 String prop = prov.getProperty(key); in getProviderProperty() local
163 if (prop == null) { in getProviderProperty()
167 e.hasMoreElements() && prop == null; ) { in getProviderProperty()
170 prop = prov.getProperty(matchKey); in getProviderProperty()
176 if (prop != null) { in getProviderProperty()
178 newEntry.className = prop; in getProviderProperty()
191 String prop = provider.getProperty(key); in getProviderProperty() local
192 if (prop == null) { in getProviderProperty()
196 e.hasMoreElements() && prop == null; ) { in getProviderProperty()
199 prop = provider.getProperty(matchKey); in getProviderProperty()
[all …]
/libcore/ojluni/src/main/java/sun/security/util/
DPropertyExpander.java104 String prop = value.substring(p+2, pe); in expand() local
105 if (prop.equals("/")) { in expand()
108 String val = System.getProperty(prop); in expand()
126 prop); in expand()
/libcore/ojluni/src/main/java/java/io/
DFileSystem.java236 private static boolean getBooleanProperty(String prop, boolean defaultVal) { in getBooleanProperty() argument
237 String val = System.getProperty(prop); in getBooleanProperty()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DSAXParserFactoryTest.java132 Properties prop = System.getProperties(); in test_newInstance() local
133 prop.load(bis); in test_newInstance()
DDocumentBuilderFactoryTest.java279 Properties prop = System.getProperties(); in test_newInstance() local
280 prop.load(bis); in test_newInstance()
/libcore/ojluni/src/main/java/java/util/logging/
DLogManager.java1804 static Object newPropertyChangeEvent(Object source, String prop, in newPropertyChangeEvent() argument
1808 return propertyEventCtor.newInstance(source, prop, oldValue, newValue); in newPropertyChangeEvent()