Home
last modified time | relevance | path

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

123456

/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/ml/nn/tools/
Dbuild_and_run_benchmark.sh32 if ! adb -d shell test -f /data/local.prop; then
33 adb -d shell 'echo ro.setupwizard.mode=DISABLED > /data/local.prop'
34 adb -d shell 'chmod 644 /data/local.prop'
35 adb -d shell 'settings put global device_provisioned 1*'
36 adb -d shell 'settings put secure user_setup_complete 1'
45 adb -d shell stop
49 adb -d shell start
56 adb -d shell 'echo testing > /data/local/enable_menu_key'
58 adb -d shell settings put system screen_off_timeout 86400000
61 adb -d shell 'pm disable com.google.android.googlequicksearchbox'
[all …]
/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.md27 …system/bin && adb push ${OUT}/system/lib64/*dumpstate*.so /system/lib64/ && adb shell am bug-report
50 adb shell mkdir /data/nativetest64
56 …& adb push ${OUT}/data/nativetest64/dumpstate_* /data/nativetest64 && adb shell /data/nativetest64…
62 …b push ${OUT}/data/nativetest64/dumpstate_test* /data/nativetest64 && adb shell /data/nativetest64…
68 adb shell setprop dumpstate.dry_run true
74 adb shell setprop dumpstate.unroot true
80 adb shell setprop dumpstate.version VERSION_NAME
86 adb shell setprop dumpstate.version split-dumpsys && adb shell dumpstate -v
92 adb shell setprop dumpstate.version default
110 alias br='adb shell cmd activity bug-report'
[all …]
/frameworks/ml/nn/runtime/test/fuzzing/
Dvisualize_random_graph.sh32 DUMPSPEC=$(adb shell getprop debug.nn.fuzzer.dumpspec)
33 LOGLEVEL=$(adb shell getprop debug.nn.fuzzer.log)
44 adb shell setprop debug.nn.fuzzer.dumpspec 1
45 adb shell setprop debug.nn.fuzzer.log silence
49 adb shell /data/local/tmp/NeuralNetworksTest_static_fuzzing --gtest_filter=$TEST_NAME
52 adb shell setprop debug.nn.fuzzer.dumpspec $DUMPSPEC
53 adb shell setprop debug.nn.fuzzer.log $LOGLEVEL
/frameworks/base/core/tests/overlaytests/host/src/com/android/server/om/hosttest/
DInstallOverlayTests.java183 assertTrue(shell("cmd overlay list " + DEVICE_TEST_PKG).contains(DEVICE_TEST_PKG)); in testAdbShellOMSInterface()
184 assertTrue(shell("cmd overlay list " + DEVICE_TEST_PKG).contains(APP_OVERLAY_PACKAGE_NAME)); in testAdbShellOMSInterface()
186 shell("cmd overlay list " + APP_OVERLAY_PACKAGE_NAME).trim()); in testAdbShellOMSInterface()
188 shell("cmd overlay dump state " + APP_OVERLAY_PACKAGE_NAME).trim()); in testAdbShellOMSInterface()
192 shell("cmd overlay list " + APP_OVERLAY_PACKAGE_NAME).trim()); in testAdbShellOMSInterface()
194 shell("cmd overlay dump state " + APP_OVERLAY_PACKAGE_NAME).trim()); in testAdbShellOMSInterface()
215 shell("cmd package install-existing --wait --full " + pkg); in installConvertExistingInstantPackageToFull()
219 shell("cmd package " + (enabled ? "enable " : "disable ") + pkg); in setPackageEnabled()
224 shell("cmd overlay " + (enabled ? "enable " : "disable ") + pkg); in setOverlayEnabled()
229 return shell("cmd overlay list").contains(pkg); in overlayManagerContainsPackage()
[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/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/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/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/av/media/libeffects/lvm/tests/
Dbuild_and_run_all_unit_tests.sh25 adb shell mkdir -p $testdir
96 adb shell $testdir/lvmtest -i:$testdir/sinesweepraw.raw \
111 adb shell cmp $testdir/sinesweep_1_$((fs)).raw \
115 adb shell $testdir/snr $testdir/sinesweep_1_$((fs)).raw \
130 adb shell rm -r $testdir

123456