Home
last modified time | relevance | path

Searched refs:getProperties (Results 1 – 25 of 25) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DSystemTest.java171 System.getProperties().setProperty("user.dir", "hmmph"); in testSystemProperties_immutable()
174 System.getProperties().clear(); in testSystemProperties_immutable()
183 System.getProperties().merge("user.dir", "meh", (s1, s2) -> s2.toString() + s1); in testSystemProperties_immutable()
187 System.getProperties().compute("user.dir", (key, oldValue) -> "meh"); in testSystemProperties_immutable()
191 System.getProperties().computeIfAbsent("user.dir", (key) -> "meh"); in testSystemProperties_immutable()
195 System.getProperties().putIfAbsent("user.dir", "meh"); in testSystemProperties_immutable()
199 System.getProperties().replace("user.dir", "meh"); in testSystemProperties_immutable()
204 System.getProperties().replace("user.dir", null, "meh"); in testSystemProperties_immutable()
208 System.getProperties().replaceAll((key, value) -> "meh"); in testSystemProperties_immutable()
257 assertNotSame(newProperties, System.getProperties()); in testSystemProperties_setProperties_nonNull()
[all …]
DOldSystemTest.java184 Properties p = System.getProperties(); in test_getProperties()
DLongTest.java25 Properties originalProperties = System.getProperties(); in testSystemProperties()
DIntegerTest.java40 Properties originalProperties = System.getProperties(); in testSystemProperties()
/libcore/ojluni/src/main/java/java/util/random/
DRandomGeneratorFactory.java215 private RandomGeneratorProperties getProperties() {
452 return getProperties().group();
463 RandomGeneratorProperties properties = getProperties();
476 return getProperties().equidistribution();
487 RandomGeneratorProperties properties = getProperties();
507 return !getProperties().isStochastic();
517 return getProperties().isStochastic();
527 return getProperties().isHardware();
/libcore/ojluni/src/main/java/sun/security/action/
DGetPropertyAction.java151 return System.getProperties(); in privilegedGetProperties()
156 return System.getProperties(); in privilegedGetProperties()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DSystemTest.java127 Properties p = System.getProperties(); in test_getProperties()
295 Properties orgProps = System.getProperties(); in test_setPropertiesLjava_util_Properties()
301 … assertEquals("Failed to set properties", "this is a test property", System.getProperties() in test_setPropertiesLjava_util_Properties()
DLongTest.java28 orgProps = System.getProperties(); in setUp()
DIntegerTest.java28 orgProps = System.getProperties(); in setUp()
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
DFileURLConnection.java172 public MessageHeader getProperties() { in getProperties() method in FileURLConnection
174 return super.getProperties(); in getProperties()
/libcore/ojluni/src/test/java/util/Properties/
DStoreDeadlock.java40 Properties sysproperty = System.getProperties(); in StoreDeadlock()
/libcore/ojluni/src/main/java/jdk/internal/util/
DStaticProperty.java58 Properties props = System.getProperties();
/libcore/ojluni/annotations/hiddenapi/sun/net/www/
DURLConnection.java37 public sun.net.www.MessageHeader getProperties() { in getProperties() method in URLConnection
/libcore/ojluni/annotations/mmodule/java/lang/
DSystem.annotated.java63 public static java.util.Properties getProperties() { throw new RuntimeException("Stub!"); } in getProperties() method in System
/libcore/ojluni/src/main/java/sun/net/www/
DURLConnection.java59 public MessageHeader getProperties() { in getProperties() method in URLConnection
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DSystem.annotated.java63 @libcore.util.NonNull public static java.util.Properties getProperties() { throw new RuntimeExcepti… in getProperties() method in System
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DSAXParserFactoryTest.java160 Properties prop = System.getProperties(); in test_newInstance()
DDocumentBuilderFactoryTest.java289 Properties prop = System.getProperties(); in test_newInstance()
/libcore/luni/src/test/java/libcore/java/net/
DOldServerSocketTest.java201 Properties props = (Properties) System.getProperties().clone(); in test_ConstructorI_SocksSet()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DSystem.java175 public static java.util.Properties getProperties() { in getProperties() method in System
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DProxySelectorTest.java551 originalSystemProperties = (Properties) System.getProperties().clone(); in setUp()
DServerSocketTest.java116 Properties props = (Properties) System.getProperties().clone(); in test_ConstructorI_SocksSet()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DPropertiesTest.java86 Properties systemProperties = System.getProperties(); in test_ConstructorLjava_util_Properties()
471 set = new Properties(System.getProperties()).stringPropertyNames(); in test_stringPropertyNames()
/libcore/ojluni/src/main/java/java/lang/
DSystem.java1249 public static Properties getProperties() { in getProperties() method in System
/libcore/api/
Dcurrent.txt4336 method @NonNull public static java.util.Properties getProperties();