/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | PropertiesTest.java | 209 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/ |
D | SignedObjectTest.java | 50 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/ |
D | Pack200.java | 791 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/ |
D | OldSystemTest.java | 190 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/ |
D | ResourceManager.java | 56 String prop = java.security.AccessController.doPrivileged( 61 if (prop != null) { 62 defmax = Integer.parseInt(prop);
|
/libcore/ojluni/src/main/java/java/security/ |
D | Security.java | 161 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/ |
D | PropertyExpander.java | 104 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/ |
D | FileSystem.java | 236 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/ |
D | SAXParserFactoryTest.java | 132 Properties prop = System.getProperties(); in test_newInstance() local 133 prop.load(bis); in test_newInstance()
|
D | DocumentBuilderFactoryTest.java | 279 Properties prop = System.getProperties(); in test_newInstance() local 280 prop.load(bis); in test_newInstance()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | FileSystem.java | 118 private static boolean getBooleanProperty(java.lang.String prop, boolean defaultVal) { in getBooleanProperty() argument
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | LogManager.java | 1794 static Object newPropertyChangeEvent(Object source, String prop, in newPropertyChangeEvent() argument 1798 return propertyEventCtor.newInstance(source, prop, oldValue, newValue); in newPropertyChangeEvent()
|
/libcore/ojluni/annotations/hiddenapi/java/util/logging/ |
D | LogManager.java | 294 java.lang.String prop, in newPropertyChangeEvent() argument
|