/system/extras/tests/sdcard/ |
profile_sdcard.sh | 19 adb shell cat /proc/version 22 adb shell cat /sys/kernel/debug/sched_features 40 adb shell sdcard_perf_test --test=write --procnb=${p} --size=1000 --chunk-size=100 --iterations=50 >/tmp/tmp-sdcard.txt
|
/art/tools/ |
symbolize.sh | 41 adb pull $1/$2 /tmp || exit 1 46 # adb shell find seems to output in DOS format (CRLF), which messes up scripting 48 adb shell $@ | sed 's/\r$//'
|
/external/libcxx/ |
ndk-test.sh | 18 adb push $ANDROID_PRODUCT_OUT/system/lib/libc++_ndk.so /data/local/tmp
|
/frameworks/opt/net/wifi/tests/wifitests/ |
runtests.sh | 38 adb root 39 adb wait-for-device 41 adb install -r -g "$OUT/data/app/FrameworksWifiTests/FrameworksWifiTests.apk" 43 adb shell am instrument -w "$@" \
|
/packages/apps/Messaging/tools/ |
buglesql | 43 adb shell su -c sqlite3 $opts data/data/com.android.messaging/databases/bugle_db "$1"
|
mmssql | 43 adb shell su -c sqlite3 $opts data/data/com.android.providers.telephony/databases/mmssms.db "$1"
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/ |
ndk-test.sh | 18 adb push $ANDROID_PRODUCT_OUT/system/lib/libc++_ndk.so /data/local/tmp
|
/tools/test/connectivity/acts/tests/google/wifi/ |
WifiPowerTest.py | 24 from acts.controllers import adb 78 self.dut.adb.shell("settings put system screen_brightness 0") 122 self.dut.adb.shell(start_pmc_cmd) 123 self.dut.adb.shell("setprop log.tag.PMC VERBOSE") 126 self.dut.adb.shell("%sServerIP %s" % (pmc_set_params, 128 self.dut.adb.shell("%sServerPort %s" % (pmc_set_params, 131 self.dut.adb.shell("rm %s" % pmc_iperf_json_file) 132 except adb.AdbError: 142 self.dut.adb.pull(pmc_iperf_json_file, " ", dest) 144 self.dut.adb.shell("rm %s" % pmc_iperf_json_file [all...] |
/development/scripts/ |
gdbclient | 17 local candidate=`adb shell getprop ro.hardware | tr -d '\r\n'` 20 candidate=`adb shell getprop ro.product.device | tr -d '\r\n'` 27 echo `adb shell cat /proc/$1/status | grep -e "^TracerPid:" | sed "s/^TracerPid:[[:blank:]]//" | tr -d '\r\n'` 101 local ID=`adb shell id -u` 103 echo "Error: gdbclient only works if you've run 'adb root'" 107 local EXE=`adb shell readlink /proc/$PID/exe | tr -d '\r\n'` 117 adb pull $EXE $LOCAL_EXE_PATH 132 adb pull /system/bin/linker$USE64BIT $SYMBOLS_DIR/system/bin/linker$USE64BIT 151 local CPU_ABI=`adb shell getprop ro.product.cpu.abilist | tr -d '\r\n'` 157 # TODO: check if adb is already listening $POR [all...] |
/tools/test/connectivity/acts/framework/acts/ |
utils.py | 542 """Force the device to set airplane mode on or off by adb shell command. 548 timeout_value: max wait time for 'adb wait-for-device' 555 # Wait for device with timeout. If after <timeout_value> seconds, adb 559 ad.adb.wait_for_device() 563 ad.adb.shell("settings put global airplane_mode_on {}".format( 565 ad.adb.shell("am broadcast -a android.intent.action.AIRPLANE_MODE") 567 # adb wait for device timeout 582 ad.adb.shell("dumpsys battery unplug") 583 ad.adb.shell("dumpsys deviceidle enable") 584 ad.adb.shell("dumpsys deviceidle force-idle" [all...] |
/system/extras/tests/workloads/ |
pwrtest.sh | 34 # a bash script which should include adb commands to set up device): 132 adb shell mkdir -p $devdir 135 adb push $CMDDIR/$file $devdir 143 dircontents=$(adb ls $stdest 2>/dev/null) 146 adb install $suntempledir/*.apk 147 adb shell mkdir -p $stdest 148 adb push $suntempledir/main*obb $stdest 162 echo enabled Cores $(adb shell "cat /sys/devices/system/cpu/online") 181 adb devices 188 (adb shell "cd $devdir && nohup $cmdline > test.out") [all...] |
/cts/hostsidetests/theme/ |
generate_images.sh | 54 adb devices
|
/external/compiler-rt/test/asan/android_commands/ |
android_common.py | 5 ADB = os.environ.get('ADB', 'adb') 11 def adb(args, attempts = 1): function 19 ret = subprocess.call([ADB] + args, stdout=out, stderr=subprocess.STDOUT) 23 print "adb command failed", args 34 adb(['pull', path, tmp], 5) 43 adb(['push', path, tmp_path], 5) 44 adb(['shell', 'cp "%s" "%s" 2>&1' % (tmp_path, dst_path)], 5)
|
/external/webrtc/webrtc/build/ |
adb_shell.sh | 11 # 'adb shell' always returns "0" regardless of executable return code. 17 ADB_LOG=$(mktemp "${TMPDIR:-/tmp}/adb-XXXXXXXX") 18 adb "$1" "$2" shell "$3" "$4" ";" echo \$? | tee "$ADB_LOG"
|
/frameworks/opt/telephony/tools/ |
tdi | 40 adb shell am broadcast -a com.android.internal.telephony.$the_DC.action_fail_bringup $counter $fail_cause $suggested_retry_time
|
/packages/inputmethods/LatinIME/native/jni/ |
run-tests.sh | 64 make -j16 adb $target_test_name $host_test_name 71 adb push $target_test_local $target_test_device 72 adb shell $target_test_device 73 adb shell rm -rf $target_test_device
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
native_android_device.py | 69 self.adb.forward("--remove tcp:%d" % self.h_port) 99 self.adb.tcp_forward(self.h_port, self.d_port) 100 pid = self.adb.shell("ps | grep sl4n | awk '{print $2}'").decode( 103 self.adb.shell("kill {}".format(pid)) 104 pid = self.adb.shell("ps | grep sl4n | awk '{print $2}'").decode( 107 ["adb -s " + self.serial + " shell sh -c \"/system/bin/sl4n\" &"],
|
/tools/test/connectivity/acts/tests/google/bt/setup/ |
BtPreFlightTest.py | 53 remount_result = ad.adb.remount() 58 ad.adb.disable_verity() 62 remount_result = ad.adb.remount() 69 ad.adb.push("{} /system/etc/bluetooth/bt_stack.conf".format( 71 result = ad.adb.shell("cat /system/etc/bluetooth/bt_stack.conf")
|
/system/extras/simpleperf/scripts/ |
app_profiler.py | 61 self.adb = AdbHelper(self.config['adb_path']) 90 self.is_root_device = self.adb.switch_to_root() 93 build_version = self.adb.get_property('ro.build.version.release') 107 output = self.adb.check_run_and_return_output(['shell', 'uname', '-m']) 121 self.adb.set_property('security.perf_harden', '0') 124 self.adb.run(['shell', 'echo', '0', '>/proc/sys/kernel/kptr_restrict']) 139 self.adb.set_property('dalvik.vm.dex2oat-flags', flag) 140 self.adb.check_run(['install', '-r', self.config['apk_file_path']]) 142 self.adb.set_property('debug.generate-debug-info', 'true') 143 self.adb.check_run(['shell', 'cmd', 'package', 'compile', '-f', '-m', 'speed' [all...] |
/art/ |
Android.mk | 56 adb root 57 adb wait-for-device remount 58 adb shell rm -rf $(ART_TARGET_NATIVETEST_DIR) 59 adb shell rm -rf $(ART_TARGET_TEST_DIR) 60 adb shell rm -rf $(ART_TARGET_DALVIK_CACHE_DIR)/*/* 61 adb shell rm -rf $(DEXPREOPT_BOOT_JAR_DIR)/$(DEX2OAT_TARGET_ARCH) 62 adb shell rm -rf system/app/$(DEX2OAT_TARGET_ARCH) 64 adb shell rm -rf $(DEXPREOPT_BOOT_JAR_DIR)/$($(TARGET_2ND_ARCH_VAR_PREFIX)DEX2OAT_TARGET_ARCH) 65 adb shell rm -rf system/app/$($(TARGET_2ND_ARCH_VAR_PREFIX)DEX2OAT_TARGET_ARCH) 67 adb shell rm -rf data/run-test/test-*/dalvik-cache/ [all...] |
/external/valgrind/ |
runtest.sh | 35 adb push $test_local $test_target 42 adb shell $test_target > $logfile_native 45 adb shell valgrind $test_target > $logfile_valgrind
|
/development/build/ |
product_sdk.mk | 32 adb \
|
/development/tools/logblame/ |
medium_idle_test | 9 adb shell wm dismiss-keyguard
|
short_idle_test | 9 adb shell wm dismiss-keyguard
|
/development/tools/ |
monkey | 65 class Adb(object): 66 """Encapsulates adb functionality.""" 69 """Initialize adb.""" 70 self._command = ["adb"] 74 """Runs an adb command, and prints that command to stdout. 77 ExecutionException: if the adb command returned an error. 80 adb.Exec("shell", "ls") will run "adb shell ls" 86 raise ExecutionException("adb: %s returned %s" % (cmd, result)) 98 ExecutionException: if the adb command returned an error [all...] |