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

Unified Diff: telemetry/telemetry/internal/platform/android_platform_backend.py

Issue 2541843007: [Telemetry][Android] Wait for device under test to cool between pages. (Closed)
Patch Set: add as cmdline flag Created 4 years 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/internal/platform/android_platform_backend.py
diff --git a/telemetry/telemetry/internal/platform/android_platform_backend.py b/telemetry/telemetry/internal/platform/android_platform_backend.py
index 5e246425f8c0f0b75fb06911eefa78c29f0fe401..d7c53c66ea6c6ee8985a391bc1687ccae076d0fd 100644
--- a/telemetry/telemetry/internal/platform/android_platform_backend.py
+++ b/telemetry/telemetry/internal/platform/android_platform_backend.py
@@ -791,6 +791,10 @@ class AndroidPlatformBackend(
return battor_wrapper.IsBattOrConnected('linux')
+ def WaitForTemperature(self, temp):
+ # Temperature is in tenths of a degree C.
+ self._battery.LetBatteryCoolToTemperature(temp)
+
def _FixPossibleAdbInstability():
"""Host side workaround for crbug.com/268450 (adb instability).

Powered by Google App Engine
This is Rietveld 408576698