Home
last modified time | relevance | path

Searched refs:adb (Results 1 – 25 of 99) sorted by relevance

1234

/frameworks/base/libs/hwui/tests/scripts/
Dprep_taieye.sh1 nr=$(adb shell cat /proc/cpuinfo | grep processor | wc -l)
4 adb root
5 adb wait-for-device
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"
[all …]
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 shell "echo $S > $cpubase/cpu${cpu}/cpufreq/scaling_setspeed"
[all …]
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 shell "echo 10000 > /sys/class/kgsl/kgsl-3d0/idle_timer"
[all …]
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 shell "echo userspace > $cpubase/cpu${cpu}/$gov"
[all …]
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 shell "echo 1 > /d/clock/override.gbus/state"
[all …]
Dprep_ryu.sh1 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"
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
/frameworks/ml/nn/tools/
Dbuild_and_run_benchmark.sh29 adb -d root
32 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'
37 adb -d disable-verity
38 adb -d reboot
40 adb wait-for-usb-device remount
45 adb -d shell stop
[all …]
/frameworks/av/media/libaudioprocessing/tests/
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 shell test-mixer $1 -c 5 -s 9307 \
89 adb pull /sdcard/tm9307gra.wav $2
[all …]
Dbuild_and_run_all_unit_tests.sh16 adb root && adb wait-for-device remount
17 adb push $OUT/system/lib/libaudioprocessing.so /system/lib
18 adb push $OUT/system/lib64/libaudioprocessing.so /system/lib64
19 adb push $OUT/data/nativetest/resampler_tests/resampler_tests /data/nativetest/resampler_tests/resa…
20 adb push $OUT/data/nativetest64/resampler_tests/resampler_tests /data/nativetest64/resampler_tests/…
/frameworks/native/cmds/dumpstate/
DREADME.md27 …cmds/dumpstate && adb push ${OUT}/system/bin/dumpstate system/bin && adb push ${OUT}/system/lib64/…
35 adb root && adb remount -R && adb wait-for-device && adb root && adb remount
42 adb root && adb remount
50 adb shell mkdir /data/nativetest64
56 … -j frameworks/native/cmds/dumpstate/ && adb push ${OUT}/data/nativetest64/dumpstate_* /data/nativ…
62 …j frameworks/native/cmds/dumpstate/ && adb push ${OUT}/data/nativetest64/dumpstate_test* /data/nat…
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
[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"
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 shell stop $service
65 adb shell "echo -n 1 > $DIR/$core/online"
[all …]
Dget-thermal8 [ `adb shell "[ -d $1 ] && echo found"` ]
11 [ `adb shell "[ -f $1 ] && echo found"` ]
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`
Dget-freq9 [ `adb shell "[ -f $1 ] && echo found"` ]
13 echo `adb shell cat $1 | tr -d '\r'`
20 adb shell "echo -n $2 > $1"
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 '\…
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"
37 adb root
39 adb wait-for-device
42 echo Device: `adb shell getprop ro.product.model`
73 adb shell stop $service
/frameworks/base/core/tests/bugreports/
Drun.sh38 adb root &&
39 adb remount &&
40 adb wait-for-device &&
42 adb pull /system/etc/sysconfig/framework-sysconfig.xml "${TMP_SYS_CONFIG}" &&
43adb push $ANDROID_BUILD_TOP/frameworks/base/core/tests/bugreports/config/test-sysconfig.xml /syste…
45adb push $OUT/testcases/BugreportManagerTestCases/*/BugreportManagerTestCases.apk /system/priv-app…
48 adb reboot &&
49 adb wait-for-device &&
56 adb remount &&
57 adb wait-for-device &&
[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
48 adb push $NNTEST_DIR/NeuralNetworksTest_static_fuzzing/NeuralNetworksTest_static_fuzzing /data/loca…
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
56 adb pull /data/local/tmp/${SPEC_NAME}.mod.py $LOG_DIR
/frameworks/av/media/libeffects/downmix/tests/
Dbuild_and_run_all_unit_tests.sh17 adb root && adb wait-for-device remount
40 adb shell mkdir $testdir
42 adb push $ANDROID_BUILD_TOP/cts/tests/tests/media/res/raw/sinesweepraw.raw \
44 adb push $OUT/testcases/downmixtest/arm64/downmixtest $testdir
53 adb shell LD_LIBRARY_PATH=/vendor/lib64/soundfx \
62 adb shell cmp \
69 adb shell rm -r $testdir
/frameworks/av/media/libeffects/lvm/tests/
Dbuild_and_run_all_unit_tests.sh18 adb root && adb wait-for-device remount
25 adb shell mkdir -p $testdir
26 adb push $ANDROID_BUILD_TOP/cts/tests/tests/media/res/raw/sinesweepraw.raw $testdir
27 adb push $OUT/testcases/snr/arm64/snr $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
/frameworks/compile/libbcc/gdb_plugin/
Dandroid-commands.py337 def __init__(self, adb, name="android-status", cat=gdb.COMMAND_OBSCURE, verbose=False): argument
340 self.adb = adb
347 self.adb.get_process_info(process_name)
352 self.adb.get_process_info(gdbserver_process_name)
388 (pid, user) = self.adb.get_process_info(process_name)
391 (pid, user) = self.adb.get_process_info(process_name)
427 def __init__ (self, adb, name="start-android-app", cat=gdb.COMMAND_RUNNING, verbose=False): argument
428 super (StartAndroidApp, self).__init__(adb, name, cat, verbose)
429 self.adb = adb
455 am_output = self.adb._shell(*args)
[all …]
/frameworks/base/core/jni/
Druntime_native_boot-flags-test.sh49 adb reboot
50 adb wait-for-device >/dev/null
55 [[ $(adb shell getprop sys.boot_completed) -eq 1 ]] && return 0
71 local flag_value=$(adb shell device_config get "$namespace" "$flag")
85 local flag_value=$(adb shell device_config get "$namespace" "$flag")
97 adb root >/dev/null
98 local prop_value=$(adb shell getprop "$prop")
99 adb unroot >/dev/null
139 adb logcat -d -s "$zygote" | grep -q -e "option\[[0-9]\+\]=$runtime_option"
182 adb logcat -d -s AndroidRuntime | grep -F -q "$message" \
[all …]
/frameworks/native/libs/binder/ndk/
Druntests.sh25 adb shell /data/nativetest64/libbinder_ndk_test_server/libbinder_ndk_test_server &
30 adb shell /data/nativetest64/libbinder_ndk_test_client/libbinder_ndk_test_client; \
31 adb shell killall libbinder_ndk_test_server
37 adb root
38 adb wait-for-device
39 adb sync data
/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}
11 adb pull /data/system/users/${photo}/photo.png
12 adb push photo.png /data/user/${user}/users/${photo}
/frameworks/base/apct-tests/perftests/textclassifier/
Drun.sh3 adb install ${OUT}/testcases/TextClassifierPerfTests/arm64/TextClassifierPerfTests.apk
4 adb shell cmd package compile -m speed -f com.android.perftests.textclassifier
5 adb push ${OUT}/obj/EXECUTABLES/perf-setup.sh_intermediates/perf-setup.sh /data/local/tmp/
6 adb shell chmod +x /data/local/tmp/perf-setup.sh
7 adb shell /data/local/tmp/perf-setup.sh
8 adb shell am instrument -w -e package android.view.textclassifier com.android.perftests.textclassif…
/frameworks/base/startop/scripts/app_startup/
Drun_app_with_prefetch153 adb root > /dev/null
157 adb shell setenforce 0
158 adb shell stop
159 adb shell start
160 adb wait-for-device
185 verbose_print adb push "$input_file" "$application_trace_file_path"
186 adb push "$input_file" "$application_trace_file_path"
191 adb shell mkdir -p "$trace_file_directory"
192 verbose_print adb push "$input_file" "$trace_file_directory/TraceFile.pb"
193 adb push "$input_file" "$trace_file_directory/TraceFile.pb"
[all …]

1234