From c3c4f6fa89d65b72b4c1b21ad5af4887e9d63389 Mon Sep 17 00:00:00 2001 From: Naresh Kamboju Date: Wed, 4 Feb 2015 19:02:00 +0530 Subject: print adb shell id Signed-off-by: Naresh Kamboju --- common/common.sh | 2 ++ lava-android-benchmark-host.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common/common.sh b/common/common.sh index abc213a..3139234 100755 --- a/common/common.sh +++ b/common/common.sh @@ -66,6 +66,7 @@ function init(){ fi sleep 2 adb shell am start 'rotation.off/.RotationOff' + adb shell id sleep 2 adb shell "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor > /data/governor.txt" adb shell "echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" @@ -83,6 +84,7 @@ function init(){ function cleanup(){ + adb shell id adb shell "cat /data/governor.txt > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" adb shell "cat /data/governor.txt > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor" adb shell rm /data/governor.txt diff --git a/lava-android-benchmark-host.yaml b/lava-android-benchmark-host.yaml index 1a8032d..13548ce 100644 --- a/lava-android-benchmark-host.yaml +++ b/lava-android-benchmark-host.yaml @@ -13,7 +13,7 @@ metadata: install: git-repos: - - http://git.linaro.org/git/qa/android-apk-automation.git + - http://git.linaro.org/git/people/naresh.kamboju/android-apk-automation-adb-root.git - https://github.com/mwasilew/AndroidViewClient.git steps: - cd AndroidViewClient/ -- cgit v1.2.3