Home
last modified time | relevance | path

Searched refs:shell (Results 1 – 25 of 110) sorted by relevance

12345

/frameworks/base/libs/hwui/tests/scripts/
Dprep_taieye.sh1 nr=$(adb shell cat /proc/cpuinfo | grep processor | wc -l)
6 adb shell stop vendor.perfd
7 adb shell stop thermal-engine
15 adb shell "echo userspace > $cpubase/cpu${cpu}/cpufreq/scaling_governor"
16 adb shell "echo 1 > $cpubase/cpu${cpu}/online"
17 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_max_freq"
18 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_min_freq"
24 adb shell "echo 0 > $cpubase/cpu${cpu}/online"
29 adb shell "echo 0 > /sys/class/kgsl/kgsl-3d0/bus_split"
30 adb shell "echo 1 > /sys/class/kgsl/kgsl-3d0/force_clk_on"
[all …]
Dprep_buller.sh3 nr=$(adb shell cat /proc/cpuinfo | grep processor | wc -l)
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 shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_setspeed"
32 adb shell "echo 0 > $cpubase/cpu${cpu}/online"
37 adb shell "echo 0 > /sys/class/kgsl/kgsl-3d0/bus_split"
[all …]
Dprep_marlfish.sh7 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 shell "echo 10000 > /sys/class/kgsl/kgsl-3d0/idle_timer"
36 adb shell "echo 13763 > /sys/class/devfreq/soc:qcom,gpubw/min_freq" &> /dev/null
40 adb shell "echo performance > /sys/class/kgsl/kgsl-3d0/devfreq/governor"
[all …]
Dprep_fugu.sh8 thermal=$(adb shell "getprop persist.service.thermal")
13 adb shell "setprop persist.service.thermal 0"
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 shell "echo userspace > $cpubase/cpu${cpu}/$gov"
38 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_max_freq"
39 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_min_freq"
40 adb shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_setspeed"
46 adb shell "echo performance > /sys/class/devfreq/dfrgx/governor"
[all …]
Dprep_volantis.sh19 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 shell "echo 1 > /d/clock/override.gbus/state"
46 adb shell "echo $S > /d/clock/override.gbus/rate"
Dprep_ryu.sh3 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"
Dstopruntime.sh19 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
/frameworks/opt/net/lowpan/tests/
Djointest.sh14 adb shell
36 adb shell killall wpantund 2> /dev/null
38 adb shell wpantund -I wpan5 -s 'system:ot-ncp\ 1' -o Config:Daemon:ExternalNetifManagement 1 &
40 adb shell wpantund -I wpan6 -s 'system:ot-ncp\ 2' -o Config:Daemon:ExternalNetifManagement 1 &
52 adb shell lowpanctl -I wpan5 status || die
54 adb shell lowpanctl -I wpan5 form blahnet --panid 1234 --xpanid 0011223344556677 --channel 11 || die
56 adb shell lowpanctl -I wpan5 status || die
58 adb shell lowpanctl -I wpan5 show-credential || die
60 CREDENTIAL=`adb shell lowpanctl -I wpan5 show-credential -r` || die
63 adb shell lowpanctl -I wpan6 status || die
[all …]
Dcommandtest.sh23 adb shell killall wpantund 2> /dev/null
27 adb shell wpantund -I wpan5 -s 'system:ot-ncp\ 1' -o Config:Daemon:ExternalNetifManagement 1 &
37 adb shell lowpanctl -I wpan5 status || die
39 adb shell lowpanctl -I wpan5 form blahnet || die
41 adb shell lowpanctl -I wpan5 status || die
43 adb shell ifconfig wpan5 || die
45 adb shell dumpsys netd || die
47 adb shell ip -6 rule || die
49 adb shell ip -6 route list table wpan5 || die
54 adb shell
Dscantest.sh22 adb shell killall wpantund 2> /dev/null
25 adb shell wpantund -I wpan5 -s 'system:ot-ncp\ 1' -o Config:Daemon:ExternalNetifManagement 1 &
28 adb shell wpantund -I wpan6 -s 'system:ot-ncp\ 2' -o Config:Daemon:ExternalNetifManagement 1 &
38 adb shell lowpanctl -I wpan5 form blahnet || die
40 adb shell lowpanctl -I wpan5 status || die
42 adb shell lowpanctl -I wpan6 scan || die
/frameworks/base/tests/backup/
Dtest_restore.sh25 data=$(a shell cat /data/data/com.android.backuptest/$1)
40 data=$(a shell "ls $@ 2> /dev/null >/dev/null && echo -n exists")
53 a shell "ls -l /data/data/com.android.backuptest/files"
54 a shell "rm /data/data/com.android.backuptest/files/*"
56 a shell "ls -l /data/data/com.android.backuptest/shared_prefs"
57 a shell "rm /data/data/com.android.backuptest/shared_prefs/*"
59 a shell "ls -l /data/data/com.android.backuptest/files"
60 a shell "ls -l /data/data/com.android.backuptest/shared_prefs"
69 restore_set=$(a shell bmgr list sets | head -n1 | awk '{print $1}')
73 a shell bmgr restore "$restore_set"
[all …]
Dtest_backup.sh22 b_pkgs=$(a shell dumpsys backup | \
28 a shell bmgr wipe "$pkg"
44 a shell \
61 a shell bmgr backup com.android.backuptest
64 a shell bmgr run
/frameworks/rs/perf-test-scripts/
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"
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 shell stop $service
65 adb shell "echo -n 1 > $DIR/$core/online"
72 … frequencies=(`adb shell cat $DIR/$core/cpufreq/stats/time_in_state | cut -f1 -d " " | tr -d '\r'`)
86 adb shell "echo -n $freq > $DIR/$core/cpufreq/scaling_min_freq"
[all …]
Dget-freq9 [ `adb shell "[ -f $1 ] && echo found"` ]
13 echo `adb shell cat $1 | tr -d '\r'`
20 adb shell "echo -n $2 > $1"
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 '\…
Dget-thermal8 [ `adb shell "[ -d $1 ] && echo found"` ]
11 [ `adb shell "[ -f $1 ] && echo found"` ]
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`
Dset-gpu-freq13 [ `adb shell "[ -f $1 ] && echo found"` ]
17 echo `adb shell cat $1 | tr -d '\r'`
24 adb shell "echo -n $2 > $1"
42 echo Device: `adb shell getprop ro.product.model`
73 adb shell stop $service
/frameworks/native/cmds/dumpstate/
DREADME.md26 …native/cmds/dumpstate && adb push ${OUT}/system/bin/dumpstate system/bin && adb shell am bug-report
34 adb shell mkdir /data/nativetest
40 …& adb push ${OUT}/data/nativetest/dumpstate_test* /data/nativetest && adb shell /data/nativetest/d…
46 …& adb push ${OUT}/data/nativetest/dumpstate_test* /data/nativetest && adb shell /data/nativetest/d…
52 adb shell setprop dumpstate.dry_run true
58 adb shell setprop dumpstate.version VERSION_NAME
64 adb shell setprop dumpstate.version split-dumpsys && adb shell dumpstate -v
71 adb shell setprop dumpstate.version default
88 alias br='adb shell cmd activity bug-report'
89 alias ls_bugs='adb shell ls -l ${BR_DIR}/'
[all …]
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportWarningActivity.java17 package com.android.shell;
19 import static com.android.shell.BugreportPrefs.STATE_HIDE;
20 import static com.android.shell.BugreportPrefs.STATE_SHOW;
21 import static com.android.shell.BugreportPrefs.STATE_UNKNOWN;
22 import static com.android.shell.BugreportPrefs.getWarningState;
23 import static com.android.shell.BugreportPrefs.setWarningState;
24 import static com.android.shell.BugreportProgressService.sendShareIntent;
DRemoteBugreportReceiver.java17 package com.android.shell;
19 import static com.android.shell.BugreportProgressService.EXTRA_BUGREPORT;
20 import static com.android.shell.BugreportProgressService.INTENT_REMOTE_BUGREPORT_FINISHED;
21 import static com.android.shell.BugreportProgressService.getFileExtra;
22 import static com.android.shell.BugreportProgressService.getUri;
23 import static com.android.shell.BugreportReceiver.cleanupOldFiles;
DBugreportReceiver.java17 package com.android.shell;
19 import static com.android.shell.BugreportProgressService.EXTRA_BUGREPORT;
20 import static com.android.shell.BugreportProgressService.EXTRA_ORIGINAL_INTENT;
21 import static com.android.shell.BugreportProgressService.INTENT_BUGREPORT_FINISHED;
22 import static com.android.shell.BugreportProgressService.getFileExtra;
23 import static com.android.shell.BugreportProgressService.dumpIntent;
/frameworks/av/media/libaudioprocessing/tests/
Dmixer_to_wav_tests.sh66 adb shell test-mixer $1 -s 48000 \
75 adb shell test-mixer $1 -s 48000 \
86 adb shell test-mixer $1 -c 5 -s 9307 \
95 adb shell test-mixer $1 -s 32000 \
104 adb shell test-mixer $1 -s 32000 \
113 adb shell test-mixer $1 -s 32000 \
121 adb shell test-mixer $1 -s 44100 \
/frameworks/base/packages/SystemUI/docs/
Ddemo_mode.md8 adb shell settings put global sysui_demo_allowed 1
12 …on broadcast intents, and thus can be driven via the command line (```adb shell am broadcast```) o…
66 adb shell am broadcast -a com.android.systemui.demo -e command enter
73 adb shell am broadcast -a com.android.systemui.demo -e command exit
80 adb shell am broadcast -a com.android.systemui.demo -e command clock -e hhmm
88 adb shell am broadcast -a com.android.systemui.demo -e command network -e wifi
96 adb shell am broadcast -a com.android.systemui.demo -e command status -e volume
104 adb shell am broadcast -a com.android.systemui.demo -e command battery -e level
112 adb shell am broadcast -a com.android.systemui.demo -e command notifications -e
120 adb shell am broadcast -a com.android.systemui.demo -e command exit
[all …]
/frameworks/base/cmds/statsd/tools/loadtest/
Drun_loadtest.sh12 adb shell am start -n com.android.statsd.loadtest/.LoadtestActivity --es "type" "start"
18 adb shell am start -n com.android.statsd.loadtest/.LoadtestActivity --es "type" "stop"
25 …adb shell am start -n com.android.statsd.loadtest/.LoadtestActivity --es "type" "set_replication" …
32 get_mem=$(adb shell dumpsys meminfo |grep statsd)
47 adb shell kill -9 "${pid}"
/frameworks/base/packages/SystemUI/scripts/
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}
/frameworks/rs/tests/lldb/tests/harness/
Dutil_android.py213 output = self.shell(cmd, False, 60)
233 def shell(self, cmd, async=False, timeout=None): member in UtilAndroid
268 pid_output = self.shell('pidof ' + process_name)
408 self.shell('kill -9 ' + str(pid))
418 self.shell('am force-stop ' + package_name)
483 output = self.shell('ls /data/ | grep ' + binary_name)
487 stdout = self.shell('exec /data/' + binary_name, True)
532 output = self.shell('pm list packages ' + name)
537 stdout = self.shell(cmd)
551 self.shell(cmd, True)
[all …]

12345