Home
last modified time | relevance | path

Searched refs:shell (Results 1 – 25 of 29) 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 …]
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 &
Dgdbclient.py41 line, _ = device.shell(["grep", "-e", "^TracerPid:", "/proc/{}/status".format(pid)])
/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
Dshort_idle_test9 adb shell wm dismiss-keyguard
Dmedium_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/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 …]
DREADME15 I would connect 8 devices to a host and run this script in 8 separate shell
/development/tools/winscope/
Dcapture_sf_trace.sh53 adb shell su root service call SurfaceFlinger 1025 i32 1 >/dev/null
59 adb shell su root service call SurfaceFlinger 1025 i32 0 >/dev/null
68 adb shell su root setenforce 0 2>/dev/null >/dev/null
/development/tools/repo_diff/
Drepo_diff_android.py75 (url, rev), cwd=workspace, shell=True)
92 subprocess.check_output(command, cwd=workspace, shell=True)
108 (project_path, keyword), shell=True).rstrip()
116 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__.py114 output, _ = device.shell([ps_script])
225 target = device.shell(['readlink', '-e', '-n', executable_path])[0]
240 device.shell(cmd)
274 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/samples/browseable/AutoBackupForApps/
D_index.jd13 Executing "adb shell bmgr restore com.example.android.autobackup" from a terminal will cause the
/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
/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/python-packages/adb/
Ddevice.py333 def shell(self, cmd): member in AndroidDevice
508 output = split_lines(self.shell(['getprop', prop_name])[0])
518 self.shell(['setprop', prop_name, value])
/development/testrunner/
Drun_command.py104 shell=True)
/development/vndk/tools/header-checker/utils/
Dutils.py204 stderr=subprocess.DEVNULL, cwd=AOSP_DIR, shell=True)

12