/libcore/benchmarks/src/benchmarks/ |
H A D | ReferenceBenchmark.java | 67 queue.remove(); 85 queue.remove();
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | PriorityQueueBenchmark.java | 81 dummy = usepq.remove(seekElements.get(i % elementsSize));
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
H A D | SamplingProfiler.java | 482 Integer threadId = threadIds.remove(thread);
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
H A D | DdmServer.java | 73 return mHandlerMap.remove(type);
|
/libcore/dalvik/src/test/java/dalvik/system/profiler/ |
H A D | SamplingProfilerTest.java | 133 // remove thread 2, which should not exist (but that's okay on the RI) 139 // remove thread 1, which should exist 145 // remove thread 1 again, which should not exist (its not okay to have end followed by end) 240 assertTrue(threadsActive.remove(event.threadId));
|
/libcore/dalvik/test-rules/src/main/java/dalvik/system/ |
H A D | CloseGuardSupport.java | 170 allocationSites.remove(allocationSite);
|
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | JUnitTestCaseAdapter.java | 264 expectedArray.remove(expectedString); 328 expectedArray.remove(expectedObj); 393 expectedArray.remove(expectedString); 452 expectedArray.remove(expectedObj);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | SystemTest.java | 383 map.remove(null);
|
H A D | ThreadLocalTest.java | 33 * java.lang.ThreadLocal#remove() 46 tl.remove();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
H A D | PhantomReferenceTest.java | 111 Reference r = rq.remove(100L);
|
H A D | ReferenceQueueTest.java | 105 * java.lang.ref.ReferenceQueue#remove() 115 assertTrue("Remove failed.", ((Boolean) rq.remove().get()) 128 rq.remove(); 152 * java.lang.ref.ReferenceQueue#remove(long) 157 assertNull("Queue should be empty. (remove(1))", 158 rq.remove((long) 1)); 161 Reference ret = rq.remove(0L); 162 assertNotNull("Delayed remove failed.", ret); 182 Reference result = rq.remove(1L); 184 result = rq.remove( [all...] |
H A D | ReferenceTest.java | 128 Reference ref = queue.remove(); 193 ref = rq.remove(5000L); // Give up after five seconds.
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | SelectorTest.java | 126 keySet2.remove(key3);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | AbstractCollectionTest.java | 154 public void remove() { 197 public void remove() { 234 public void remove() { 235 fail("remove should not get called"); 275 public void remove() { 276 fail("remove should not get called");
|
H A D | AbstractListTest.java | 48 public Object remove(int i) { method in class:AbstractListTest.SimpleList 49 return this.arrayList.remove(i); 86 it.remove(); 146 sList.remove(0); 152 lit.remove(); 201 emptySubList.remove(0); 202 fail("emptySubList.remove(0) should throw IndexOutOfBoundsException"); 216 public E remove(int idx) { method in class:AbstractListTest.MockArrayList 218 return list.remove(idx); 259 it.remove(); 386 public E remove(int idx) { method in class:AbstractListTest.MockRemoveFailureArrayList [all...] |
H A D | AbstractMapTest.java | 44 // that uses the default remove behavior. 100 * java.util.AbstractMap#remove(java.lang.Object) 108 assertSame("HashMap(0)", map1.remove("key"), value); 112 assertSame("IdentityHashMap", map4.remove(key), value); 116 assertSame("LinkedHashMap", map5.remove(key), value); 125 assertSame("TreeMap", map6.remove(key), value); 129 assertSame("WeakHashMap", map7.remove(key), value); 133 Object valueOut = aSpecialMap.remove(specialKey); 329 public void remove() { 392 assertFalse(view.remove(nul [all...] |
H A D | AbstractQueueTest.java | 58 public void remove() { 259 * java.util.AbstractQueue#remove() 263 queue.remove(); 272 * java.util.AbstractQueue#remove() 279 assertEquals('a', queue.remove()); 280 assertEquals('b', queue.remove()); 282 queue.remove();
|
H A D | AbstractSequentialListTest.java | 99 public void remove() { method in class:AbstractSequentialListTest.Mock_unsupportedListIterator 138 public void remove() { method in class:AbstractSequentialListTest.Mock_ListIterator 199 strV.remove("String"); 209 strV.remove(null); 341 public void remove() { 456 public void remove() { 467 asl.remove(asl.size() + 1); 474 asl.remove(-1); 482 asl.remove(i); 529 public void remove() { [all...] |
H A D | ArrayDequeTest.java | 434 * {@link java.util.ArrayDeque#remove()} 441 assertEquals(testObjOne, testQue.remove()); 443 assertEquals(testObjTwo, testQue.remove()); 444 assertEquals(testObjThree, testQue.remove()); 447 testQue.remove(); 566 testQue.remove(); 567 testQue.remove(); 585 testQue.remove(); 586 testQue.remove(); 605 result.remove(); [all...] |
H A D | ArrayListTest.java | 173 alist.remove(size); 256 list1.remove(0); 286 list1.remove(location); 413 originalList.remove(0); 414 originalList.remove(0); 550 al.remove(0); 678 * java.util.ArrayList#remove(int) 681 // Test for method java.lang.Object java.util.ArrayList.remove(int) 682 alist.remove(10); 683 assertEquals("Failed to remove elemen [all...] |
H A D | CollectionsTest.java | 1454 synchMap.keySet().remove(objArray[50].toString()); 1456 "Removing a key from the keySet of the synchronized map did not remove it from the synchronized map: ", 1459 "Removing a key from the keySet of the synchronized map did not remove it from the original map", 1577 synchMap.keySet().remove(objArray[50].toString()); 1579 "Removing a key from the keySet of the synchronized map did not remove it from the synchronized map", 1582 "Removing a key from the keySet of the synchronized map did not remove it from the original map", 1648 c.remove(new Object()); 1710 c.remove(new Object()); 1776 c.remove(new Object()); 1851 c.remove(ne [all...] |
H A D | ConcurrentModTest.java | 50 al.remove(1); // remove the 2.0 94 al.remove(1); // remove the 2.0 124 al.remove(1); // remove the 2.0 154 al.remove(1); // remove the 2.0 157 // illegal call the subList's method remove(int). 158 sub.remove( [all...] |
H A D | ConcurrentModificationExceptionTest.java | 45 col.remove(someItem);
|
H A D | EnumMapTest.java | 297 enumSizeMap.remove(Size.Small); 369 .remove(mockEntry)); 373 .remove(mockEntry)); 376 .remove(mockEntry)); 378 .remove(new Integer(1))); 386 enumSizeMap.remove(Size.Big); 449 .remove(integer)); 451 .remove(entry)); 470 enumSizeMap.remove(Size.Big); 479 iter.remove(); [all...] |
H A D | EnumSetTest.java | 149 iterator.remove(); 155 iterator.remove(); 398 anotherSetWithSubclass.remove(EnumWithInnerClass.a); 468 anotherHugeSetWithSubclass.remove(HugeEnumWithInnerClass.a); 475 * java.util.EnumSet#remove(Object) 484 boolean result = set.remove(null); 487 result = set.remove(EnumFoo.a); 489 result = set.remove(EnumFoo.a); 494 result = set.remove(EnumWithInnerClass.a); 496 result = set.remove(EnumWithInnerClas [all...] |