Home
last modified time | relevance | path

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

/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java1278 int[] minMax = calculateExpectedNEvents(testTimeMs, rateLevel); in checkEventRate() local
1281 + ", which is not in range [" + minMax[0] + ", " + minMax[1] + "].", in checkEventRate()
1282 minMax[0] <= events.size() && events.size() <= minMax[1]); in checkEventRate()
1336 int[] minMax = calculateExpectedNEventsUs(testTimeMs, samplingPeriodUs); in checkEventRateUs() local
1339 + ", which is not in range [" + minMax[0] + ", " + minMax[1] + "].", in checkEventRateUs()
1340 minMax[0] <= events.size() && events.size() <= minMax[1]); in checkEventRateUs()
1435 int[] minMax = new int[] { -1, Integer.MAX_VALUE }; in calculateExpectedNEvents() local
1440 minMax[0] = (int) Math.floor( in calculateExpectedNEvents()
1448 minMax[1] = (int) Math.ceil( in calculateExpectedNEvents()
1455 return minMax; in calculateExpectedNEvents()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DVideoEncoderTest.java929 Set<Size> minMax = new HashSet<Size>(); in addExtremeSizesFor() local
934 Set<Size> bucket = (dx + dy == 0) ? minMax : nearMinMax; in addExtremeSizesFor()
972 minMax.removeAll(mSizes); in addExtremeSizesFor()
973 mSizes.addAll(minMax); in addExtremeSizesFor()
977 mMinMax.put(new Size(x, y), minMax); in addExtremeSizesFor()