/libcore/ojluni/src/main/java/sun/net/ |
H A D | NetProperties.java | 42 static private Properties props = new Properties(); field in class:NetProperties 70 props.load(bin); 90 String def = props.getProperty(key); 115 val = System.getProperty(key, props.getProperty(key)); 144 val = System.getProperty(key, props.getProperty(key));
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
H A D | OldMemoryHandlerTest.java | 36 final static Properties props = new Properties(); field in class:OldMemoryHandlerTest 44 manager.readConfiguration(propertiesToInputStream(props)); 51 props.clear(); 61 props.put("java.util.logging.MemoryHandler.level", "FINE"); 62 props.put("java.util.logging.MemoryHandler.filter", baseClassName + "$MockFilter"); 63 props.put("java.util.logging.MemoryHandler.size", "2"); 64 props.put("java.util.logging.MemoryHandler.push", "WARNING"); 65 props.put("java.util.logging.MemoryHandler.target", baseClassName + "$MockHandler"); 66 props.put("java.util.logging.MemoryHandler.formatter", baseClassName + "$MockFormatter");
|
H A D | OldFileHandlerTest.java | 42 final static Properties props = new Properties(); field in class:OldFileHandlerTest 55 props.clear(); 56 props.put("java.util.logging.FileHandler.level", "FINE"); 57 props.put("java.util.logging.FileHandler.filter", className 59 props.put("java.util.logging.FileHandler.formatter", className 61 props.put("java.util.logging.FileHandler.encoding", "iso-8859-1"); 63 props.put("java.util.logging.FileHandler.limit", "1000"); 65 props.put("java.util.logging.FileHandler.count", "2"); 67 props.put("java.util.logging.FileHandler.append", "true"); 68 props [all...] |
H A D | OldLogManagerTest.java | 39 Properties props; field in class:OldLogManagerTest 49 props = new Properties(); 50 props.put("handlers", className + "$MockHandler " + className + "$MockHandler"); 51 props.put("java.util.logging.FileHandler.pattern", "%h/java%u.log"); 52 props.put("java.util.logging.FileHandler.limit", "50000"); 53 props.put("java.util.logging.FileHandler.count", "5"); 54 props.put("java.util.logging.FileHandler.formatter", "java.util.logging.XMLFormatter"); 55 props.put(".level", "FINE"); 56 props.put("java.util.logging.ConsoleHandler.level", "OFF"); 57 props [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | XMLUtils.java | 70 static void load(Properties props, InputStream in) argument 87 importProperties(props, propertiesElement); 112 static void importProperties(Properties props, Element propertiesElement) { argument 126 props.setProperty(entry.getAttribute("key"), val); 131 static void save(Properties props, OutputStream os, String comment, argument 152 synchronized (props) { 153 for (String key : props.stringPropertyNames()) { 157 entry.appendChild(doc.createTextNode(props.getProperty(key)));
|
/libcore/ojluni/src/main/java/sun/net/spi/ |
H A D | DefaultProxySelector.java | 76 final static String[][] props = { field in class:DefaultProxySelector 226 for (i=0; i<props.length; i++) { 227 if (props[i][0].equalsIgnoreCase(proto)) { 228 for (j = 1; j < props[i].length; j++) { 233 phost = NetProperties.get(props[i][j]+"Host"); 292 pport = NetProperties.getInteger(props[i][j]+"Port", 0).intValue(); 293 if (pport == 0 && j < (props[i].length - 1)) { 297 for (int k = 1; k < (props[i].length - 1); k++) { 299 pport = NetProperties.getInteger(props[i][k]+"Port", 0).intValue(); 305 if (j == (props[ [all...] |
/libcore/ojluni/src/main/java/sun/nio/fs/ |
H A D | UnixFileStore.java | 209 private static volatile Properties props; field in class:UnixFileStore 221 if (props == null) { 223 if (props == null) { 224 props = AccessController.doPrivileged( 234 String value = props.getProperty(type());
|
/libcore/ojluni/src/main/java/java/security/ |
H A D | Security.java | 61 private static final Properties props; field in class:Security 71 // Also, because props is final it must be assigned in the static block, not a method. 88 props = new Properties(); 101 props.load(is); 127 props.put("security.provider.1", "sun.security.provider.Sun"); 128 props.put("security.provider.2", "sun.security.rsa.SunRsaSign"); 129 props.put("security.provider.3", "com.sun.net.ssl.internal.ssl.Provider"); 130 props.put("security.provider.4", "com.sun.crypto.provider.SunJCE"); 131 props.put("security.provider.5", "sun.security.jgss.SunProvider"); 132 props [all...] |
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | VM.java | 275 public static void saveAndRemoveProperties(Properties props) { argument 279 savedProps.putAll(props); 286 String s = (String)props.remove("sun.nio.MaxDirectMemorySize"); 299 s = (String)props.remove("sun.nio.PageAlignDirectMemory"); 306 s = props.getProperty("sun.lang.ClassLoader.allowArraySyntax"); 313 props.remove("java.lang.Integer.IntegerCache.high"); 316 props.remove("sun.zip.disableMemoryMapping"); 319 props.remove("sun.java.launcher.diag"); 322 props.remove("sun.cds.enableSharedLookupCache");
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | System.java | 930 private static Properties props; field in class:System 1175 return props; 1202 public static void setProperties(Properties props) { argument 1204 if (props != null) { 1205 baseProperties.putAll(props); 1210 System.props = baseProperties; 1246 return props.getProperty(key); 1282 return props.getProperty(key, def); 1322 return (String) props.setProperty(key, value); 1359 return (String) props [all...] |
/libcore/ojluni/src/main/java/java/util/logging/ |
H A D | LogManager.java | 148 // 'props' is assigned within a lock but accessed without it. 150 // be able to see a partially constructed 'props' object. 151 // (seeing a partially constructed 'props' object can result in 153 // open for props.getProperties() to be called before the construcor 155 private volatile Properties props = new Properties(); field in class:LogManager 1327 props = new Properties(); 1415 props.load(ins); 1468 return props.getProperty(name); 1679 Enumeration<?> enum_ = props.propertyNames();
|