Home
last modified time | relevance | path

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

12

/development/scripts/
Dreverse_tether.sh85 $ADB shell "svc usb setFunction rndis"
87 $ADB shell "ifconfig $PHONE_DEV down"
90 $ADB shell "/data/local/hwaddr $PHONE_DEV $PHONE_HW"
91 $ADB shell "/data/local/hwaddr $PHONE_DEV"
96 $ADB shell "svc usb setFunction" #empty to clear
101 $ADB shell "ifconfig $PHONE_DEV $PHONE_IP netmask $NETMASK up"
109 $ADB shell 'setprop net.dnschange $((`getprop net.dnschange`+1))'
113 $ADB shell 'cat /proc/net/route' | awk '{ if ($2==00000000) print $1 }'
117 $ADB shell "svc data disable"
118 $ADB shell "svc wifi disable"
[all …]
Dacov73 adb shell kill -37 -1
76 adb shell rm -rf /data/misc/trace/*
84 adb shell kill -37 -1
87 adb shell kill -37 $(adb shell pidof $@)
105 for USER_ID in $(adb shell ls /data/misc/trace)
108 adb shell tar -czf - -C /data/misc/trace/$USER_ID/proc/self/cwd $ANDROID_OUT | tar zxvf -
Dstacks35 if adb shell readlink /proc/$PID/exe | egrep -q '^/system/bin/app_process' ; then
37 if ! adb shell cat /proc/$PID/cmdline | egrep -q '^zygote'; then
38 adb shell debuggerd -j $PID
43 adb shell debuggerd -b $PID
Dgdbclient20 local candidate=`adb shell getprop ro.hardware | tr -d '\r\n'`
23 candidate=`adb shell getprop ro.product.device | tr -d '\r\n'`
30 …echo `adb shell cat /proc/$1/status | grep -e "^TracerPid:" | sed "s/^TracerPid:[[:blank:]]//" | t…
104 local ID=`adb shell id -u`
110 local EXE=`adb shell readlink /proc/$PID/exe | tr -d '\r\n'`
154 local CPU_ABI=`adb shell getprop ro.product.cpu.abilist | tr -d '\r\n'`
165 adb shell gdbserver$USE64BIT :$PORT --attach $PID &
Dupdate_crate_tests.py62 out = subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT)
81 … out = subprocess.check_output(cmd, shell=True, stderr=DEVNULL, text=True).strip().split("\n")
95 out = (subprocess.check_output(cmd, shell=True, stderr=DEVNULL, text=True)
Drunahat38 do_adb shell am dumpheap -g "$pid" "$dev_file"
/development/tools/logblame/
Dapp_switch_test25 adb shell wm dismiss-keyguard
29 airplane_mode_was_on=$(adb shell settings get global airplane_mode_on)
31 adb shell settings put global airplane_mode_on 1 > /dev/null
32 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
45 adb shell am start -a android.intent.action.MAIN $intent
50 adb shell input keyevent 26
51 adb shell input keyevent 26
52 adb shell wm dismiss-keyguard
65 adb shell settings put global airplane_mode_on 0 > /dev/null
66 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
Dconnectivity_log_test9 adb shell wm dismiss-keyguard
12 airplane_mode_was_on=$(adb shell settings get global airplane_mode_on)
14 adb shell settings put global airplane_mode_on 0 > /dev/null
15 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
26 adb shell settings put global airplane_mode_on 1 > /dev/null
27 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
32 adb shell settings put global airplane_mode_on 0 > /dev/null
33 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE > /dev/null
38 adb shell svc wifi disable
42 adb shell svc wifi enable
Dpower_toggle_test10 adb shell wm dismiss-keyguard
20 adb shell input keyevent KEYCODE_POWER
22 adb shell input keyevent KEYCODE_POWER
24 adb shell wm dismiss-keyguard
Dmedium_idle_test9 adb shell wm dismiss-keyguard
Dshort_idle_test9 adb shell wm dismiss-keyguard
/development/gsi/gsi_util/gsi_util/utils/tests/
Dcmd_utils_unittest.py55 result = cmd_utils.run_command('echo uses shell', shell=True)
71 result = cmd_utils.run_command(error_cmd, shell=True, raise_on_error=False,
82 result = cmd_utils.run_command(error_cmd, shell=True, raise_on_error=False,
94 result = cmd_utils.run_command('echo 123; echo 456; exit 7', shell=True,
102 shell=True, read_stderr=True,
110 shell=True, read_stdout=True,
119 cmd_utils.run_command(error_cmd, shell=True, raise_on_error=True)
127 result = cmd_utils.run_command('pwd', shell=True,
/development/tools/winscope/
Dtrace.sh56 adb shell su root service call SurfaceFlinger 1020 i32 1 >/dev/null
57 adb shell su root service call SurfaceFlinger 1025 i32 1 >/dev/null
65 adb shell su root service call SurfaceFlinger 1020 i32 0 >/dev/null
66 adb shell su root service call SurfaceFlinger 1025 i32 0 >/dev/null
/development/tools/labpretest/
Dlabpretest.sh80 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'`
86 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'`
195 local result=$($ADB -s $device shell getprop dev.bootcomplete)
201 result=$($ADB -s $device shell getprop dev.bootcomplete)
535 adb_command shell setprop ro.test_harness 1
538 result=$($ADB -s $device shell getprop dev.bootcomplete)
544 result=$($ADB -s $device shell getprop dev.bootcomplete)
550 result=$($ADB -s $device shell pm path android)
556 result=$($ADB -s $device shell pm path android)
563 adb_command shell svc power stayon true
[all …]
/development/tools/repo_diff/
Drepo_diff_android.py73 cwd=os.path.dirname(workspace), shell=True)
84 (url, rev), cwd=workspace, shell=True)
101 subprocess.check_output(command, cwd=workspace, shell=True)
117 (project_path, keyword), shell=True).rstrip()
125 shell=True).rstrip()
/development/samples/UiAutomator/
DREADME10 …# adb shell uiautomator runtest uiautomator.samples.jar -c com.android.test.uiautomator.demos.Laun…
22 …# adb shell uiautomator runtest uiautomator.samples.jar -c com.android.test.uiautomator.demos.LogB…
31 …# adb shell uiautomator runtest uiautomator.samples.jar -c com.android.test.uiautomator.demos.SetT…
/development/python-packages/gdbrunner/
D__init__.py115 output, _ = device.shell([ps_script])
207 line, _ = device.shell(["id", "-u"])
254 target = device.shell(['readlink', '-e', '-n', executable_path])[0]
269 device.shell(cmd)
303 output, _ = device.shell(cmd)
/development/cmds/monkey/
Dmonkey2 # shell.
/development/build/tools/
Dwindows_sdk.mk15 ifneq ($(shell uname),Linux)
18 ifeq ($(strip $(shell which unix2dos todos 2>/dev/null)),)
/development/tools/templates/
Djava_tests_file.template11 * adb shell am instrument -w \
/development/tools/winscope/adb_proxy/
Dwinscope_proxy.py446 shell = ['adb', '-s', self._device_id, 'shell']
447 log.debug("Starting trace shell {}".format(' '.join(shell)))
448 self.process = subprocess.Popen(shell, stdout=subprocess.PIPE,
599 shell = ['adb', '-s', device_id, 'shell']
601 process = subprocess.Popen(shell, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
635 shell = ['adb', '-s', device_id, 'shell']
636 log.debug("Starting dump shell {}".format(' '.join(shell)))
637 process = subprocess.Popen(shell, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
/development/samples/browseable/AutoBackupForApps/
D_index.jd13 Executing "adb shell bmgr restore com.example.android.autobackup" from a terminal will cause the
/development/samples/devbytes/telephony/SmsSampleProject/
Dgradlew.bat8 @rem Set local scope for the variables with windows NT shell
78 @rem End local scope for the variables with windows NT shell
/development/samples/training/testingfun/
Dgradlew.bat8 @rem Set local scope for the variables with windows NT shell
78 @rem End local scope for the variables with windows NT shell
/development/tools/checkcolor/
Dgradlew.bat8 @rem Set local scope for the variables with windows NT shell
78 @rem End local scope for the variables with windows NT shell

12