/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
LongStreamTestDataProvider.java | 81 List<Object[]> list = new ArrayList<>(); external variable declarations 86 list.add(new Object[]{"array:" + name, 93 list.add(new Object[]{"SpinedList:" + name, 96 list.add(streamDataDescr("LongStream.longRange(0,l): " + longs.length, 98 list.add(streamDataDescr("LongStream.longRangeClosed(0,l): " + longs.length, 101 testData = list.toArray(new Object[0][]); 105 List<Object[]> spliterators = new ArrayList<>();
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
DoubleStreamTestDataProvider.java | 86 List<Object[]> list = new ArrayList<>(); external variable declarations 91 list.add(new Object[]{"array:" + name, 98 list.add(new Object[]{"SpinedList:" + name, 101 testData = list.toArray(new Object[0][]); 105 List<Object[]> spliterators = new ArrayList<>();
|
IntStreamTestDataProvider.java | 85 List<Object[]> list = new ArrayList<>(); external variable declarations 90 list.add(new Object[]{"array:" + 97 list.add(new Object[]{"SpinedList:" + name, 100 list.add(streamDataDescr("IntStream.intRange(0,l): " + ints.length, 102 list.add(streamDataDescr("IntStream.rangeClosed(0,l): " + ints.length, 105 testData = list.toArray(new Object[0][]); 109 List<Object[]> spliterators = new ArrayList<>();
|
LongStreamTestDataProvider.java | 85 List<Object[]> list = new ArrayList<>(); external variable declarations 90 list.add(new Object[]{"array:" + name, 97 list.add(new Object[]{"SpinedList:" + name, 100 list.add(streamDataDescr("LongStream.longRange(0,l): " + longs.length, 102 list.add(streamDataDescr("LongStream.longRangeClosed(0,l): " + longs.length, 105 testData = list.toArray(new Object[0][]); 109 List<Object[]> spliterators = new ArrayList<>();
|
/packages/apps/Camera2/src/com/android/camera/util/ |
Size.java | 29 import java.util.List; 159 public static List<Size> convert(List<com.android.ex.camera2.portability.Size> sizes) { 168 * Encode List of this class as comma-separated list of integers. 170 * @param sizes List of this class to encode. 173 public static String listToString(List<Size> sizes) { 183 * Decode comma-separated even-length list of integers into a List of this class. 186 * @return List of this class 190 ArrayList<Size> list = new ArrayList<>(); local 207 ArrayList<Size> list = new ArrayList<Size>(cameraSizes.size()); local [all...] |
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
RecycleBitmapPool.java | 97 ArrayList<SoftReference<Bitmap>> list = mRecycled8888.get(key); local 98 if (list == null) { 99 list = new ArrayList<SoftReference<Bitmap>>(); 100 mRecycled8888.put(key, list); 102 list.add(new SoftReference<Bitmap>(bitmap)); 104 Log.d(TAG, list.size() + " add bitmap " + bitmap.getWidth() + " " 140 private static Bitmap getRecycledBitmap(ArrayList<SoftReference<Bitmap>> list) { 141 if (list != null && !list.isEmpty()) { 142 while (!list.isEmpty()) [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
MultiSelectEmailAddressesListFragment.java | 16 package com.android.contacts.list; 32 import java.util.List; 35 /** Displays a list of emails with check boxes. */ 85 final List<String> items = GroupUtil.getSendToDataForIds( 87 final String list = TextUtils.join(",", items); local 88 GroupUtil.startSendToSelectionActivity(this, list, scheme, title);
|
MultiSelectPhoneNumbersListFragment.java | 16 package com.android.contacts.list; 32 import java.util.List; 35 /** Displays a list of phone numbers with check boxes. */ 85 final List<String> items = GroupUtil.getSendToDataForIds( 87 final String list = TextUtils.join(",", items); local 88 GroupUtil.startSendToSelectionActivity(this, list, scheme, title);
|
/packages/apps/Settings/tests/unit/src/com/android/settings/display/ |
ThemePreferenceControllerTest.java | 87 list(info1, info2)); 126 list(info1, info2)); 148 .thenReturn(list(new OverlayInfo("", "", "", "", 0, 0, 0, false))); 157 .thenReturn(list(new OverlayInfo("", "", "", "", 0, 0, 0, true), 162 private ArrayList<OverlayManagerWrapper.OverlayInfo> list(OverlayInfo... infos) { method in class:ThemePreferenceControllerTest 163 ArrayList<OverlayManagerWrapper.OverlayInfo> list = new ArrayList<>(); local 165 list.add(new OverlayManagerWrapper.OverlayInfo(info)); 167 return list;
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactsListFragment.java | 95 ListView list = (ListView) inflater.inflate(R.layout.contacts_list, container, false); local 96 list.setOnItemClickListener(this); 99 list.setAdapter(mAdapter); 100 mList = list; 101 return list; 135 throw new IllegalArgumentException("Position not in list bounds");
|
GroupsListFragment.java | 60 ListView list = (ListView) inflater.inflate(R.layout.contacts_list, container, false); local 61 list.setOnItemClickListener(this); 64 list.setAdapter(mAdapter); 65 mList = list; 66 return list;
|
/cts/common/device-side/device-info/tests/src/com/android/compatibility/common/deviceinfo/ |
TestDeviceInfo.java | 23 import java.util.List; 47 List<String> list = new ArrayList<>(); local 48 list.add("test string 1"); 49 list.add("test string 2"); 50 list.add("test string 3"); 51 store.addListResult("test_strings", list); 60 list = new ArrayList<>(); 61 list.add("test group string 1"); 62 list.add("test group string 2") [all...] |
/cts/suite/audio_quality/lib/src/task/ |
TaskSave.cpp | 38 const android::String8* list[] = {&STR_FILE, &STR_REPORT, NULL}; local 39 registerSupportedStringAttributes(list); 55 std::unique_ptr<std::vector<android::String8> > list(StringUtil::split(fileValue, ',')); 56 std::vector<android::String8>* listp = list.get(); 79 std::unique_ptr<std::list<TaskCase::BufferPair> > buffers( 81 std::list<TaskCase::BufferPair>* buffersp = buffers.get(); 86 std::list<TaskCase::BufferPair>::iterator it = buffersp->begin(); 87 std::list<TaskCase::BufferPair>::iterator end = buffersp->end(); 108 std::unique_ptr<std::vector<android::String8> > list(StringUtil::split(reportValue, ',')); 109 std::vector<android::String8>* listp = list.get() [all...] |
/cts/suite/audio_quality/test/ |
TaskCaseTest.cpp | 61 std::list<TaskCase::BufferPair>* list = mTaskCase->findAllBuffers(RE); local 62 ASSERT_TRUE(list != NULL); 63 ASSERT_TRUE(((list->front().second.get() == buffer1.get()) && 64 (list->back().second.get() == buffer2.get())) || 65 ((list->front().second.get() == buffer2.get()) && 66 (list->back().second.get() == buffer1.get()))); 67 delete list; 102 std::list<TaskCase::ValuePair>* list = mTaskCase->findAllValues(RE) local [all...] |
/cts/tests/signature/src/android/signature/cts/ |
DexMethod.java | 19 import java.util.List; 25 private final List<String> mParamTypeList; 36 public List<String> getJavaParameterTypes() { 66 private static List<String> parseDexTypeList(String signature) { 68 List<String> list = new ArrayList<String>(); local 71 list.add(type); 74 return list;
|
/dalvik/dx/src/com/android/multidex/ |
ArchivePathElement.java | 60 public Iterable<String> list() { method in class:ArchivePathElement
|
/device/google/marlin/common/ |
utils.mk | 22 # $(call find-word-in-list,w,wlist) 23 # finds an exact match of word w in word list wlist 28 # search word w in list wl, if found match m, return stripped word w 31 define find-word-in-list 40 # $(call match-word-in-list,w,wlist) 41 # does an exact match of word w in word list wlist 48 define match-word-in-list 51 $(call match-word,$(call find-word-in-list,$(1),$(2)),$(strip $(1))), \ 61 # if find-word-in-list returns not empty 70 $(if $(call match-word-in-list,$(1),$(text)),true,) [all...] |
/device/google/wahoo/ |
utils.mk | 22 # $(call find-word-in-list,w,wlist) 23 # finds an exact match of word w in word list wlist 28 # search word w in list wl, if found match m, return stripped word w 31 define find-word-in-list 40 # $(call match-word-in-list,w,wlist) 41 # does an exact match of word w in word list wlist 48 define match-word-in-list 51 $(call match-word,$(call find-word-in-list,$(1),$(2)),$(strip $(1))), \ 61 # if find-word-in-list returns not empty 70 $(if $(call match-word-in-list,$(1),$(text)),true,) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
_bisectmodule.c | 9 internal_bisect_right(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t hi)
19 hi = PySequence_Size(list);
28 litem = PySequence_GetItem(list, mid);
46 PyObject *list, *item;
local 53 keywords, &list, &item, &lo, &hi))
55 index = internal_bisect_right(list, item, lo, hi);
65 Return the index where to insert item x in list a, assuming a is sorted.\n\
68 a[i:] have e > x. So if x already appears in the list, i points just\n\
77 PyObject *list, *item, *result;
local 84 keywords, &list, &item, &lo, &hi)) 152 PyObject *list, *item; local 182 PyObject *list, *item, *result; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/ |
split.h | 10 /* Overallocate the initial list to reduce the number of reallocs for small
28 if (PyList_Append(list, sub)) { \
41 PyList_SET_ITEM(list, count, sub); \
43 if (PyList_Append(list, sub)) { \
53 /* Always force the list to the expected size. */
54 #define FIX_PREALLOC_SIZE(list) Py_SIZE(list) = count
62 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
local 65 if (list == NULL)
78 /* No whitespace in str_obj, so just use it as list[0] */ 111 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); local 154 PyObject *list, *sub; local 201 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); local 252 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); local 296 PyObject *list, *sub; local 353 PyObject *list = PyList_New(0); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
_bisectmodule.c | 9 internal_bisect_right(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t hi)
19 hi = PySequence_Size(list);
25 litem = PySequence_GetItem(list, mid);
43 PyObject *list, *item;
local 50 keywords, &list, &item, &lo, &hi))
52 index = internal_bisect_right(list, item, lo, hi);
61 Return the index where to insert item x in list a, assuming a is sorted.\n\
64 a[i:] have e > x. So if x already appears in the list, i points just\n\
73 PyObject *list, *item, *result;
local 80 keywords, &list, &item, &lo, &hi)) 144 PyObject *list, *item; local 174 PyObject *list, *item, *result; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/ |
split.h | 10 /* Overallocate the initial list to reduce the number of reallocs for small
28 if (PyList_Append(list, sub)) { \
41 PyList_SET_ITEM(list, count, sub); \
43 if (PyList_Append(list, sub)) { \
53 /* Always force the list to the expected size. */
54 #define FIX_PREALLOC_SIZE(list) Py_SIZE(list) = count
62 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
local 65 if (list == NULL)
78 /* No whitespace in str_obj, so just use it as list[0] */ 111 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); local 154 PyObject *list, *sub; local 201 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); local 252 PyObject *list = PyList_New(PREALLOC_SIZE(maxcount)); local 296 PyObject *list, *sub; local 353 PyObject *list = PyList_New(0); local [all...] |
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/util/ |
ListOrganizerTest.java | 58 LinkedList list = new LinkedList();
local 60 list.add(obj1);
61 list.add(obj2);
62 list.add(obj3);
64 assertEquals(obj1, list.getFirst());
65 assertEquals(obj3, list.getLast());
67 ListOrganizer organizer = new ListOrganizer(list);
71 assertEquals(obj2, list.getLast());
72 assertEquals(obj3, list.getFirst());
|
/external/annotation-tools/asmx/test/conform/cases/ |
TestFieldGeneric.expected | |
/external/annotation-tools/scene-lib/test/annotations-expected/tests/classfile/cases/ |
TestFieldGeneric.class | |