Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: telemetry/telemetry/core/platform.py

Issue 2847563002: Rename WaitForTemperature to WaitForBatteryTemperature (Closed)
Patch Set: move documentation to public api Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: telemetry/telemetry/core/platform.py
diff --git a/telemetry/telemetry/core/platform.py b/telemetry/telemetry/core/platform.py
index 7435c4ee249cdfb708fbd374335dfe18993b9f23..adbb20335ea61456f7266c7d54b69f85c2fb5284 100644
--- a/telemetry/telemetry/core/platform.py
+++ b/telemetry/telemetry/core/platform.py
@@ -421,5 +421,10 @@ class Platform(object):
def HasBattOrConnected(self):
return self._platform_backend.HasBattOrConnected()
- def WaitForTemperature(self, temp):
- return self._platform_backend.WaitForTemperature(temp)
+ def WaitForBatteryTemperature(self, temp):
+ """Waits for the battery on the device under test to cool down to temp.
+
+ Args:
+ temp: temperature target in degrees C.
+ """
+ return self._platform_backend.WaitForBatteryTemperature(temp)
« no previous file with comments | « devil/devil/android/tools/provision_devices.py ('k') | telemetry/telemetry/internal/platform/android_platform_backend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698