Home
last modified time | relevance | path

Searched refs:arrayCopy (Results 1 – 2 of 2) sorted by relevance

/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java58 List<TValue> arrayCopy = new ArrayList<TValue>(collection); in getPercentileValue() local
59 Collections.sort(arrayCopy); in getPercentileValue()
64 int lowArrayIndex = Math.min(arrayCopy.size() - 1, in getPercentileValue()
65 arrayCopy.size() - (int)(arrayCopy.size() * (1 - lowPecentile))); in getPercentileValue()
66 percentileValues.add(arrayCopy.get(lowArrayIndex)); in getPercentileValue()
72 int highArrayIndex = Math.max(lowArrayIndex, (int)(arrayCopy.size() * highPercentile - 1)); in getPercentileValue()
73 percentileValues.add(arrayCopy.get(highArrayIndex)); in getPercentileValue()
/cts/tests/tests/secure_element/sample_applet/src/com/android/cts/omapi/test/
DCtsAndroidOmapiTestApplet.java118 Util.arrayCopy(respBuf, (short)0, buf, (short)0, (short)respBuf.length); in process()
134 Util.arrayCopy(respBuf, (short)0, buf, (short)0, (short)respBuf.length); in process()
163 Util.arrayCopy(respBuf, (short)0, buf, (short)0, (short)respBuf.length); in process()
173 Util.arrayCopy(respBuf, (short)0, buf, (short)0, (short) respBuf.length); in process()
179 Util.arrayCopy(SW_62xx_VALIDATE_DATA_RESP, (short) 0, buf, (short) 0, in process()
242 Util.arrayCopy(p2_00, (short) 0, buf, (short) 0, (short) p2_00.length); in process()