/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableArray.java | 163 ArrayList<Object> arrayList = new ArrayList<Object>(); 168 arrayList.add(elem); 171 int arraySize = arrayList.size(); 172 array = copyListToArray(arrayList, Array.newInstance(mComponentClass, arraySize)); 218 private Object copyListToArray(ArrayList<?> arrayList, Object arrayDest) { 219 return arrayList.toArray((T[]) arrayDest);
|
/frameworks/base/services/core/jni/gnss/ |
D | GnssAntennaInfoCallback.cpp | 139 jobject arrayList = env->NewObject(class_arrayList, in translateAllGnssAntennaInfos() local 145 env->CallBooleanMethod(arrayList, method_arrayListAdd, in translateAllGnssAntennaInfos() 151 return arrayList; in translateAllGnssAntennaInfos() 338 jobject arrayList = translateAllGnssAntennaInfos(env, gnssAntennaInfos); in translateAndReportGnssAntennaInfo() local 340 reportAntennaInfo(env, arrayList); in translateAndReportGnssAntennaInfo() 342 env->DeleteLocalRef(arrayList); in translateAndReportGnssAntennaInfo()
|
D | GnssCallback.cpp | 149 jobject arrayList = env->NewObject(class_arrayList, method_arrayListCtor); in gnssSetSignalTypeCapabilitiesCb() local 152 env->CallBooleanMethod(arrayList, method_arrayListAdd, signalTypeObject); in gnssSetSignalTypeCapabilitiesCb() 156 env->CallVoidMethod(mCallbacksObj, method_setSignalTypeCapabilities, arrayList); in gnssSetSignalTypeCapabilitiesCb() 158 env->DeleteLocalRef(arrayList); in gnssSetSignalTypeCapabilitiesCb()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ValidateNotificationPeople.java | 356 ArrayList arrayList = (ArrayList) people; in getExtraPeopleForKey() local 358 if (arrayList.isEmpty()) { in getExtraPeopleForKey() 362 if (arrayList.get(0) instanceof String) { in getExtraPeopleForKey() 363 ArrayList<String> stringArray = (ArrayList<String>) arrayList; in getExtraPeopleForKey() 367 if (arrayList.get(0) instanceof CharSequence) { in getExtraPeopleForKey() 368 ArrayList<CharSequence> charSeqList = (ArrayList<CharSequence>) arrayList; in getExtraPeopleForKey() 377 if (arrayList.get(0) instanceof Person) { in getExtraPeopleForKey() 378 ArrayList<Person> list = (ArrayList<Person>) arrayList; in getExtraPeopleForKey()
|
/frameworks/base/media/jni/ |
D | android_media_MediaMetadataRetriever.cpp | 512 jobject arrayList = env->NewObject(fields.arrayListClazz, fields.arrayListInit); in android_media_MediaMetadataRetriever_getFrameAtIndex() local 513 if (arrayList == NULL) { in android_media_MediaMetadataRetriever_getFrameAtIndex() 534 env->CallBooleanMethod(arrayList, fields.arrayListAdd, bitmapObj); in android_media_MediaMetadataRetriever_getFrameAtIndex() 539 env->DeleteLocalRef(arrayList); in android_media_MediaMetadataRetriever_getFrameAtIndex() 546 return arrayList; in android_media_MediaMetadataRetriever_getFrameAtIndex()
|
D | android_media_MediaDrm.cpp | 248 jobject arrayList = env->NewObject(clazz, gFields.arraylist.init); in hidlLogMessagesToJavaList() local 255 env->CallBooleanMethod(arrayList, gFields.arraylist.add, jLog); in hidlLogMessagesToJavaList() 257 return arrayList; in hidlLogMessagesToJavaList() 593 jobject arrayList = env->NewObject(clazz, gFields.arraylist.init); in sendKeysChange() local 599 env->CallBooleanMethod(arrayList, gFields.arraylist.add, jKeyStatus); in sendKeysChange() 603 .jKeyStatusList = arrayList, in sendKeysChange() 749 jobject arrayList = env->NewObject(clazz, gFields.arraylist.init); in ListOfVectorsToArrayListOfByteArray() local 753 env->CallBooleanMethod(arrayList, gFields.arraylist.add, byteArray); in ListOfVectorsToArrayListOfByteArray() 758 return arrayList; in ListOfVectorsToArrayListOfByteArray()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ValidateNotificationPeopleTest.java | 195 final ArrayList<Person> arrayList = in testPeopleArrayList() local 197 arrayList.add(new Person.Builder().setName("test").build()); in testPeopleArrayList() 198 arrayList.add(new Person.Builder().setUri(expected[1]).build()); in testPeopleArrayList() 199 bundle.putParcelableArrayList(Notification.EXTRA_PEOPLE_LIST, arrayList); in testPeopleArrayList()
|
/frameworks/base/core/tests/fuzzers/ParcelFuzzer/ |
D | ReadUtils.java | 251 ArrayList<IBinder> arrayList = new ArrayList<IBinder>(); 252 parcel.readBinderList(arrayList);
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_CameraMetadata.cpp | 815 jobject arrayList = env->NewObject(gMetadataOffsets.mArrayList, in CameraMetadata_getAllVendorKeys() local 867 env->CallBooleanMethod(arrayList, gMetadataOffsets.mArrayListAdd, key); in CameraMetadata_getAllVendorKeys() 876 return arrayList; in CameraMetadata_getAllVendorKeys()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RILUtils.java | 4749 ArrayList<Byte> arrayList = new ArrayList<>(arr.length); in primitiveArrayToArrayList() local 4751 arrayList.add(b); in primitiveArrayToArrayList() 4753 return arrayList; in primitiveArrayToArrayList() 4758 ArrayList<Integer> arrayList = new ArrayList<>(arr.length); in primitiveArrayToArrayList() local 4760 arrayList.add(i); in primitiveArrayToArrayList() 4762 return arrayList; in primitiveArrayToArrayList()
|