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