Home
last modified time | relevance | path

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

123

/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
DArrayListTest.java32 blist.addAll(0, alist); in test_addAllCollectionOfQextendsE()
46 arrayList.addAll(0, Arrays.asList(1, 2)); in test_growForInsert()
47 arrayList.addAll(2, Arrays.asList(13)); in test_growForInsert()
48 arrayList.addAll(0, Arrays.asList(0)); in test_growForInsert()
49 arrayList.addAll(3, Arrays.asList(11, 12)); in test_growForInsert()
50 arrayList.addAll(6, Arrays.asList(22, 23, 24, 25, 26, 27, 28, 29)); in test_growForInsert()
51 arrayList.addAll(6, Arrays.asList(14, 15, 16, 17, 18, 19, 20, 21)); in test_growForInsert()
52 arrayList.addAll(3, Arrays.asList(3, 4, 5, 6, 7, 8, 9, 10)); in test_growForInsert()
DCollectionsTest.java463 public boolean addAll(Collection c) { in addAll() method in CollectionsTest.Mock_Collection
519 public boolean addAll(Collection c) { in addAll() method in CollectionsTest.Mock_WrongCollection
575 assertFalse(Collections.addAll(l, new Object[] {})); in test_AddAll()
577 assertTrue(Collections.addAll(l, new Object[] { new Integer(1), in test_AddAll()
584 Collections.addAll(null,new Object[] { new Integer(1), in test_AddAll()
593 Collections.addAll(c, new Object[] { new Integer(1), in test_AddAll()
603 Collections.addAll(c, new String[] { "String", in test_AddAll()
611 Collections.addAll(c, new String[] { "String", in test_AddAll()
618 Collections.addAll(c, new String[] { "String", in test_AddAll()
638 Collections.addAll(c1, arr1); in test_Disjoint()
[all …]
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
DAbstractQueueTest.java126 q.addAll(null); in testAddAll1()
138 q.addAll(q); in testAddAllSelf()
152 q.addAll(Arrays.asList(ints)); in testAddAll2()
167 q.addAll(Arrays.asList(ints)); in testAddAll3()
181 q.addAll(Arrays.asList(ints)); in testAddAll4()
DPriorityQueueTest.java131 q.addAll(Arrays.asList(ints)); in testConstructor7()
229 q.addAll(null); in testAddAll1()
241 q.addAll(Arrays.asList(ints)); in testAddAll2()
256 q.addAll(Arrays.asList(ints)); in testAddAll3()
272 assertFalse(q.addAll(Arrays.asList(empty))); in testAddAll5()
273 assertTrue(q.addAll(Arrays.asList(ints))); in testAddAll5()
DConcurrentLinkedQueueTest.java177 q.addAll(null); in testAddAll1()
189 q.addAll(q); in testAddAllSelf()
202 q.addAll(Arrays.asList(ints)); in testAddAll2()
217 q.addAll(Arrays.asList(ints)); in testAddAll3()
233 assertFalse(q.addAll(Arrays.asList(empty))); in testAddAll5()
234 assertTrue(q.addAll(Arrays.asList(ints))); in testAddAll5()
DLinkedListTest.java139 q.addAll(null); in testAddAll1()
155 assertFalse(q.addAll(Arrays.asList(empty))); in testAddAll5()
156 assertTrue(q.addAll(Arrays.asList(ints))); in testAddAll5()
172 l.addAll(4,m); in testAddAll2_IndexOutOfBoundsException()
186 l.addAll(-1,m); in testAddAll4_BadIndex()
/dalvik/libcore/luni/src/main/java/java/util/
DAbstractQueue.java77 public boolean addAll(Collection<? extends E> c) { in addAll() method in AbstractQueue
84 return super.addAll(c); in addAll()
DList.java89 public boolean addAll(int location, Collection<? extends E> collection); in addAll() method
108 public boolean addAll(Collection<? extends E> collection); in addAll() method
DSet.java58 public boolean addAll(Collection<? extends E> collection); in addAll() method
DCollection.java107 public boolean addAll(Collection<? extends E> collection); in addAll() method
DTreeSet.java65 addAll(collection); in TreeSet()
128 public boolean addAll(Collection<? extends E> collection) { in addAll() method in TreeSet
129 return super.addAll(collection); in addAll()
DAbstractList.java265 public boolean addAll(int location, Collection<? extends E> collection) { in addAll() method in AbstractList.SubAbstractList
268 boolean result = fullList.addAll(location + offset, in addAll()
282 public boolean addAll(Collection<? extends E> collection) { in addAll() method in AbstractList.SubAbstractList
284 boolean result = fullList.addAll(offset + size, collection); in addAll()
455 public boolean addAll(int location, Collection<? extends E> collection) { in addAll() method in AbstractList
DMiniEnumSet.java125 public boolean addAll(Collection<? extends E> collection) { in addAll() method in MiniEnumSet
140 return super.addAll(collection); in addAll()
/dalvik/dx/src/com/android/dx/rop/annotation/
DAnnotations.java55 result.addAll(a1); in combine()
56 result.addAll(a2); in combine()
76 result.addAll(annotations); in combine()
192 public void addAll(Annotations toAdd) { in addAll() method in Annotations
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
DAbstractSequentialListTest.java78 al.addAll(c); in test_addAll_ILCollection()
79 assertTrue("Should return true", al.addAll(2, c)); //$NON-NLS-1$ in test_addAll_ILCollection()
183 asl.addAll(0, strV); in test_addAllILjava_util_Collection()
189 asl.addAll(0, null); in test_addAllILjava_util_Collection()
211 asl.addAll(0, strV); in test_addAllILjava_util_Collection()
221 asl.addAll(0, strV); in test_addAllILjava_util_Collection()
228 asl.addAll(0, strV); in test_addAllILjava_util_Collection()
233 asl.addAll(-10, strV); in test_addAllILjava_util_Collection()
240 asl.addAll(1, strV); in test_addAllILjava_util_Collection()
DAbstractQueueTest.java192 queue.addAll(null); in test_addAllLE_null()
211 queue.addAll(list); in test_addAllLE_with_null()
230 queue.addAll(list); in test_addAllLE_full()
249 assertFalse("Non modification to queue should return false", queue.addAll(list)); in test_addAllLE_empty()
263 queue.addAll(queue); in test_addAllLE_this()
286 assertTrue(queue.addAll(c)); in test_addAllLjava_lang_Object()
316 queue.addAll(list); in test_clear()
DConcurrentModTest.java263 sub.addAll(1, c); in testAddAll()
484 abstr.addAll(0, null); in test_addAllILjava_util_Collection()
491 abstr.addAll(0, c); in test_addAllILjava_util_Collection()
514 abstr.addAll(0, c); in test_addAllILjava_util_Collection()
546 abstr.addAll(0, c); in test_addAllILjava_util_Collection()
551 abstr.addAll(0, c); in test_addAllILjava_util_Collection()
557 abstr.addAll(0, c); in test_addAllILjava_util_Collection()
560 abstr.addAll(-1, c); in test_addAllILjava_util_Collection()
567 abstr.addAll(abstr.size() + 1, c); in test_addAllILjava_util_Collection()
613 abstr1.addAll(c); in test_equalsLjava_lang_Object()
[all …]
DArrayListTest.java179 alist.addAll(50, alist); in test_addAllILjava_util_Collection()
197 alist.addAll(100, listWithNulls); in test_addAllILjava_util_Collection()
206 alist.addAll(205, listWithNulls); in test_addAllILjava_util_Collection()
210 alist.addAll(-1, listWithNulls); in test_addAllILjava_util_Collection()
217 alist.addAll(alist.size() + 1, listWithNulls); in test_addAllILjava_util_Collection()
224 alist.addAll(0, null); in test_addAllILjava_util_Collection()
244 obj.addAll((int) -1, (Collection) null); in test_addAllILjava_util_Collection_2()
263 l.addAll(alist); in test_addAllLjava_util_Collection()
267 alist.addAll(alist); in test_addAllLjava_util_Collection()
282 alist.addAll(100, setWithNulls); in test_addAllLjava_util_Collection()
[all …]
DLinkedListTest.java136 ll.addAll(50, (Collection) ll.clone()); in test_addAllILjava_util_Collection()
153 ll.addAll(50, myList); in test_addAllILjava_util_Collection()
163 ll.addAll(-1, (Collection) null); in test_addAllILjava_util_Collection()
170 ll.addAll(ll.size() + 1, (Collection) null); in test_addAllILjava_util_Collection()
177 ll.addAll(0, null); in test_addAllILjava_util_Collection()
197 obj.addAll(-1, (Collection) null); in test_addAllILjava_util_Collection_2()
216 l.addAll((Collection) ll.clone()); in test_addAllLjava_util_Collection()
220 ll.addAll((Collection) ll.clone()); in test_addAllLjava_util_Collection()
235 ll.addAll(myList); in test_addAllLjava_util_Collection()
245 ll.addAll(null); in test_addAllLjava_util_Collection()
DAbstractListTest.java162 sList.addAll(Arrays.asList(new String[] { "1", "2" })); in test_subListII()
165 sList.addAll(0, Arrays.asList(new String[] { "3", "4" })); in test_subListII()
249 mainList.addAll(Arrays.asList(mainObjects)); in test_subList_addAll()
256 subList.addAll(Arrays.asList(subObjects)); in test_subList_addAll()
/dalvik/hit/src/com/android/hit/
DQueries.java79 classes.addAll(heap.mClassesById.values()); in classes()
163 classList.addAll(traverseSubclasses(theClass)); in allInstancesOf()
168 instanceList.addAll(someClass.mInstances); in allInstancesOf()
183 result.addAll(traverseSubclasses(subclass)); in traverseSubclasses()
203 result.addAll(heap.mRoots); in getRoots()
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/fortress/
DDefaultPolicy.java216 pc.addAll(ge.getPermissions()); in getPermissions()
255 pc.addAll(ge.getPermissions()); in getPermissions()
285 fresh.addAll(parser.parse(policyLocations[i], system)); in refresh()
305 grants.addAll(fresh); in refresh()
/dalvik/libcore/support/src/test/java/tests/support/
DSupport_CollectionTest.java65 .addAll(myCollection)); in runTest()
88 col.addAll(myCollection); in runTest()
/dalvik/tests/062-character-encodings/src/
DMain.java18 list.addAll(aliases); in main()
/dalvik/libcore/security/src/test/java/tests/security/cert/
DX509CRL2Test.java118 extensionOids.addAll(pemCert.getCriticalExtensionOIDs()); in test_getExtensionValueLjava_lang_String()
119 extensionOids.addAll(pemCert.getNonCriticalExtensionOIDs()); in test_getExtensionValueLjava_lang_String()

123