Home
last modified time | relevance | path

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

12345

/frameworks/base/libs/hwui/tests/scripts/
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/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/native/cmds/atrace/
Datrace.rc9 # Allow the shell group to enable (some) kernel tracing.
10 chown root shell /sys/kernel/debug/tracing/trace_clock
11 chown root shell /sys/kernel/tracing/trace_clock
12 chown root shell /sys/kernel/debug/tracing/buffer_size_kb
13 chown root shell /sys/kernel/tracing/buffer_size_kb
14 chown root shell /sys/kernel/debug/tracing/options/overwrite
15 chown root shell /sys/kernel/tracing/options/overwrite
16 chown root shell /sys/kernel/debug/tracing/options/print-tgid
17 chown root shell /sys/kernel/tracing/options/print-tgid
18 chown root shell /sys/kernel/debug/tracing/saved_cmdlines_size
[all …]
Datrace_userdebug.rc4 # Allow the shell group to enable kernel tracepoints:
7 chown root shell /sys/kernel/debug/tracing/events/sync/enable
8 chown root shell /sys/kernel/debug/tracing/events/workqueue/enable
9 chown root shell /sys/kernel/debug/tracing/events/regulator/enable
10 chown root shell /sys/kernel/debug/tracing/events/pagecache/enable
13 chown root shell /sys/kernel/debug/tracing/events/irq/enable
14 chown root shell /sys/kernel/debug/tracing/events/ipi/enable
17 chown root shell /sys/kernel/debug/tracing/events/f2fs/f2fs_sync_file_enter/enable
18 chown root shell /sys/kernel/debug/tracing/events/f2fs/f2fs_sync_file_exit/enable
19 chown root shell /sys/kernel/debug/tracing/events/f2fs/f2fs_write_begin/enable
[all …]
/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
Dtiming68 [ `adb shell "[ -f $1 ] && echo found"` ]
189 adb shell pm grant com.android.rs.imagejb android.permission.READ_EXTERNAL_STORAGE
190 adb shell pm grant com.android.rs.imagejb android.permission.WRITE_EXTERNAL_STORAGE
205 …adb shell "am instrument -w $VARIABLES -e class $TEST_ROOT#${FUNCTION_NAMES[$testId]} $RUNNER" > /…
209 adb shell cat /sdcard/rsTimes/${TEST_NAMES[$testId]}_DATA.txt > timing.tmp
259 adb shell "am instrument -w $VARIABLES $TESTS_TEXT $RUNNER"
269 adb shell cat /sdcard/rsTimes/${TEST_NAMES[$testId]}_DATA.txt > timing.tmp
/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/opt/net/lowpan/tests/
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
/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/webview/chromium/tools/
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/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