/libcore/luni/src/test/java/libcore/java/lang/ |
D | SystemTest.java | 158 String userDir = System.getProperty("user.dir"); in testSystemProperties_immutable() 161 assertEquals(userDir, System.getProperty("user.dir")); in testSystemProperties_immutable() 164 assertEquals(userDir, System.getProperty("user.dir")); in testSystemProperties_immutable() 167 assertEquals(userDir, System.getProperty("user.dir")); in testSystemProperties_immutable() 173 assertEquals(userDir, System.getProperty("user.dir")); in testSystemProperties_immutable() 181 String oldUserHome = System.getProperty("user.home"); in testSystemProperties_mutable() 184 assertEquals("/user/home", System.getProperty("user.home")); in testSystemProperties_mutable() 192 String userDir = System.getProperty("user.dir"); in testSystemProperties_setProperties_null() 202 assertEquals(userDir, System.getProperty("user.dir")); in testSystemProperties_setProperties_null() 204 assertNull(System.getProperty("p1")); in testSystemProperties_setProperties_null() [all …]
|
D | OldSystemTest.java | 192 + prop, p.getProperty(prop)); in test_getProperties() 194 System.getProperty(prop)); in test_getProperties() 200 System.getProperty(null); in test_getPropertyLjava_lang_String() 207 System.getProperty(""); in test_getPropertyLjava_lang_String() 216 System.getProperty(null, "0.0"); in test_getPropertyLjava_lang_StringLjava_lang_String() 223 System.getProperty("", "0"); in test_getPropertyLjava_lang_StringLjava_lang_String() 241 assertNull("Property was not deleted.", System.getProperty("test")); in test_clearProperty()
|
/libcore/luni/src/test/java/tests/support/ |
D | Support_SQL.java | 56 String tmp = System.getProperty("java.io.tmpdir"); in loadDriver() 102 sqlDriver = properties.getProperty("sqlDriver"); in loadProperties() 103 sqlLogin = properties.getProperty("sqlLogin"); in loadProperties() 104 sqlCatalog = properties.getProperty("sqlCatalog"); in loadProperties() 105 sqlHost = properties.getProperty("sqlHost"); in loadProperties() 106 sqlUrl = properties.getProperty("sqlUrlPrefix") + sqlHost + "/" in loadProperties() 108 sqlPassword = properties.getProperty("sqlPassword"); in loadProperties() 109 sqlUser = properties.getProperty("sqlUser"); in loadProperties() 111 .getProperty("sqlMaxConnections")); in loadProperties() 112 sqlMaxTasks = Integer.parseInt(properties.getProperty("sqlMaxTasks")); in loadProperties()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | NetProperties.java | 60 String fname = System.getProperty("java.home"); in loadDefaultProperties() 90 String def = props.getProperty(key); in get() 92 return System.getProperty(key, def); in get() 115 val = System.getProperty(key, props.getProperty(key)); in getInteger() 144 val = System.getProperty(key, props.getProperty(key)); in getBoolean()
|
D | InetAddressCachePolicy.java | 99 return Security.getProperty(cachePolicyProp); 135 return Security.getProperty(negativeCachePolicyProp);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | PropertiesTest.java | 90 systemProperties.getProperty(propertyName), in test_ConstructorLjava_util_Properties() 91 properties.getProperty(propertyName)); in test_ConstructorLjava_util_Properties() 102 ((String) tProps.getProperty("test.prop"))); in test_getPropertyLjava_lang_String() 113 ((String) tProps.getProperty("test.prop", "Blarg"))); in test_getPropertyLjava_lang_StringLjava_lang_String() 115 .getProperty("notInThere.prop", "Gabba"))); in test_getPropertyLjava_lang_StringLjava_lang_String() 124 assertNull(props.getProperty("key")); in test_getPropertyLjava_lang_String2() 134 assertEquals("defaultValue", props.getProperty("key", "defaultValue")); in test_getPropertyLjava_lang_StringLjava_lang_String2() 140 return getProperty((String) key); // assume String in get() 216 .getProperty("test.pkg")); in test_loadLjava_io_InputStream() 218 .getProperty("commented.entry")); in test_loadLjava_io_InputStream() [all …]
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | DoPrivilegedBenchmark.java | 25 String lineSeparator = System.getProperty("line.separator"); in timeDirect() 33 lineSeparator = System.getProperty("line.separator"); in timeFastAndSlow() 37 return System.getProperty("line.separator"); in timeFastAndSlow() 48 return System.getProperty("line.separator"); in timeNewAction() 69 return System.getProperty(propertyName); in run()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFileTest.java | 32 + System.getProperty("java.vm.version").replace('.', '-'); 36 File tempDir = new File(System.getProperty("java.io.tmpdir")); 64 String tmpDirName = System.getProperty("java.io.tmpdir"); in test_ConstructorLjava_io_FileLjava_lang_String() 94 String tmpDir = System.getProperty("java.io.tmpdir"); in test_ConstructorLjava_lang_StringLjava_lang_String() 105 dirName = System.getProperty("java.io.tmpdir"); in test_ConstructorLjava_lang_StringLjava_lang_String() 137 String base = System.getProperty("java.io.tmpdir"); in test_renameToLjava_io_File() 156 String cts = System.getProperty("java.io.tmpdir"); in test_deleteOnExit() 172 builder.command().add(System.getProperty("java.class.path")); in test_deleteOnExit()
|
D | OldFileReaderTest.java | 29 File noFile = new File(System.getProperty("java.io.tmpdir"), "noreader.tst"); in test_ConstructorLjava_io_File() 40 br = new FileReader(System.getProperty("java.io.tmpdir") + "/noreader.tst"); in test_ConstructorLjava_lang_String()
|
D | OldFileWriterTest.java | 40 File dir = new File(System.getProperty("java.io.tmpdir")); in test_ConstructorLjava_io_File_IOException() 51 File dir = new File(System.getProperty("java.io.tmpdir")); in test_ConstructorLjava_io_FileZ_IOException() 63 fw = new FileWriter(System.getProperty("java.io.tmpdir")); in test_ConstructorLjava_lang_String_IOException() 73 fw = new FileWriter(System.getProperty("java.io.tmpdir"), false); in test_ConstructorLjava_lang_StringZ_IOException()
|
/libcore/ojluni/src/main/java/sun/net/www/ |
D | MimeTable.java | 55 System.getProperty("content.types.temp.file.template", in java.security.AccessController.doPrivileged() 59 System.getProperty("user.mailcap"), in java.security.AccessController.doPrivileged() 60 System.getProperty("user.home") + "/.mailcap", in java.security.AccessController.doPrivileged() 64 System.getProperty("hotjava.home", in java.security.AccessController.doPrivileged() 236 System.getProperty("content.types.user.table"); 241 file = new File(System.getProperty("java.home") + 250 file = new File(System.getProperty("java.home") + 281 String attrs = entries.getProperty(type); 389 filename = System.getProperty("user.home" + 417 String user = System.getProperty("user.name");
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | SystemTest.java | 141 assertNotNull(props[i], System.getProperty(props[i])); in test_getProperties() 153 String encoding = System.getProperty("file.encoding"); in test_getPropertyLjava_lang_String() 189 String bootClassPath = System.getProperty("org.apache.harmony.boot.class.path"); in test_getProperty_bootClassPath() 192 bootClassPath = System.getProperty("sun.boot.class.path"); in test_getProperty_bootClassPath() 207 assertTrue(!System.getProperty("java.version", "99999").equals("99999")); in test_getPropertyLjava_lang_StringLjava_lang_String() 209 .getProperty("bogus.prop", "bogus")); in test_getPropertyLjava_lang_StringLjava_lang_String() 224 System.getProperty("testing") == "value2"); in test_setPropertyLjava_lang_StringLjava_lang_String() 302 .getProperty("test.prop")); in test_setPropertiesLjava_util_Properties()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | VM.java | 243 return savedProps.getProperty(key); in getSavedProperty() 286 s = props.getProperty("sun.lang.ClassLoader.allowArraySyntax"); in saveAndRemoveProperties() 294 s = props.getProperty("jdk.reflect.allowGetCallerClass"); in saveAndRemoveProperties() 298 Boolean.valueOf(props.getProperty("jdk.logging.allowStackWalkSearch")); in saveAndRemoveProperties()
|
D | Version.java | 84 String headless = System.getProperty("java.awt.headless"); in print() 103 String java_vm_name = System.getProperty("java.vm.name"); in print() 104 String java_vm_version = System.getProperty("java.vm.version"); in print() 105 String java_vm_info = System.getProperty("java.vm.info"); in print() 268 CharSequence cs = System.getProperty("java.vm.version"); in initVersions()
|
D | MessageUtils.java | 82 return subst(System.getProperty(propName), arg); in substProp() 86 return subst(System.getProperty(propName), arg1, arg2); in substProp() 91 return subst(System.getProperty(propName), arg1, arg2, arg3); in substProp()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | ProviderTest.java | 94 if (!p.getProperty("Provider.id name").equals( in testProvider() 98 if (!p.getProperty("Provider.id version").equals( in testProvider() 102 if (!p.getProperty("Provider.id info").equals( in testProvider() 106 if (!p.getProperty("Provider.id className").equals( in testProvider() 114 assertNull(p.getProperty("MessageDigest.SHA-1")); in testClear() 149 if (!"value 1".equals(p.getProperty("Property 1").trim()) || in testPutAllMap() 150 !"attrValue".equals(p.getProperty("serviceName.algName attrName").trim()) || in testPutAllMap() 151 … !"standardName".equals(p.getProperty("Alg.Alias.engineClassName.aliasName").trim()) || in testPutAllMap() 152 !"aaa.bbb.ccc.ddd".equals(p.getProperty("MessageDigest.SHA-1").trim()) ) { in testPutAllMap() 295 assertEquals("aaa.bbb.ccc.ddd", p.getProperty("MessageDigest.SHA-1") in testPutObjectObject() [all …]
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/mailto/ |
D | MailToURLConnection.java | 66 String str = System.getProperty("user.fromaddr"); in getFromAddress() 68 str = System.getProperty("user.name"); in getFromAddress() 70 String host = System.getProperty("mail.host"); in getFromAddress()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | LogManager.java | 177 cname = System.getProperty("java.util.logging.manager"); in AccessController.doPrivileged() 684 if (manager.getProperty(pname + ".level") != null || in processParentHandlers() 685 manager.getProperty(pname + ".handlers") != null) { in processParentHandlers() 777 String levs = getProperty(word + ".level"); in loadLoggerHandlers() 1043 String cname = System.getProperty("java.util.logging.config.class"); in readConfiguration() 1058 String fname = System.getProperty("java.util.logging.config.file"); in readConfiguration() 1060 fname = System.getProperty("java.home"); in readConfiguration() 1146 String hands = getProperty(propertyName); in parseClassNames() 1227 public String getProperty(String name) { in getProperty() method in LogManager 1228 return props.getProperty(name); in getProperty() [all …]
|
/libcore/ojluni/src/main/java/sun/security/ssl/ |
D | TrustManagerFactoryImpl.java | 143 props.put("trustStore", System.getProperty( 145 props.put("javaHome", System.getProperty( 147 props.put("trustStoreType", System.getProperty( 150 props.put("trustStoreProvider", System.getProperty( 152 props.put("trustStorePasswd", System.getProperty(
|
/libcore/support/src/test/java/tests/support/ |
D | Support_ClassLoader.java | 37 if ("Dalvik".equals(System.getProperty("java.vm.name"))) { in getInstance() 63 tmp = new File(System.getProperty("java.io.tmpdir"), "dex-cache");
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | FactoryFinder.java | 59 String javah = System.getProperty("java.home"); 85 String val = System.getProperty("jaxp.debug"); 191 String systemProp = System.getProperty(factoryId); in find() 199 String factoryClassName = CacheHolder.cacheProps.getProperty(factoryId); in find()
|
/libcore/tzdata/tools/src/main/libcore/tzdata/update/tools/ |
D | CreateTzDataBundle.java | 60 String localFileName = p.getProperty(localFileNameProperty); in main() 62 String onDeviceFileName = p.getProperty(onDeviceFileNameProperty); in main() 105 String value = p.getProperty(propertyName); in getMandatoryProperty()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLContextSpiTest.java | 157 String defaultAlgorithm = Security.getProperty("ssl.KeyManagerFactory.algorithm"); in test_engineInit() 163 defaultAlgorithm = Security.getProperty("ssl.TrustManagerFactory.algorithm"); in test_engineInit() 196 String defaultAlgorithm = Security.getProperty("ssl.KeyManagerFactory.algorithm"); in test_commonTest_02() 202 defaultAlgorithm = Security.getProperty("ssl.TrustManagerFactory.algorithm"); in test_commonTest_02()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/ |
D | SAXParserImpl.java | 80 public Object getProperty(String name) throws SAXNotRecognizedException, in getProperty() method in SAXParserImpl 82 return reader.getProperty(name); in getProperty()
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
D | XPathFactoryFinder.java | 53 String val = System.getProperty("jaxp.debug"); 67 String javah = System.getProperty("java.home"); 170 String r = System.getProperty(propertyName); in _newFactory() 184 String factoryClassName = CacheHolder.cacheProps.getProperty(propertyName); in _newFactory()
|