Searched refs:adb (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/base/libs/hwui/tests/scripts/
H A Dprep_ryu.sh0 adb root
2 adb wait-for-device
3 adb shell stop thermal-engine
4 adb shell stop perfd
10 adb shell "echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
11 adb shell "echo $S > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
12 adb shell "echo $S > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq"
31 adb shell "echo 04 > /sys/devices/57000000.gpu/pstate"
H A Dprep_volantis.sh17 adb root
18 adb wait-for-device
19 adb shell stop perfd
20 adb shell stop thermal-engine
31 adb shell "echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
32 adb shell "echo $S > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
33 adb shell "echo $S > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq"
34 adb shell "echo $S > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"
37 adb shell "echo 0 > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/enable"
45 adb shel
[all...]
H A Dprep_marlfish.sh5 adb root
6 adb wait-for-device
7 adb shell stop thermal-engine
8 adb shell stop perfd
23 adb shell "echo userspace > $cpubase/cpu2/cpufreq/scaling_governor"
25 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_max_freq"
26 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_min_freq"
31 adb shell "echo 0 > /sys/class/kgsl/kgsl-3d0/bus_split"
32 adb shell "echo 1 > /sys/class/kgsl/kgsl-3d0/force_clk_on"
33 adb shel
[all...]
H A Dstopruntime.sh17 adb root
18 adb wait-for-device
19 adb shell stop
21 for pid in $( adb shell ps | awk '{ if ( $9 == "surfaceflinger" ) { print $2 } }' ); do
22 adb shell kill $pid
24 adb shell setprop debug.egl.traceGpuCompletion 1
25 adb shell setprop debug.sf.nobootanimation 1
27 adb shell daemonize surfaceflinger
H A Dprep_buller.sh3 nr=$(adb shell cat /proc/cpuinfo | grep processor | wc -l)
7 adb root
8 adb wait-for-device
9 adb shell stop thermal-engine
10 adb shell stop perfd
22 adb shell "echo 1 > $cpubase/cpu${cpu}/online"
23 adb shell "echo userspace > $cpubase/cpu${cpu}/$gov"
24 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_max_freq"
25 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_min_freq"
26 adb shel
[all...]
H A Dprep_fugu.sh6 adb root
7 adb wait-for-device
8 thermal=$(adb shell "getprop persist.service.thermal")
13 adb shell "setprop persist.service.thermal 0"
14 adb reboot
15 adb wait-for-device
16 thermal=$(adb shell "getprop persist.service.thermal")
25 adb shell stop perfprod
36 adb shell "echo 1 > $cpubase/cpu${cpu}/online" &> /dev/null
37 adb shel
[all...]
/frameworks/av/media/libaudioprocessing/tests/
H A Drun_all_unit_tests.sh9 adb root && adb wait-for-device remount
11 adb shell /data/nativetest/resampler_tests/resampler_tests
12 adb shell /data/nativetest64/resampler_tests/resampler_tests
H A Dmixer_to_wav_tests.sh48 adb root && adb wait-for-device remount
49 adb push $OUT/system/lib/libaudioprocessing.so /system/lib
50 adb push $OUT/system/lib64/libaudioprocessing.so /system/lib64
51 adb push $OUT/system/bin/test-mixer /system/bin
66 adb shell test-mixer $1 -s 48000 \
70 adb pull /sdcard/tm48000grif.wav $2
75 adb shell test-mixer $1 -s 48000 \
79 adb pull /sdcard/tm48000gr.wav $2
86 adb shel
[all...]
H A Dbuild_and_run_all_unit_tests.sh16 adb root && adb wait-for-device remount
17 adb push $OUT/system/lib/libaudioresampler.so /system/lib
18 adb push $OUT/system/lib64/libaudioresampler.so /system/lib64
19 adb push $OUT/data/nativetest/resampler_tests/resampler_tests /data/nativetest/resampler_tests/resampler_tests
20 adb push $OUT/data/nativetest64/resampler_tests/resampler_tests /data/nativetest64/resampler_tests/resampler_tests
/frameworks/webview/chromium/tools/
H A Dwebview_command_line21 adb shell "cat $CMD_LINE_FILE 2>/dev/null" | cut -d" " -f "2-"
25 adb shell rm $CMD_LINE_FILE >/dev/null
29 adb shell "echo 'webview $*' > $CMD_LINE_FILE"
30 adb shell chmod 0664 $CMD_LINE_FILE
/frameworks/opt/net/lowpan/tests/
H A Dcommandtest.sh25 adb shell killall wpantund 2> /dev/null
27 adb shell wpantund -s 'system:ot-ncp\ 1' -o Config:Daemon:ExternalNetifManagement 1 &
37 adb shell lowpanctl status || die
38 adb shell lowpanctl form blahnet || die
39 adb shell lowpanctl status || die
40 adb shell ifconfig wpan0 || die
H A Dprepdevice.sh27 adb root || die
28 adb wait-for-device || die
29 adb remount || die
30 adb shell stop || die
31 adb disable-verity
32 adb sync || die
33 adb shell start || die
/frameworks/base/core/tests/utiltests/
H A Druntests.sh19 adb root
20 adb wait-for-device
22 adb install -r -g "$OUT/data/app/FrameworksUtilTests/FrameworksUtilTests.apk"
24 adb shell am instrument -w "$@" 'com.android.frameworks.utiltests/android.support.test.runner.AndroidJUnitRunner'
/frameworks/base/lowpan/tests/
H A Druntests.sh19 adb root
20 adb wait-for-device
22 adb install -r -g "$OUT/data/app/FrameworksLowpanApiTests/FrameworksLowpanApiTests.apk"
24 adb shell am instrument -w "$@" 'android.net.lowpan.test/android.support.test.runner.AndroidJUnitRunner'
/frameworks/base/packages/Osu2/tests/
H A Druntests.sh19 adb root
20 adb wait-for-device
22 adb install -r -g "$OUT/data/app/OsuTests/OsuTests.apk"
24 adb shell am instrument -w "$@" 'com.android.osu.tests/android.support.test.runner.AndroidJUnitRunner'
/frameworks/base/wifi/tests/
H A Druntests.sh19 adb root
20 adb wait-for-device
22 adb install -r -g "$OUT/data/app/FrameworksWifiApiTests/FrameworksWifiApiTests.apk"
24 adb shell am instrument -w "$@" 'android.net.wifi.test/android.support.test.runner.AndroidJUnitRunner'
/frameworks/opt/net/lowpan/libandroid_net_lowpan/tests/
H A Druntests.sh19 adb root
20 adb wait-for-device
22 adb install -r -g "$OUT/data/app/FrameworksLowpanApiNativeTests/FrameworksLowpanApiNativeTests.apk"
24 adb shell am instrument -w "$@" 'android.net.lowpan.testnative/android.support.test.runner.AndroidJUnitRunner'
/frameworks/base/tests/HierarchyViewerTest/
H A Drun_tests.sh3 adb install $OUT/data/app/HierarchyViewerTest/HierarchyViewerTest.apk
4 adb shell am instrument -w com.android.test.hierarchyviewer/android.test.InstrumentationTestRunner
/frameworks/base/packages/SystemUI/scripts/
H A Dcopy_profile_icons.sh3 for user in `adb $* shell ls /data/system/users | grep -v xml`
6 adb shell mkdir /data/user/${user}/users
7 for photo in `adb $* shell ls /data/system/users | grep -v xml`
10 adb shell mkdir /data/user/${user}/users/${photo}
11 adb pull /data/system/users/${photo}/photo.png
12 adb push photo.png /data/user/${user}/users/${photo}
/frameworks/rs/perf-test-scripts/
H A Dset-cpu-freq13 [ `adb shell "[ -f $1 ] && echo 1 || echo 0" | tr -d '\r'` -eq 1 ]
17 echo `adb shell cat $1 | tr -d '\r'`
24 adb shell "echo -n $2 > $1"
36 if [[ "`adb shell id | tr -d '\r' | awk -F'[()]' '{print $2}'`" != "root" ]]; then
37 adb root
38 adb wait-for-device
42 echo Device: `adb shell getprop ro.product.model`
46 cores=`adb shell ls /sys/devices/system/cpu/ | grep cpu[0-9].* | tr -d '\r'`
49 adb shell setprop debug.rs.default-CPU-driver 1
56 adb shel
[all...]
H A Dget-thermal8 [ `adb shell "[ -d $1 ] && echo found"` ]
11 [ `adb shell "[ -f $1 ] && echo found"` ]
15 echo "`adb shell cat $1 | tr -d '\r'`"
34 if [[ "`adb shell id | tr -d '\r' | awk -F'[()]' '{print $2}'`" != "root" ]]; then
35 adb root
36 adb wait-for-device
40 echo Device: `adb shell getprop ro.product.model`
43 ZONES=`adb shell ls $DIR | tr -d '\r' | grep thermal_zone | tr -d thermal_zone | sort -n`
H A Dswitch-device42 # if adb is not available, try to set it up
43 if [ ! `which adb` ]; then
44 echo "\"adb\" not setup. Using branch \"$BRANCH\" and lunch type \"$LUNCH_TYPE\""
54 adb devices -l
58 STR=(`adb devices -l | grep "$1"`)
H A Dget-freq9 [ `adb shell "[ -f $1 ] && echo found"` ]
13 echo `adb shell cat $1 | tr -d '\r'`
20 adb shell "echo -n $2 > $1"
28 if [[ "`adb shell id | tr -d '\r' | awk -F'[()]' '{print $2}'`" != "root" ]]; then
29 adb root
30 adb wait-for-device
34 echo Device: `adb shell getprop ro.product.model`
40 cores=`adb shell ls /sys/devices/system/cpu/ | grep cpu[0-9].* | tr -d '\r'`
57 frequencies=(`adb shell cat $CPU_DIR/$core/cpufreq/stats/time_in_state | cut -f1 -d " " | tr -d '\r'`)
/frameworks/base/tests/backup/
H A Dtest_backup_common.sh19 # run adb with options
20 function a { $DRY_RUN adb $ADB_OPTS "$@"; }
22 # restart adb as root and wait for it to come back again
27 echo -n "Restarting adb as root..."
/frameworks/base/core/tests/coretests/src/android/database/
H A Drun_newdb_perf_test.sh17 adb install -r -g ${ANDROID_PRODUCT_OUT}/data/app/FrameworksCoreTests/FrameworksCoreTests.apk
18 adb logcat -c
26 adb shell am instrument -e class 'android.database.NewDatabasePerformanceTestSuite' -w 'com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner'
29 adb logcat -d > /tmp/testlogcat.txt

Completed in 546 milliseconds

12