Searched refs:arrayList (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableArray.java | 98 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/ |
D | ValidateNotificationPeopleTest.java | 163 final ArrayList<Person> arrayList = in testPeopleArrayList() local 165 arrayList.add(new Person.Builder().setName("test").build()); in testPeopleArrayList() 166 arrayList.add(new Person.Builder().setUri(expected[1]).build()); in testPeopleArrayList() 167 bundle.putParcelableArrayList(Notification.EXTRA_PEOPLE_LIST, arrayList); in testPeopleArrayList()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ValidateNotificationPeople.java | 315 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/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsSubscriptionsMonitorTest.java | 106 private static int[] convertArrayListToIntArray(@NonNull List<Integer> arrayList) { in convertArrayListToIntArray() argument 107 final int[] list = new int[arrayList.size()]; in convertArrayListToIntArray() 108 for (int i = 0; i < arrayList.size(); i++) { in convertArrayListToIntArray() 109 list[i] = arrayList.get(i); in convertArrayListToIntArray()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RadioConfig.java | 387 ArrayList<Integer> arrayList = new ArrayList<>(arr.length); in primitiveArrayToArrayList() local 389 arrayList.add(i); in primitiveArrayToArrayList() 391 return arrayList; in primitiveArrayToArrayList()
|
D | RIL.java | 6515 ArrayList<Byte> arrayList = new ArrayList<>(arr.length); in primitiveArrayToArrayList() local 6517 arrayList.add(b); in primitiveArrayToArrayList() 6519 return arrayList; in primitiveArrayToArrayList() 6524 ArrayList<Integer> arrayList = new ArrayList<>(arr.length); in primitiveArrayToArrayList() local 6526 arrayList.add(i); in primitiveArrayToArrayList() 6528 return arrayList; in primitiveArrayToArrayList()
|
/frameworks/base/media/jni/ |
D | android_media_MediaMetadataRetriever.cpp | 513 jobject arrayList = env->NewObject(fields.arrayListClazz, fields.arrayListInit); in android_media_MediaMetadataRetriever_getFrameAtIndex() local 514 if (arrayList == NULL) { in android_media_MediaMetadataRetriever_getFrameAtIndex() 529 env->CallBooleanMethod(arrayList, fields.arrayListAdd, bitmapObj); in android_media_MediaMetadataRetriever_getFrameAtIndex() 532 return arrayList; in android_media_MediaMetadataRetriever_getFrameAtIndex()
|
D | android_media_MediaDrm.cpp | 672 jobject arrayList = env->NewObject(clazz, gFields.arraylist.init); in ListOfVectorsToArrayListOfByteArray() local 676 env->CallBooleanMethod(arrayList, gFields.arraylist.add, byteArray); in ListOfVectorsToArrayListOfByteArray() 681 return arrayList; in ListOfVectorsToArrayListOfByteArray()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_CameraMetadata.cpp | 750 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()
|