Searched refs:measurements (Results 1 – 8 of 8) sorted by relevance
82 final List<Long> measurements = new ArrayList<Long>(); in testFilesListedPerformance() local106 measurements.add(System.currentTimeMillis() - mStartTime); in testFilesListedPerformance()123 assertEquals(i + 1, measurements.size()); in testFilesListedPerformance()129 assertEquals(NUM_MEASUREMENTS, measurements.size()); in testFilesListedPerformance()132 status.putDouble(KEY_FILES_LISTED_PERFORMANCE_FIRST, measurements.get(0)); in testFilesListedPerformance()134 final Long[] rawMeasurements = measurements.toArray(new Long[NUM_MEASUREMENTS]); in testFilesListedPerformance()
74 long[] measurements = new long[NUM_MEASUREMENTS]; in runFilesStartPerformanceTest() local89 measurements[i] = LauncherActivity.measurement; in runFilesStartPerformanceTest()93 : KEY_FILES_WARM_START_PERFORMANCE_MEDIAN, measurements); in runFilesStartPerformanceTest()96 private void reportMetrics(String key, long[] measurements) { in reportMetrics() argument98 Arrays.sort(measurements); in reportMetrics()99 final long median = measurements[NUM_MEASUREMENTS / 2 - 1]; in reportMetrics()
334 ArrayList<Measurement> measurements = new ArrayList(totalMeasurementCount()); in getMeasurements() local339 measurements.add(entry.getValue()); in getMeasurements()345 measurements.add(entry.getValue()); in getMeasurements()350 measurements.add(entry.getValue()); in getMeasurements()355 measurements.add(entry.getValue()); in getMeasurements()362 measurements.add(entry.getValue()); in getMeasurements()368 measurements.add(entry.getValue()); in getMeasurements()373 measurements.add(entry.getValue()); in getMeasurements()378 measurements.add(entry.getValue()); in getMeasurements()382 return measurements; in getMeasurements()
97 // more recent measurements get a higher weight.
279 * Different duration measurements.
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...