| 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 a7df79b6b80bfbbacd0fe3fc320fe5a719c48e8c..2f12cfe4449377ca0a03fc9d42069b31403baf93 100644
|
| --- a/telemetry/telemetry/internal/platform/android_platform_backend.py
|
| +++ b/telemetry/telemetry/internal/platform/android_platform_backend.py
|
| @@ -606,7 +606,7 @@ class AndroidPlatformBackend(
|
| saved_profile_location = '/sdcard/profile/%s' % profile_base
|
| self._device.PushChangedFiles([(new_profile_dir, saved_profile_location)])
|
|
|
| - profile_dir = self._GetProfileDir(package)
|
| + profile_dir = self.GetProfileDir(package)
|
| self._EfficientDeviceDirectoryCopy(
|
| saved_profile_location, profile_dir)
|
| dumpsys = self._device.RunShellCommand(
|
| @@ -643,7 +643,7 @@ class AndroidPlatformBackend(
|
| profile is to be deleted.
|
| ignore_list: List of files to keep.
|
| """
|
| - profile_dir = self._GetProfileDir(package)
|
| + profile_dir = self.GetProfileDir(package)
|
| if not self._device.PathExists(profile_dir):
|
| return
|
| files = [
|
| @@ -662,7 +662,7 @@ class AndroidPlatformBackend(
|
| profile is to be copied.
|
| output_profile_dir: Location where profile to be stored on host machine.
|
| """
|
| - profile_dir = self._GetProfileDir(package)
|
| + profile_dir = self.GetProfileDir(package)
|
| logging.info("Pulling profile directory from device: '%s'->'%s'.",
|
| profile_dir, output_profile_path)
|
| # To minimize bandwidth it might be good to look at whether all the data
|
| @@ -688,7 +688,7 @@ class AndroidPlatformBackend(
|
| for filepath in problem_files:
|
| logging.warning('- %s', filepath)
|
|
|
| - def _GetProfileDir(self, package):
|
| + def GetProfileDir(self, package):
|
| """Returns the on-device location where the application profile is stored
|
| based on Android convention.
|
|
|
|
|