Searched refs:createSampleForTesting (Results 1 – 2 of 2) sorted by relevance
433 samples.add(watcher.createSampleForTesting(i, (float) (i / 2 * 2))); in testTemperatureWatcherGetSlopeOf()457 samples.add(watcher.createSampleForTesting(0, 25.0f)); in testTemperatureWatcherGetForecast()467 samples.add(0, watcher.createSampleForTesting(1000 * i, 25.0f + 0.5f * i)); in testTemperatureWatcherGetForecast()
1521 Sample createSampleForTesting(long time, float temperature) { in createSampleForTesting() method in ThermalManagerService.TemperatureWatcher