Home
last modified time | relevance | path

Searched refs:shell (Results 1 – 25 of 46) 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
Drunahat38 do_adb shell am dumpheap -g "$pid" "$dev_file"
/development/tools/logblame/
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
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
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/apps/CustomLocale/
DREADME.md9 ```shell
14 adb shell mkdir ${APP_PATH} || true
21 ```shell
31 ```shell
32 adb shell am broadcast -a com.android.intent.action.SET_LOCALE \
/development/samples/VirtualDeviceManager/
Dsetup.sh80 …if ! adb -s "${TARGET_DEVICE_SERIAL}" wait-for-device shell touch /system/test_verity > /dev/null;…
86 … run_cmd_with_retries adb -s "${TARGET_DEVICE_SERIAL}" wait-for-device shell rm /system/test_verity
93 run_cmd_with_retries adb -s "${TARGET_DEVICE_SERIAL}" wait-for-device shell stop
95 run_cmd_with_retries adb -s "${TARGET_DEVICE_SERIAL}" wait-for-device shell mkdir -p "${APK_DIR}"
98 run_cmd_with_retries adb -s "${TARGET_DEVICE_SERIAL}" wait-for-device shell start
100 …run_cmd_with_retries adb -s "${TARGET_DEVICE_SERIAL}" wait-for-device shell pm install -r -g -d "$…
207 if adb -s "${HOST_SERIAL}" shell ls "${HOST_APK_DIR}/VdmHost.apk" > /dev/null 2>&1 \
DREADME.md70 ```shell
77 ```shell
89 ```shell
95 ```shell
99 adb shell mkdir /system/priv-app/VdmDemoHost
111 ```shell
117 ```shell
213 ```shell
214 adb shell aflags enable android.companion.virtual.flags.activity_control_api && adb reboot
270 ```shell
[all …]
/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/winscope/src/test/fixtures/traces/
Deventlog_no_cujs.winscope4 …1722505528.473000000 shell 19243 19243 I auditd : type=1400 audit(0.0:178): avc: denied { appen…
5 …1722505529.729000000 shell 19846 19846 I auditd : type=1400 audit(0.0:179): avc: denied { appen…
6 …1722505530.733000000 shell 20350 20350 I auditd : type=1400 audit(0.0:180): avc: denied { appen…
/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/python-packages/gdbrunner/gdbrunner/
D__init__.py116 output, _ = device.shell([ps_script])
187 device.shell(["chmod", "+x", gdbserver_remote_path])
229 line, _ = device.shell(["id", "-u"])
276 target = device.shell(['readlink', '-e', '-n', executable_path])[0]
291 device.shell(cmd)
325 output, _ = device.shell(cmd)
/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/tools/winscope/src/parsers/transitions/legacy/
Dparser_transitions_wm.ts25 type TransitionProto = com.android.server.wm.shell.ITransition;
59 ) as unknown as com.android.server.wm.shell.ITransitionTraceProto;
Dparser_transitions_shell.ts25 type TransitionProto = com.android.wm.shell.ITransition;
54 ) as unknown as com.android.wm.shell.IWmShellTransitionTraceProto;
/development/python-packages/fetchartifact/
DREADME.md34 `poetry shell` to enter a shell with all the tools on the `PATH`. The following
35 instructions assume you've run `poetry shell` first.
/development/tools/templates/
Djava_tests_file.template11 * adb shell am instrument -w \
/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/tools/winscope/src/parsers/transitions/
Dentry_properties_tree_factory.ts44 | com.android.server.wm.shell.ITransition
45 | com.android.wm.shell.ITransition

12