/aosp12/system/extras/tests/ext4/ |
H A D | android_emmc_perf_tests.sh | 84 adb root 85 adb wait-for-device 86 adb push "$PERF" /dev 87 adb shell stop 88 adb shell stop sdcard 90 adb shell stop media 91 adb shell stop drm 145 adb shell sync 152 adb shell sync 154 adb shell sync [all …]
|
/aosp12/art/tools/ |
H A D | buildbot-setup-device.sh | 35 adb root 36 adb wait-for-device 42 adb shell date 73 adb shell setenforce 0 77 adb shell ifconfig lo up 82 adb shell getprop 85 adb shell uptime 102 $verbose && adb logcat -g 105 adb logcat -P "" 106 $verbose && adb logcat -p [all …]
|
H A D | buildbot-teardown-device.sh | 27 adb root 28 adb wait-for-device 38 adb shell lsof | grep "$ART_TEST_CHROOT" 48 adb shell ls -ld "/proc/*/root" \ 85 adb shell test -d "$dir" \ 87 && if adb shell umount "$dir"; then 91 adb shell lsof | grep "$dir" 96 adb shell rm -f "$ART_TEST_CHROOT/bin" 115 adb shell rm -f "$ART_TEST_CHROOT/etc" 130 adb shell rm -f "$ART_TEST_CHROOT$f" [all …]
|
/aosp12/packages/modules/adb/coverage/ |
H A D | gen_coverage.sh | 19 adb disconnect 22 adb tcpip $REMOTE_PORT 25 adb connect $REMOTE 35 adb -s $REMOTE usb 39 adb root 40 adb wait-for-device 43 adb usb 46 adb wait-for-device 64 adb shell setprop persist.adb.trace_mask 1 76 adb wait-for-device [all …]
|
/aosp12/frameworks/base/libs/hwui/tests/scripts/ |
H A D | prep_taieye.sh | 1 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 16 adb shell "echo 1 > $cpubase/cpu${cpu}/online" 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" 31 adb shell "echo 10000 > /sys/class/kgsl/kgsl-3d0/idle_timer" [all …]
|
H A D | prep_buller.sh | 3 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" 32 adb shell "echo 0 > $cpubase/cpu${cpu}/online" 37 adb shell "echo 0 > /sys/class/kgsl/kgsl-3d0/bus_split" 38 adb shell "echo 1 > /sys/class/kgsl/kgsl-3d0/force_clk_on" [all …]
|
H A D | prep_marlfish.sh | 5 adb root 6 adb wait-for-device 7 adb shell stop thermal-engine 8 adb shell stop perfd 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" 44 adb shell "echo 4 > /sys/class/kgsl/kgsl-3d0/min_pwrlevel" [all …]
|
H A D | prep_fugu.sh | 6 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 37 adb shell "echo userspace > $cpubase/cpu${cpu}/$gov" 47 adb shell "echo 457000 > /sys/class/devfreq/dfrgx/min_freq" [all …]
|
H A D | prep_volantis.sh | 17 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 …]
|
/aosp12/system/extras/app-launcher/ |
H A D | app-launcher | 10 adb="adb" 29 adb="adb -s $2" 243 $adb shell 'echo 0 > /proc/hps/enabled' 338 uptime=$($adb shell 'cat /proc/uptime') 382 $adb shell "am force-stop $package" 401 $adb shell "am force-stop $package" 469 $adb shell 'svc nfc disable' 472 $adb shell 'service call notification 1' 502 $adb root && $adb wait-for-device 507 $adb shell 'stop thermal-engine' [all …]
|
/aosp12/system/media/audio_utils/tests/ |
H A D | build_and_run_all_unit_tests.sh | 18 adb root && adb wait-for-device remount 24 adb shell /system/bin/fdtostring_tests 29 adb shell /system/bin/primitives_tests 33 adb shell /system/bin/power_tests 37 adb shell /system/bin/channels_tests 41 adb shell /system/bin/string_tests 45 adb shell /system/bin/format_tests 49 adb shell /system/bin/simplelog_tests 53 adb shell /system/bin/statistics_tests 61 adb shell /system/bin/variadic_tests [all …]
|
/aosp12/packages/modules/NeuralNetworks/tools/ |
H A D | build_and_run_benchmark.sh | 29 adb -d root 37 adb -d disable-verity 38 adb -d reboot 40 adb wait-for-usb-device remount 45 adb -d shell stop 46 adb -d remount 49 adb -d shell start 75 adb shell "input keyevent 82" 77 adb shell wm dismiss-keyguard 92 adb shell "input keyevent 82" [all …]
|
/aosp12/frameworks/av/media/libaudioprocessing/tests/ |
H A D | mixer_to_wav_tests.sh | 48 adb root && adb wait-for-device remount 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 89 adb pull /sdcard/tm9307gra.wav $2 90 adb pull /sdcard/aux9307gra.wav $2 95 adb shell test-mixer $1 -s 32000 \ 98 adb pull /sdcard/tm32000gnr.wav $2 104 adb shell test-mixer $1 -s 32000 \ [all …]
|
/aosp12/packages/providers/MediaProvider/ |
H A D | logging.sh | 7 adb shell setprop log.tag.MediaProvider VERBOSE 10 adb shell setprop log.tag.FuseDaemon DEBUG 11 adb shell setprop log.tag.libfuse DEBUG 13 adb shell setprop log.tag.MediaProvider INFO 15 adb shell setprop log.tag.FuseDaemon INFO 16 adb shell setprop log.tag.libfuse INFO 22 adb shell setprop log.tag.FuseDaemon VERBOSE 23 adb shell setprop log.tag.libfuse VERBOSE 25 adb shell setprop persist.sys.fuse.log true 28 adb shell setprop log.tag.FuseDaemon INFO [all …]
|
H A D | deploy.sh | 7 adb shell stop 8 adb remount 9 adb sync 10 adb shell umount /apex/com.android.mediaprovider* 11 adb shell rm -rf /data/apex/active/com.android.mediaprovider* 12 adb shell rm -rf /data/apex/decompressed/com.android.mediaprovider* 13 adb shell setprop apexd.status '""' 14 adb shell setprop ctl.restart apexd 15 adb shell rm -rf /system/priv-app/MediaProvider 16 adb shell rm -rf /system/priv-app/MediaProviderGoogle [all …]
|
H A D | sqlite3.sh | 5 adb root 17 adb pull /data/user/0/$package/databases/external.db $dir/external.db 28 adb root 49 version=$(adb shell sqlite3 $check_string) 54 adb shell sqlite3 $upgrade_string 56 version=$(adb shell sqlite3 $check_string) 59 adb shell am force-stop $package 63 adb root 69 adb shell sqlite3 $dir $clause 73 adb root [all …]
|
/aosp12/system/extras/simpleperf/scripts/ |
H A D | api_profiler.py | 40 adb = AdbHelper() 41 enable_profiling_on_device(adb, args) 42 upload_simpleperf_to_device(adb) 43 run_simpleperf_prepare_cmd(adb) 55 def upload_simpleperf_to_device(adb): argument 56 device_arch = adb.get_device_arch() 62 def run_simpleperf_prepare_cmd(adb): argument 67 adb = AdbHelper() 70 download_recording_data(adb, args) 74 def download_recording_data(adb, args): argument [all …]
|
H A D | run_simpleperf_without_usb_connection.py | 39 adb = AdbHelper() 40 device_arch = adb.get_device_arch() 42 adb.check_run(['push', simpleperf_binary, '/data/local/tmp']) 44 adb.check_run(['shell', 'rm', '-rf', '/data/local/tmp/perf.data', 53 subproc = subprocess.Popen([adb.adb_path, 'shell', shell_cmd]) 60 adb.run(['shell', 'cat', '/data/local/tmp/simpleperf_output']) 65 adb = AdbHelper() 66 result = adb.run(['shell', 'pidof', 'simpleperf']) 70 adb.run(['shell', 'pkill', '-l', '2', 'simpleperf']) 72 while adb.run(['shell', 'pidof', 'simpleperf']): [all …]
|
/aosp12/frameworks/base/startop/scripts/iorap/ |
H A D | common | 25 adb shell start iorapd 32 adb shell stop iorapd 44 adb shell setprop iorapd.perfetto.enable true 52 adb shell setprop iorapd.perfetto.enable false 65 adb shell setprop iorapd.readahead.enable true 77 adb shell setprop iorapd.readahead.enable false 133 adb pull "$compiled_path" "$output_file" 148 if ! adb shell "[[ -f '$input_path' ]]"; then 163 adb push "$inodes" "$remote_inodes" 201 adb pull "$compiled_path" "$output_file" [all …]
|
/aosp12/frameworks/av/services/mediatranscoding/tests/ |
H A D | build_and_run_all_unit_tests.sh | 20 adb root 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` 38 adb shell /data/nativetest/mediatranscodingservice_real_tests/mediatranscodingservice_real_tests 41 adb shell kill -9 `pid media.transcoding` 43 adb shell /data/nativetest/mediatranscodingservice_resource_tests/mediatranscodingservice_resource_… [all …]
|
/aosp12/frameworks/native/cmds/dumpstate/ |
H A D | README.md | 27 …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 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 116 alias br='adb shell cmd activity bug-report' [all …]
|
/aosp12/system/connectivity/wificond/ |
H A D | runtests.sh | 34 adb wait-for-device 35 adb root 36 adb wait-for-device 40 if adb remount | grep 'disable-verity'; then 41 adb disable-verity 42 adb reboot 43 adb wait-for-device 44 adb root 45 adb wait-for-device 46 adb remount [all …]
|
/aosp12/frameworks/rs/perf-test-scripts/ |
H A D | set-cpu-freq | 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` 49 adb shell setprop debug.rs.default-CPU-driver 1 56 adb shell stop $service 65 adb shell "echo -n 1 > $DIR/$core/online" 125 adb shell start $service 133 adb shell stop $service [all …]
|
/aosp12/packages/modules/adb/ |
H A D | SOCKET-ACTIVATION.txt | 7 adb.service: 9 --- START adb.service CUT HERE --- 11 Description=adb 12 After=adb.socket 13 Requires=adb.socket 18 --- END adb.service CUT HERE --- 20 --- START adb.socket CUT HERE --- 22 Description=adb 23 PartOf=adb.service 29 --- END adb.socket CUT HERE --- [all …]
|
/aosp12/packages/apps/TV/tests/tunerscripts/ |
H A D | usbtuner-test.sh | 40 adb shell am force-stop com.android.tv 41 adb shell am start -n com.android.tv/.MainActivity > /dev/null 50 adb shell input text $1 51 adb shell input keyevent KEYCODE_DPAD_CENTER 57 adb shell input keyevent DPAD_DOWN 67 adb shell input keyevent DPAD_DOWN 75 adb logcat -c 99 tracker=$(adb shell getprop tv_use_tracker | tr -d '[[:space:]]') 100 adb shell setprop tv_use_tracker false 105 adb shell setprop tv_use_tracker "" [all …]
|