Home
last modified time | relevance | path

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

/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DObjectTest.java34 Object obj1 = new Object(); field in ObjectTest
72 assertTrue("Same object should be equal", obj1.equals(obj1)); in test_equalsLjava_lang_Object()
73 assertTrue("Different objects should not be equal", !obj1.equals(obj2)); in test_equalsLjava_lang_Object()
199 obj1.hashCode() == obj1.hashCode()); in test_hashCode()
219 synchronized (obj1) { in test_notify()
222 obj1.wait();// Wait for ever. in test_notify()
247 synchronized (obj1) { in test_notify()
253 obj1.wait(1000, 0); in test_notify()
266 obj1.notify(); in test_notify()
267 obj1.wait(200, 0); in test_notify()
[all …]
DStringBuffer2Test.java248 Object obj1 = new Object(); in test_appendLjava_lang_Object() local
250 sb.append(obj1); in test_appendLjava_lang_Object()
253 obj1.toString() + obj2.toString())); in test_appendLjava_lang_Object()
715 Object obj1 = new Object(); in test_insertILjava_lang_Object() local
716 testBuffer.insert(15, obj1); in test_insertILjava_lang_Object()
718 "This is a test " + obj1.toString() + "buffer")); in test_insertILjava_lang_Object()
721 testBuffer.insert(-1, obj1); in test_insertILjava_lang_Object()
728 testBuffer.insert(testBuffer.length() + 1, obj1); in test_insertILjava_lang_Object() local
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x501/
DAttributeTypeAndValueComparator.java45 public int compare(Object obj1, Object obj2) { in compare() argument
46 if (obj1 == obj2) { in compare()
50 AttributeTypeAndValue atav1 = (AttributeTypeAndValue) obj1; in compare()
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
DASN1Collection.java32 private DEREncodable obj1; field in ASN1Collection
56 case 1: return obj1; in getObjectAt()
102 case 1: obj1 = obj; break; in addObject()
136 case 1: obj1 = obj; break; in setObjectAt()
189 case 1: return obj1; in nextElement()
/dalvik/vm/
DReferenceTable.c154 Object* obj1 = *((Object**) vobj1); in compareObject() local
157 if (obj1 == NULL || obj2 == NULL) in compareObject()
158 return (u1*)obj1 - (u1*)obj2; in compareObject()
160 if (obj1->clazz != obj2->clazz) { in compareObject()
161 return (u1*)obj1->clazz - (u1*)obj2->clazz; in compareObject()
163 int size1 = dvmObjectSizeInHeap(obj1); in compareObject()
168 return (u1*)obj1 - (u1*)obj2; in compareObject()
DDebugger.c169 static int registryCompare(const void* obj1, const void* obj2) in registryCompare() argument
171 return (int) obj1 - (int) obj2; in registryCompare()
/dalvik/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()
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/
DRuleBasedCollatorTest.java395 Object obj1 = "a"; in testCollator_GetInstance() local
397 assertEquals(-1, coll.compare(obj1, obj2)); in testCollator_GetInstance()
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
DSerializationStressTest0.java507 Object obj1 = null; in test_25_available() local
511 obj1 = ois.readObject(); in test_25_available()
518 assertTrue("available caused incorrect reading", FOO.equals(obj1)); in test_25_available()
DObjectOutputStreamTest.java1600 Object obj1; in test_replaceObject() local
1613 obj1 = ois.readObject(); in test_replaceObject()
1619 assertTrue("1st replaceObject worked incorrectly", obj1 instanceof Long); in test_replaceObject()
1621 99, ((Long) obj1).longValue()); in test_replaceObject()