Home
last modified time | relevance | path

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

/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/
DUtils.java26 ArrayList<Integer> arrayList = new ArrayList<>(); in stringsToIntArray() local
28 string.chars().forEach(arrayList::add); in stringsToIntArray()
30 return arrayList.stream().mapToInt(Integer::intValue).toArray(); in stringsToIntArray()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsSubscriptionsMonitorTest.java111 private static int[] convertArrayListToIntArray(@NonNull List<Integer> arrayList) { in convertArrayListToIntArray() argument
112 final int[] list = new int[arrayList.size()]; in convertArrayListToIntArray()
113 for (int i = 0; i < arrayList.size(); i++) { in convertArrayListToIntArray()
114 list[i] = arrayList.get(i); in convertArrayListToIntArray()
/packages/services/Telephony/src/com/android/phone/
DCarrierXmlParser.java518 ArrayList<SsResultEntry> arrayList = new ArrayList<>(); in readCommandResultEntry() local
519 arrayList.add(entry); in readCommandResultEntry()
520 ssFeature.responseCode.put(key, arrayList); in readCommandResultEntry()
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapMessage.java743 ArrayList<Byte> arrayList = new ArrayList<>(arr.length); in primitiveArrayToContainerArrayList() local
745 arrayList.add(b); in primitiveArrayToContainerArrayList()
747 return arrayList; in primitiveArrayToContainerArrayList()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DProvisioningParams.java507 private static int[] integerArrayListToIntArray(ArrayList<Integer> arrayList) { in integerArrayListToIntArray() argument
508 return arrayList.stream().mapToInt(Integer::valueOf).toArray(); in integerArrayListToIntArray()