Index: tools/telemetry/telemetry/core/platform/android_platform_backend.py |
diff --git a/tools/telemetry/telemetry/core/platform/android_platform_backend.py b/tools/telemetry/telemetry/core/platform/android_platform_backend.py |
index d0ec854e32dc51968b566a2c9614021f33373f3a..e65865f55a8b8f7770ee4ae90b8b4d3cffa90731 100644 |
--- a/tools/telemetry/telemetry/core/platform/android_platform_backend.py |
+++ b/tools/telemetry/telemetry/core/platform/android_platform_backend.py |
@@ -109,21 +109,6 @@ class AndroidPlatformBackend( |
def HasBeenThermallyThrottled(self): |
return self._thermal_throttle.HasBeenThrottled() |
- def GetSystemCommitCharge(self): |
- for line in self._device.old_interface.RunShellCommand( |
- 'dumpsys meminfo', log_result=False): |
- if line.startswith('Total PSS: '): |
- return int(line.split()[2]) * 1024 |
- return 0 |
- |
- @decorators.Cache |
- def GetSystemTotalPhysicalMemory(self): |
- for line in self._device.old_interface.RunShellCommand( |
- 'dumpsys meminfo', log_result=False): |
- if line.startswith('Total RAM: '): |
- return int(line.split()[2]) * 1024 |
- return 0 |
- |
def GetCpuStats(self, pid): |
if not self._can_access_protected_file_contents: |
logging.warning('CPU stats cannot be retrieved on non-rooted device.') |