Home
last modified time | relevance | path

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

/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/
DJankTestBase.java400 private int getMaxValue(int[] intArray) { in getMaxValue() argument
402 int max = intArray[index]; in getMaxValue()
403 for (int i = 1; i < intArray.length; i++) { in getMaxValue()
404 if (max < intArray[i]) { in getMaxValue()
405 max = intArray[i]; in getMaxValue()
411 private double getAverage(int[] intArray) { in getAverage() argument
414 for (int i = 0; i < intArray.length; i++) { in getAverage()
416 if (intArray[i] >= 0) { in getAverage()
417 mean += intArray[i]; in getAverage()
437 private void print(int[] intArray, String arrayName) { in print() argument
[all …]
/frameworks/base/core/java/android/debug/
DJNITest.java28 int[] intArray = { 42, 53, 65, 127 }; in test() local
30 return part1(intArg, doubleArg, stringArg, intArray); in test()
/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.java143 public int[] intArray(int[] a0, int[] a1, int[] a2) { in intArray() method in AidlTest.AidlObject
323 int[] ir = mRemote.intArray(i0, i1, i2); in testArrays()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp193 jintArray intArray = env->NewIntArray(3); in MyMtpDatabase() local
194 if (!intArray) { in MyMtpDatabase()
197 mIntBuffer = (jintArray)env->NewGlobalRef(intArray); in MyMtpDatabase()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java2510 int[] intArray = (int[]) ret; in retToString() local
2511 length = intArray.length; in retToString()
2515 sb.append(intArray[i++]); in retToString()
2517 sb.append(", ").append(intArray[i++]); in retToString()