Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/tuner/util/
DInts.java13 int[] intArray = new int[integerList.size()]; in toArray() local
16 intArray[i++] = data; in toArray()
18 return intArray; in toArray()
21 public static List<Integer> asList(int[] intArray) { in asList() argument
22 List<Integer> integerList = new ArrayList<>(intArray.length); in asList()
23 for (int data : intArray) { in asList()
/packages/services/BuiltInPrintService/jni/lib/
DwprintJNI.c645 jintArray intArray; in _convertPrinterCaps_to_Java() local
649 intArray = (*env)->NewIntArray(env, wprintPrinterCaps->numSupportedMediaTypes); in _convertPrinterCaps_to_Java()
650 intArrayPtr = (*env)->GetIntArrayElements(env, intArray, NULL); in _convertPrinterCaps_to_Java()
654 (*env)->ReleaseIntArrayElements(env, intArray, intArrayPtr, 0); in _convertPrinterCaps_to_Java()
656 _LocalPrinterCapabilitiesField__supportedMediaTypes, intArray); in _convertPrinterCaps_to_Java()
657 (*env)->DeleteLocalRef(env, intArray); in _convertPrinterCaps_to_Java()
659 intArray = (*env)->NewIntArray(env, wprintPrinterCaps->numSupportedMediaSizes); in _convertPrinterCaps_to_Java()
660 intArrayPtr = (*env)->GetIntArrayElements(env, intArray, NULL); in _convertPrinterCaps_to_Java()
664 (*env)->ReleaseIntArrayElements(env, intArray, intArrayPtr, 0); in _convertPrinterCaps_to_Java()
666 _LocalPrinterCapabilitiesField__supportedMediaSizes, intArray); in _convertPrinterCaps_to_Java()
[all …]
/packages/apps/MusicFX/src/com/android/musicfx/
DControlPanelEffect.java871 int[] intArray = null; in getParameterIntArray() local
876 intArray = new int[2]; in getParameterIntArray()
889 intArray = new int[numBands]; in getParameterIntArray()
897 for (int i = 0; i < intArray.length; i++) { in getParameterIntArray()
898 intArray[i] = prefs.getInt(key.toString() + i, 0); in getParameterIntArray()
905 return intArray; in getParameterIntArray()
/packages/inputmethods/LatinIME/native/jni/tests/utils/
Dint_array_view_test.cpp49 std::array<int, ARRAY_SIZE> intArray; in TEST() local
50 const auto intArrayView = IntArrayView::fromArray(intArray); in TEST()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java412 Integer[] intArray = new Integer[propValue.value.int32Values.size()]; in get() local
413 return (T) propValue.value.int32Values.toArray(intArray); in get()