Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DCpuScalingPolicyReader.java126 IntArray intArray = new IntArray(16); in readIntsFromFile() local
130 intArray.clear(); in readIntsFromFile()
136 intArray.add(Integer.parseInt(s)); in readIntsFromFile()
142 return intArray.toArray(); in readIntsFromFile()
/frameworks/base/core/java/android/hardware/camera2/params/
DRecommendedStreamConfigurationMap.java205 private Set<Integer> getUnmodifiableIntegerSet(int[] intArray) { in getUnmodifiableIntegerSet() argument
206 if ((intArray != null) && (intArray.length > 0)) { in getUnmodifiableIntegerSet()
208 integerSet.ensureCapacity(intArray.length); in getUnmodifiableIntegerSet()
209 for (int intEntry : intArray) { in getUnmodifiableIntegerSet()
DOutputConfiguration.java1676 private static ArrayList<Integer> convertIntArrayToIntegerList(int[] intArray) { in convertIntArrayToIntegerList() argument
1678 if (intArray == null) { in convertIntArrayToIntegerList()
1681 for (int i = 0; i < intArray.length; i++) { in convertIntArrayToIntegerList()
1682 integerList.add(intArray[i]); in convertIntArrayToIntegerList()
/frameworks/base/core/tests/utiltests/src/android/util/
DIntArrayTest.java100 public void verify(IntArray intArray, int... expected) { in verify() argument
101 assertWithMessage("contents of %s", intArray).that(intArray.toArray()).asList() in verify()
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DSerializationPerfTest.java52 int[] intArray = new int[256]; in timeReadIntArray() local
53 readSingleObject(intArray); in timeReadIntArray()
58 int[] intArray = new int[256]; in timeWriteIntArray() local
59 writeSingleObject(intArray); in timeWriteIntArray()
/frameworks/base/core/java/android/app/ambientcontext/
DAmbientContextManager.java227 int[] intArray = new int[integerSet.size()]; in integerSetToIntArray() local
230 intArray[i++] = type; in integerSetToIntArray()
232 return intArray; in integerSetToIntArray()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/rotation/ui/mapper/
DRotationLockTileMapper.kt71 val intArray = resources.getIntArray(com.android.internal.R.array.config_foldedDeviceStates) in isDeviceFoldable() constant
72 return intArray.isNotEmpty() in isDeviceFoldable()
/frameworks/base/tests/Codegen/src/com/android/codegentest/
DParcelAllTheThingsDataClass.java73 @NonNull int[] intArray, in ParcelAllTheThingsDataClass() argument
83 this.mIntArray = intArray;
196 int[] intArray = in.createIntArray(); in ParcelAllTheThingsDataClass() local
210 this.mIntArray = intArray; in ParcelAllTheThingsDataClass()
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DAmbientContextManagerService.java502 int[] intArray = new int[integerSet.size()]; in integerSetToIntArray() local
505 intArray[i++] = type; in integerSetToIntArray()
507 return intArray; in integerSetToIntArray()
520 Integer[] intArray = new Integer[integerSet.length]; in intArrayToIntegerArray() local
523 intArray[i++] = type; in intArrayToIntegerArray()
525 return intArray; in intArrayToIntegerArray()
/frameworks/base/media/java/android/media/
DFadeManagerConfiguration.java716 IntArray intArray = new IntArray(integerList.size()); in convertIntegerListToIntArray() local
718 intArray.add(integerList.get(index)); in convertIntegerListToIntArray()
720 return intArray; in convertIntegerListToIntArray()
723 private static List<Integer> convertIntArrayToIntegerList(IntArray intArray) { in convertIntArrayToIntegerList() argument
724 if (intArray == null) { in convertIntArrayToIntegerList()
728 ArrayList<Integer> integerArrayList = new ArrayList<>(intArray.size()); in convertIntArrayToIntegerList()
729 for (int index = 0; index < intArray.size(); index++) { in convertIntArrayToIntegerList()
730 integerArrayList.add(intArray.get(index)); in convertIntArrayToIntegerList()
DExifInterface.java1861 final int[] intArray = new int[values.length]; in setAttribute() local
1863 intArray[j] = Integer.parseInt(values[j]); in setAttribute()
1866 ExifAttribute.createUShort(intArray, mExifByteOrder)); in setAttribute()
1871 final int[] intArray = new int[values.length]; in setAttribute() local
1873 intArray[j] = Integer.parseInt(values[j]); in setAttribute()
1876 ExifAttribute.createSLong(intArray, mExifByteOrder)); in setAttribute()
/frameworks/base/core/tests/coretests/src/android/os/
DIAidlTest.aidl36 int[] intArray(in int[] a0, out int[] a1, inout int[] a2); in intArray() method
DAidlTest.java164 public int[] intArray(int[] a0, int[] a1, int[] a2) { in intArray() method in AidlTest.AidlObject
351 int[] ir = mRemote.intArray(i0, i1, i2); in testArrays()
/frameworks/base/core/java/android/service/wearable/
DWearableSensingService.java661 Integer[] intArray = new Integer[integerSet.length];
664 intArray[i++] = type;
666 return intArray;
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java383 public static @Nullable long[] convertToLongArray(@Nullable int[] intArray) { in convertToLongArray() argument
384 if (intArray == null) return null; in convertToLongArray()
385 long[] array = new long[intArray.length]; in convertToLongArray()
386 for (int i = 0; i < intArray.length; i++) { in convertToLongArray()
387 array[i] = (long) intArray[i]; in convertToLongArray()
/frameworks/compile/slang/tests/P_reflection3264_divergent/
Dreflection3264_divergent.rscript11 int intArray[10];
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
Dreflection3264_divergent.rscript13 int intArray[10];
/frameworks/base/core/java/android/app/admin/
DPreferentialNetworkServiceConfig.java469 int[] intArray = stringList.stream() in readStringListToIntArray() local
473 return intArray; in readStringListToIntArray()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp270 jintArray intArray = env->NewIntArray(3); in MtpDatabase() local
271 if (!intArray) { in MtpDatabase()
274 mIntBuffer = (jintArray)env->NewGlobalRef(intArray); in MtpDatabase()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java5880 int[] intArray = (int[]) ret; in retToString() local
5881 length = intArray.length; in retToString()
5885 sb.append(intArray[i++]); in retToString()
5887 sb.append(", ").append(intArray[i++]); in retToString()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DDisplayModeDirectorTest.java3563 private static String toPropertyValue(@NonNull int[] intArray) { in toPropertyValue() argument
3564 return Arrays.stream(intArray) in toPropertyValue()