/libcore/ojluni/src/main/java/java/util/ |
IntSummaryStatistics.java | 148 public final double getAverage() { 167 getAverage(),
|
DoubleSummaryStatistics.java | 210 public final double getAverage() { 229 getAverage(),
|
LongSummaryStatistics.java | 160 public final double getAverage() { 179 getAverage(),
|
/cts/common/util/tests/src/com/android/compatibility/common/util/ |
StatTest.java | 51 * Test {@link Stat#getAverage(double[])}. 55 double average = Stat.getAverage(values); 59 average = Stat.getAverage(values); 63 average = Stat.getAverage(values);
|
/libcore/luni/src/test/java/libcore/java/util/ |
IntSummaryStatisticsTest.java | 30 assertEquals(0.0d, iss.getAverage()); 54 assertEquals(9.833333d, issCombined.getAverage(), 1E-6); 79 assertEquals(14.857142, iss1.getAverage(), 1E-6);
|
DoubleSummaryStatisticsTest.java | 30 assertEquals(0.0d, dss.getAverage()); 53 assertEquals(13.7, dssCombined.getAverage(), 1E-6); 87 assertEquals(21.2, dss1.getAverage(), 1E-6); 90 assertEquals(Double.NaN, dss1.getAverage());
|
LongSummaryStatisticsTest.java | 30 assertEquals(0.0d, lss.getAverage()); 64 assertEquals(9.833333, lssCombined.getAverage(), 1E-6); 89 assertEquals(14.857142, lss1.getAverage(), 1E-6);
|
/cts/tests/tvprovider/src/android/tvprovider/cts/ |
TvProviderPerfTest.java | 112 averages[0] = Stat.getAverage(applyBatchTimes); 140 averages[1] = Stat.getAverage(applyBatchTimes); 156 averages[2] = Stat.getAverage(applyBatchTimes); 176 averages[3] = Stat.getAverage(applyBatchTimes); 187 averages[4] = Stat.getAverage(applyBatchTimes); 250 averages[0] = Stat.getAverage(applyBatchTimes); 285 averages[1] = Stat.getAverage(applyBatchTimes); 301 averages[2] = Stat.getAverage(applyBatchTimes); 321 averages[3] = Stat.getAverage(applyBatchTimes); 341 averages[4] = Stat.getAverage(applyBatchTimes) [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
AutomaticActivity.java | 131 public float getAverage() { 186 int cmp = Float.compare(lhs.getAverage(), rhs.getAverage()); 199 if (Math.abs(t.getAverage()) > ERROR_DISPLAY_THRESHOLD) { 200 Log.d(LOG_TAG, String.format("%2.4f : %s", t.getAverage(), t.mLabel));
|
/external/libgdx/gdx/src/com/badlogic/gdx/input/ |
GestureDetector.java | 416 float meanX = getAverage(this.meanX, numSamples);
417 float meanTime = getAverage(this.meanTime, numSamples) / 1000000000.0f;
423 float meanY = getAverage(this.meanY, numSamples);
424 float meanTime = getAverage(this.meanTime, numSamples) / 1000000000.0f;
429 private float getAverage (float[] values, int numSamples) {
438 private long getAverage (long[] values, int numSamples) {
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
AuptTestCase.java | 177 private static Long getAverage(Collection<Long> samples) { 355 out.printf("Average Native Heap: %d\n", MemHealthRecord.getAverage(nativeHeap)); 356 out.printf("Average Dalvik Heap: %d\n", MemHealthRecord.getAverage(dalvikHeap)); 357 out.printf("Average PSS: %d\n", MemHealthRecord.getAverage(pss)); 375 out.printf("Average Native Heap: %d\n", MemHealthRecord.getAverage(nativeHeap)); 376 out.printf("Average Dalvik Heap: %d\n", MemHealthRecord.getAverage(dalvikHeap)); 377 out.printf("Average PSS: %d\n", MemHealthRecord.getAverage(pss));
|
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/ |
SourceLatency.java | 81 public synchronized long getAverage() { 118 Log.d(TAG, src + "[DONE]: " + length + " queries in " + formatTime(time.getAverage()) 129 Log.d(TAG, src + "[DONE]: " + count + " queries in " + formatTime(time.getAverage())
|
/libcore/ojluni/src/test/java/util/stream/ |
TestDoubleSumAverage.java | 84 failures += compareUlpDifference(expectedAvg, stats.getAverage(), 3); 133 failures += compareUlpDifference(expected, stats.getAverage(), 0);
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
PerformanceTest.java | 184 avgCameraLaunchTimes[counter] = Stat.getAverage(cameraLaunchTimes); 210 Stat.getAverage(avgCameraLaunchTimes), ResultType.LOWER_BETTER, ResultUnit.MS); 320 avgResultTimes[counter] = Stat.getAverage(getResultTimes); 335 Stat.getAverage(avgResultTimes), ResultType.LOWER_BETTER, ResultUnit.MS); 571 Stat.getAverage(maxCaptureGapsMs), ResultType.LOWER_BETTER, ResultUnit.MS); [all...] |
/cts/common/util/src/com/android/compatibility/common/util/ |
Stat.java | 108 public static double getAverage(double[] data) {
|
/cts/libs/deviceutil/src/android/cts/util/ |
MediaPerfUtils.java | 116 long avg = Math.round(statsUs.getAverage());
|
MediaUtils.java | 712 public double getAverage() {
|
/cts/tests/video/src/android/video/cts/ |
VideoEncoderDecoderTest.java | [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.test.performance_3.6.0.v20091014.jar | |
/frameworks/support/samples/SupportLeanbackShowcase/libs/ |
picasso-2.5.2.jar | |
/prebuilts/sdk/tools/jills/ |
jill-3.36.CANDIDATE.jar | |
jill-4.7.BETA.jar | |
/prebuilts/sdk/24/ |
android.jar | |
/prebuilts/tools/common/m2/repository/net/sourceforge/pmd/pmd/5.1.1/ |
pmd-5.1.1.jar | |