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

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: fix more tests 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
« no previous file with comments | « telemetry/telemetry/core/platform.py ('k') | telemetry/telemetry/internal/platform/platform_backend.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..42bf917b5732d14816b113d4c17dfafffcb7467e 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, so we convert to that scale.
+ self._battery.LetBatteryCoolToTemperature(temp * 10)
+
def _FixPossibleAdbInstability():
"""Host side workaround for crbug.com/268450 (adb instability).
« no previous file with comments | « telemetry/telemetry/core/platform.py ('k') | telemetry/telemetry/internal/platform/platform_backend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698