Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DObjectTest.java24 Object obj1 = new Object(); field in ObjectTest
48 assertTrue("Same object should be equal", obj1.equals(obj1)); in test_equalsLjava_lang_Object()
49 assertTrue("Different objects should not be equal", !obj1.equals(obj2)); in test_equalsLjava_lang_Object()
80 obj1.hashCode() == obj1.hashCode()); in test_hashCode()
94 synchronized (obj1) { in test_notify()
97 obj1.wait();// Wait for ever. in test_notify()
122 synchronized (obj1) { in test_notify()
128 obj1.wait(1000, 0); in test_notify()
141 obj1.notify(); in test_notify()
142 obj1.wait(200, 0); in test_notify()
[all …]
DStringBuffer2Test.java175 Object obj1 = new Object(); in test_appendLjava_lang_Object() local
177 sb.append(obj1); in test_appendLjava_lang_Object()
180 obj1.toString() + obj2.toString())); in test_appendLjava_lang_Object()
433 Object obj1 = new Object(); in test_insertILjava_lang_Object() local
434 testBuffer.insert(15, obj1); in test_insertILjava_lang_Object()
436 "This is a test " + obj1.toString() + "buffer")); in test_insertILjava_lang_Object()
/libcore/luni/src/test/java/libcore/java/lang/
DOldObjectTest.java28 Object obj1 = new Object(); field in OldObjectTest
147 synchronized (obj1) { in run()
151 obj1.wait();// Wait for ever. in run()
154 obj1.wait(5000L); in run()
157 obj1.wait(10000L, 999999); in run()
DOldStringBufferTest.java158 Object obj1 = new Object(); in test_insertILjava_lang_Object() local
160 testBuffer.insert(-1, obj1); in test_insertILjava_lang_Object()
167 testBuffer.insert(testBuffer.length() + 1, obj1); in test_insertILjava_lang_Object() local
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixFileSystemProvider.java313 public boolean isSameFile(Path obj1, Path obj2) throws IOException { in isSameFile() argument
314 UnixPath file1 = UnixPath.toUnixPath(obj1); in isSameFile()
440 public void createSymbolicLink(Path obj1, Path obj2, FileAttribute<?>... attrs) in createSymbolicLink() argument
443 UnixPath link = UnixPath.toUnixPath(obj1); in createSymbolicLink()
469 public void createLink(Path obj1, Path obj2) throws IOException { in createLink() argument
470 UnixPath link = UnixPath.toUnixPath(obj1); in createLink()
488 public Path readSymbolicLink(Path obj1) throws IOException { in readSymbolicLink() argument
489 UnixPath link = UnixPath.toUnixPath(obj1); in readSymbolicLink()
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DmySSLSession.java128 Object obj1 = table.put(s, obj); in putValue() local
129 if(obj1 instanceof SSLSessionBindingListener) { in putValue()
131 ((SSLSessionBindingListener)obj1).valueUnbound(sslsessionbindingevent); in putValue()
/libcore/ojluni/src/main/java/sun/security/x509/
DPolicyInformation.java206 Object obj1 = i.next(); in set() local
207 if (!(obj1 instanceof PolicyQualifierInfo)) { in set()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DRuleBasedCollatorTest.java205 Object obj1 = "a"; in testCollator_GetInstance() local
207 assertEquals(-1, coll.compare(obj1, obj2)); in testCollator_GetInstance()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectOutputStreamTest.java1276 Object obj1; in test_replaceObject() local
1290 obj1 = ois.readObject(); in test_replaceObject()
1296 assertTrue("1st replaceObject worked incorrectly", obj1 instanceof Long); in test_replaceObject()
1297 assertEquals("1st replaceObject worked incorrectly", 99, ((Long) obj1) in test_replaceObject()
DSerializationStressTest.java577 Object obj1 = null; in test_25_available() local
581 obj1 = ois.readObject(); in test_25_available()
588 assertTrue("available caused incorrect reading", FOO.equals(obj1)); in test_25_available()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeTextProvider.java111 public int compare(Entry<String, Long> obj1, Entry<String, Long> obj2) {
112 return obj2.getKey().length() - obj1.getKey().length(); // longest to shortest