Home
last modified time | relevance | path

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

12345678

/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/av/media/libaaudio/scripts/
Dsynthmark_tests.txt4 adb shell synthmark -tj -n1 -N50 -B2 -z0
5 adb shell synthmark -tj -n1 -N75 -B2 -z0
6 adb shell synthmark -tj -n1 -N100 -B2 -z0
9 adb shell synthmark -tj -n1 -N50 -B2 -z1
10 adb shell synthmark -tj -n1 -N75 -B2 -z1
11 adb shell synthmark -tj -n1 -N100 -B2 -z1
14 # adb root \
15 # adb shell setprop vendor.powerhal.adpf.uclamp_min.high_limit 400 \
16 # adb shell synthmark -tj -n1 -N50 -B2 -z1
17 # adb shell synthmark -tj -n1 -N75 -B2 -z1
[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 …]
/frameworks/av/media/module/service.mediatranscoding/tests/
Dbuild_and_run_all_unit_tests.sh20 adb root
21 adb install -t -r -g -d $ANDROID_TARGET_OUT_TESTCASES/TranscodingUidPolicy_TestAppA/arm64/Transcodi…
22 adb install -t -r -g -d $ANDROID_TARGET_OUT_TESTCASES/TranscodingUidPolicy_TestAppB/arm64/Transcodi…
23 adb install -t -r -g -d $ANDROID_TARGET_OUT_TESTCASES/TranscodingUidPolicy_TestAppC/arm64/Transcodi…
26 adb wait-for-device remount && adb sync
29 adb shell setprop debug.transcoding.simulated_transcoder true
30 adb shell kill -9 `pid media.transcoding`
32 adb shell /data/nativetest/mediatranscodingservice_simulated_tests/mediatranscodingservice_simulate…
35 adb shell setprop debug.transcoding.simulated_transcoder false
36 adb shell kill -9 `pid media.transcoding`
[all …]
/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 …]
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
Dbuild_and_run_all_unit_tests.sh22 adb root && adb wait-for-device remount && adb sync
34 adb shell ASAN_OPTIONS=detect_container_overflow=0 /data/nativetest64/MediaSampleReaderNDKTests/Med…
37 adb shell ASAN_OPTIONS=detect_container_overflow=0 /data/nativetest64/MediaSampleQueueTests/MediaSa…
40 adb shell ASAN_OPTIONS=detect_container_overflow=0 /data/nativetest64/MediaTrackTranscoderTests/Med…
43 adb shell ASAN_OPTIONS=detect_container_overflow=0 /data/nativetest64/VideoTrackTranscoderTests/Vid…
46 adb shell ASAN_OPTIONS=detect_container_overflow=0 /data/nativetest64/PassthroughTrackTranscoderTes…
49 adb shell ASAN_OPTIONS=detect_container_overflow=0 /data/nativetest64/MediaSampleWriterTests/MediaS…
52 adb shell ASAN_OPTIONS=detect_container_overflow=0 /data/nativetest64/MediaTranscoderTests/MediaTra…
/frameworks/av/media/module/libmediatranscoding/tests/
Dbuild_and_run_all_unit_tests.sh19 adb root && adb wait-for-device remount && adb sync
26 adb shell /data/nativetest/TranscodingClientManager_tests/TranscodingClientManager_tests
30 adb shell /data/nativetest/AdjustableMaxPriorityQueue_tests/AdjustableMaxPriorityQueue_tests
34 adb shell /data/nativetest/TranscodingSessionController_tests/TranscodingSessionController_tests
38 adb shell /data/nativetest/TranscodingLogger_tests/TranscodingLogger_tests
/frameworks/native/services/surfaceflinger/Tracing/tools/
Drun.sh7 adb wait-for-device && adb push $OUT/system/bin/layertracegenerator /data/layertracegenerator
12 adb shell service call SurfaceFlinger 1041 i32 0
13 adb shell /data/layertracegenerator
16 adb push $1 /data/transaction_trace.winscope
17 adb shell /data/layertracegenerator /data/transaction_trace.winscope
19 adb pull /data/misc/wmtrace/layers_trace.winscope
/frameworks/native/libs/binder/
Drun_rpc_tests.sh17 function dtest () { adb shell /data/nativetest64/$1/$@; }
21 function pdtest () { adb wait-for-device && adb shell mkdir -p /data/nativetest64/$1 && adb push $O…
22 function dbench () { adb shell /data/benchmarktest64/$1/$@; }
23 function pdbench () { adb wait-for-device && adb shell mkdir -p /data/benchmarktest64/$1 && adb pus…
/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/frameworks/av/media/libeffects/res/raw/sinesweepraw.raw $testdir
43 adb push $OUT/testcases/downmixtest/arm64/downmixtest $testdir
52 adb shell LD_LIBRARY_PATH=/vendor/lib64/soundfx \
61 adb shell cmp \
68 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/frameworks/av/media/libeffects/res/raw/sinesweepraw.raw $testdir
27 adb push $OUT/testcases/snr/arm64/snr $testdir
96 adb shell $testdir/lvmtest -i:$testdir/sinesweepraw.raw \
116 adb shell cmp $testdir/sinesweep_1_$((fs)).raw \
120 adb shell $testdir/snr $testdir/sinesweep_1_$((fs)).raw \
135 adb shell rm -r $testdir
Dbuild_and_run_all_unit_tests_reverb.sh18 adb root && adb wait-for-device remount
25 adb shell mkdir -p $testdir
26 adb push $ANDROID_BUILD_TOP/frameworks/av/media/libeffects/res/raw/sinesweepraw.raw $testdir
64 adb shell $testdir/reverb_test \
79 adb shell cmp $testdir/sinesweep_0_$((fs)).raw \
85 adb shell cmp $testdir/sinesweep_1_$((fs)).raw \
102 adb shell rm -r $testdir
/frameworks/av/services/mediaresourcemanager/test/
Dbuild_and_run_all_unit_tests.sh19 adb root && adb wait-for-device remount && adb sync
26 adb shell /data/nativetest/ResourceManagerService_test/ResourceManagerService_test
30 adb shell /data/nativetest/ServiceLog_test/ServiceLog_test
34 adb shell /data/nativetest/ResourceObserverService_test/ResourceObserverService_test
/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/native/libs/renderengine/skia/debug/
Drecord.sh17 adb root
18 adb shell setenforce 0
19 adb shell stop
20 adb shell start
25 adb shell getenforce
36 adb shell setprop debug.renderengine.capture_skia_ms $1
/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/av/media/libeffects/preprocessing/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/frameworks/av/media/libeffects/res/raw/sinesweepraw.raw $testdir
27 adb push $OUT/testcases/snr/arm64/snr $testdir
84 adb shell $testdir/AudioPreProcessingTest $flags \
100 adb shell cmp $testdir/sinesweep_1_$((fs)).raw \
116 adb shell rm -r $testdir
/frameworks/base/media/jni/soundpool/tests/
Dbuild_and_run.sh18 adb root && adb wait-for-device remount
23 adb push $OUT/system/bin/soundpool_stress /system/bin
26 adb shell /system/bin/soundpool_stress -l -1 $uidir/*.ogg $uidir/*.ogg
29 adb shell /system/bin/soundpool_stress -l 1 -r 3 $uidir/*.ogg
33 adb shell /system/bin/soundpool_stress -i 1 -l -1 -p 1 -t 4 $uidir/*.ogg $uidir/*.ogg

12345678