Home
last modified time | relevance | path

Searched refs:arrayList (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableArray.java98 ArrayList<Object> arrayList = new ArrayList<Object>(); in unmarshal() local
103 arrayList.add(elem); in unmarshal()
106 int arraySize = arrayList.size(); in unmarshal()
107 array = copyListToArray(arrayList, Array.newInstance(mComponentClass, arraySize)); in unmarshal()
153 private Object copyListToArray(ArrayList<?> arrayList, Object arrayDest) { in copyListToArray() argument
154 return arrayList.toArray((T[]) arrayDest); in copyListToArray()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DValidateNotificationPeopleTest.java162 final ArrayList<Person> arrayList = in testPeopleArrayList() local
164 arrayList.add(new Person.Builder().setName("test").build()); in testPeopleArrayList()
165 arrayList.add(new Person.Builder().setUri(expected[1]).build()); in testPeopleArrayList()
166 bundle.putParcelableArrayList(Notification.EXTRA_PEOPLE_LIST, arrayList); in testPeopleArrayList()
/frameworks/base/services/core/java/com/android/server/notification/
DValidateNotificationPeople.java315 ArrayList arrayList = (ArrayList) people; in getExtraPeopleForKey() local
317 if (arrayList.isEmpty()) { in getExtraPeopleForKey()
321 if (arrayList.get(0) instanceof String) { in getExtraPeopleForKey()
322 ArrayList<String> stringArray = (ArrayList<String>) arrayList; in getExtraPeopleForKey()
326 if (arrayList.get(0) instanceof CharSequence) { in getExtraPeopleForKey()
327 ArrayList<CharSequence> charSeqList = (ArrayList<CharSequence>) arrayList; in getExtraPeopleForKey()
336 if (arrayList.get(0) instanceof Person) { in getExtraPeopleForKey()
337 ArrayList<Person> list = (ArrayList<Person>) arrayList; in getExtraPeopleForKey()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioConfig.java284 ArrayList<Integer> arrayList = new ArrayList<>(arr.length); in primitiveArrayToArrayList() local
286 arrayList.add(i); in primitiveArrayToArrayList()
288 return arrayList; in primitiveArrayToArrayList()
DRIL.java5125 ArrayList<Byte> arrayList = new ArrayList<>(arr.length); in primitiveArrayToArrayList() local
5127 arrayList.add(b); in primitiveArrayToArrayList()
5129 return arrayList; in primitiveArrayToArrayList()
5134 ArrayList<Integer> arrayList = new ArrayList<>(arr.length); in primitiveArrayToArrayList() local
5136 arrayList.add(i); in primitiveArrayToArrayList()
5138 return arrayList; in primitiveArrayToArrayList()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp512 jobject arrayList = env->NewObject(fields.arrayListClazz, fields.arrayListInit); in android_media_MediaMetadataRetriever_getFrameAtIndex() local
513 if (arrayList == NULL) { in android_media_MediaMetadataRetriever_getFrameAtIndex()
528 env->CallBooleanMethod(arrayList, fields.arrayListAdd, bitmapObj); in android_media_MediaMetadataRetriever_getFrameAtIndex()
531 return arrayList; in android_media_MediaMetadataRetriever_getFrameAtIndex()
Dandroid_media_MediaDrm.cpp618 jobject arrayList = env->NewObject(clazz, gFields.arraylist.init); in ListOfVectorsToArrayListOfByteArray() local
622 env->CallBooleanMethod(arrayList, gFields.arraylist.add, byteArray); in ListOfVectorsToArrayListOfByteArray()
627 return arrayList; in ListOfVectorsToArrayListOfByteArray()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp750 jobject arrayList = env->NewObject(gMetadataOffsets.mArrayList, in CameraMetadata_getAllVendorKeys() local
802 env->CallBooleanMethod(arrayList, gMetadataOffsets.mArrayListAdd, key); in CameraMetadata_getAllVendorKeys()
811 return arrayList; in CameraMetadata_getAllVendorKeys()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...