Home
last modified time | relevance | path

Searched full:adb (Results 1 – 25 of 1257) sorted by relevance

12345678910>>...51

/external/cpuinfo/scripts/
Dandroid-armv7-mock.sh5 adb push build/android/armeabi-v7a/alcatel-revvl-test /data/local/tmp/alcatel-revvl-test
6 adb push build/android/armeabi-v7a/atm7029b-tablet-test /data/local/tmp/atm7029b-tablet-test
7 adb push build/android/armeabi-v7a/blu-r1-hd-test /data/local/tmp/blu-r1-hd-test
8 adb push build/android/armeabi-v7a/galaxy-a3-2016-eu-test /data/local/tmp/galaxy-a3-2016-eu-test
9 adb push build/android/armeabi-v7a/galaxy-a8-2016-duos-test /data/local/tmp/galaxy-a8-2016-duos-test
10 adb push build/android/armeabi-v7a/galaxy-a8-2018-test /data/local/tmp/galaxy-a8-2018-test
11 adb push build/android/armeabi-v7a/galaxy-c9-pro-test /data/local/tmp/galaxy-c9-pro-test
12 adb push build/android/armeabi-v7a/galaxy-grand-prime-value-edition-test /data/local/tmp/galaxy-gra…
13 adb push build/android/armeabi-v7a/galaxy-j1-2016-test /data/local/tmp/galaxy-j1-2016-test
14 adb push build/android/armeabi-v7a/galaxy-j5-test /data/local/tmp/galaxy-j5-test
[all …]
Dandroid-arm64-mock.sh5 adb push build/android/arm64-v8a/alcatel-revvl-test /data/local/tmp/alcatel-revvl-test
6 adb push build/android/arm64-v8a/galaxy-a8-2018-test /data/local/tmp/galaxy-a8-2018-test
7 adb push build/android/arm64-v8a/galaxy-c9-pro-test /data/local/tmp/galaxy-c9-pro-test
8 adb push build/android/arm64-v8a/galaxy-s6-test /data/local/tmp/galaxy-s6-test
9 adb push build/android/arm64-v8a/galaxy-s7-global-test /data/local/tmp/galaxy-s7-global-test
10 adb push build/android/arm64-v8a/galaxy-s7-us-test /data/local/tmp/galaxy-s7-us-test
11 adb push build/android/arm64-v8a/galaxy-s8-global-test /data/local/tmp/galaxy-s8-global-test
12 adb push build/android/arm64-v8a/galaxy-s8-us-test /data/local/tmp/galaxy-s8-us-test
13 adb push build/android/arm64-v8a/galaxy-s9-global-test /data/local/tmp/galaxy-s9-global-test
14 adb push build/android/arm64-v8a/galaxy-s9-us-test /data/local/tmp/galaxy-s9-us-test
[all …]
Dandroid-x86-mock.sh5 adb push build/android/x86/alldocube-iwork8-test /data/local/tmp/alldocube-iwork8-test
6 adb push build/android/x86/memo-pad-7-test /data/local/tmp/memo-pad-7-test
7 adb push build/android/x86/leagoo-t5c-test /data/local/tmp/leagoo-t5c-test
8 adb push build/android/x86/zenfone-2-test /data/local/tmp/zenfone-2-test
9 adb push build/android/x86/zenfone-2e-test /data/local/tmp/zenfone-2e-test
10 adb push build/android/x86/zenfone-c-test /data/local/tmp/zenfone-c-test
12 adb shell "/data/local/tmp/alldocube-iwork8-test --gtest_color=yes"
13 adb shell "/data/local/tmp/memo-pad-7-test --gtest_color=yes"
14 adb shell "/data/local/tmp/leagoo-t5c-test --gtest_color=yes"
15 adb shell "/data/local/tmp/zenfone-2-test --gtest_color=yes"
[all …]
/external/python/mobly/tests/mobly/controllers/android_device_lib/
Dadb_test.py21 from mobly.controllers.android_device_lib import adb
54 MOCK_ROOT_ERROR_OUTPUT = 'adb: unable to connect for root: closed'.encode(
64 MOCK_ADB_SHELL_COMMAND_CHECK = 'adb shell command -v ls'
68 """Unit tests for mobly.controllers.android_device_lib.adb."""
71 # the created proc object in adb._execute_and_process_stdout()
87 '/usr/local/bin/adb\n'.encode('utf-8'),
90 self.assertTrue(adb.is_adb_available())
95 self.assertFalse(adb.is_adb_available())
104 out = adb.AdbProxy()._exec_cmd(
120 adb.AdbError, 'Error executing adb cmd .*'
[all …]
Dapk_utils_test.py18 from mobly.controllers.android_device_lib import adb
32 self.mock_device.adb.current_user_id = 0
36 self.mock_device.adb.install.assert_called_with(
44 self.mock_device.adb.getprop.return_value = 'none'
46 self.mock_device.adb.install.assert_called_with(
54 self.mock_device.adb.getprop.return_value = 'none'
56 self.mock_device.adb.install.assert_called_with(
65 self.mock_device.adb.install.assert_called_with(
74 self.mock_device.adb.install.assert_called_with(
83 self.mock_device.adb.install.assert_called_with(
[all …]
/external/mesa3d/.gitlab-ci/
Dcuttlefish-runner.sh72 ADB=adb
74 $ADB wait-for-device root
76 $ADB shell echo Hi from Android
78 $ADB logcat dEQP:D *:S &
83 $ADB shell mkdir -p "$OV_TMPFS"
84 $ADB shell mount -t tmpfs none "$OV_TMPFS"
86 $ADB shell mkdir -p "$OV_TMPFS/vendor-upper"
87 $ADB shell mkdir -p "$OV_TMPFS/vendor-work"
90 $ADB shell mount -t overlay -o "$opts" none /vendor
92 $ADB shell setenforce 0
[all …]
/external/skia/tools/testrunners/common/android/adb_test_runner/
Dadb_test_runner_test.go62 // The below adb commands prepare the device to run a GM or unit test, which the test runner
72 …cmdAndArgs("adb", "shell", "su", "root", "rm", "-rf", "/sdcard/bazel-adb-test.tar.gz", "/data/baze…
74 cmdAndArgs("adb", "root"),
75 cmdAndArgs("adb", "shell", "cat /sys/devices/system/cpu/cpu4/online").withStdout("0\n"),
76 cmdAndArgs("adb", "shell", `echo "1" > /sys/devices/system/cpu/cpu4/online`),
77 cmdAndArgs("adb", "shell", "cat /sys/devices/system/cpu/cpu4/online").withStdout("1\n"),
78 cmdAndArgs("adb", "shell", "cat /sys/devices/system/cpu/cpu5/online").withStdout("0\n"),
79 cmdAndArgs("adb", "shell", `echo "1" > /sys/devices/system/cpu/cpu5/online`),
80 cmdAndArgs("adb", "shell", "cat /sys/devices/system/cpu/cpu5/online").withStdout("1\n"),
81 cmdAndArgs("adb", "shell", "cat /sys/devices/system/cpu/cpu6/online").withStdout("0\n"),
[all …]
/external/chromium-trace/catapult/devil/devil/utils/
Dmock_calls_test.py47 self.adb = _DummyAdb()
51 raise ValueError('(device %s) command %r is not nice' % (self.adb, cmd))
64 self.assertEquals(self.adb.Shell, self.call_target(self.call.adb.Shell))
72 self.call_target(self.call.adb.Run)
76 self.call_target(self.call.adb.RunShell('cmd').append)
85 with self.patch_call(self.call.adb.Shell, return_value='hello'):
86 self.assertEquals('hello', self.adb.Shell('echo hello'))
93 with self.patch_call(self.call.adb.Shell, side_effect=ValueError):
95 self.adb.Shell('echo hello')
98 self.assertEquals(version_codes.LOLLIPOP, self.adb.build_version_sdk)
[all …]
/external/python/mobly/mobly/controllers/android_device_lib/
Dadb.py23 # Command to use for running ADB commands.
24 ADB = 'adb' variable
26 # adb gets confused if we try to manage bound ports in parallel, so anything to
30 # Number of attempts to execute "adb root", and seconds for interval time of
40 # `adb shell getprop` can take surprisingly long, when the device is a
46 # The regex pattern indicating the `adb connect` command did not fail.
53 """Base error type for adb proxy module."""
57 """Raised when an adb command encounters an error.
60 cmd: list of strings, the adb command executed.
65 This is an empty string if the adb command is not specific to a
[all …]
Dapk_utils.py20 from mobly.controllers.android_device_lib import adb
25 # Error messages from adb.
32 """Executes the adb install command.
36 install_args: list of strings, the args to be added to `adb install` cmd.
43 stdout = device.adb.install(
48 adb_cmd = 'adb -s %s install %s' % (device.serial, ' '.join(install_args))
49 raise adb.AdbError(cmd=adb_cmd, stdout=stdout, stderr=stderr, ret_code=0)
53 """Checks output of the adb install command and decides if install succeeded.
56 stdout: string, the standard out output of an adb install command.
57 stderr: string, the standard error output of an adb install command.
[all …]
/external/autotest/server/cros/tradefed/
Dadb.py7 # modules. Also when class Adb is instantiated, the user is likely to call the
8 # instance "adb" which would collide with this file name (unless they always
9 # use "import adb as someothername".
17 class Adb: class
18 """Class for running adb commands."""
26 Path to ADB and AAPT may have to be added it if is not in the path.
35 """Runs an ADB command on the host.
37 @param host: DUT to issue the adb command.
38 @param args: Extra args passed to the adb command.
44 # _install_paths should include the directory with adb.
[all …]
/external/skia/infra/bots/recipe_modules/flavor/examples/full.expected/
Dcpu_scale_failed.json12 "/usr/bin/adb.1.0.35",
28 "/usr/bin/adb.1.0.35",
45 "/usr/bin/adb.1.0.35",
63 "/usr/bin/adb.1.0.35",
105 "/usr/bin/adb.1.0.35",
117 "/usr/bin/adb.1.0.35",
134 "/usr/bin/adb.1.0.35",
153 "/usr/bin/adb.1.0.35",
169 "/usr/bin/adb.1.0.35",
186 "/usr/bin/adb.1.0.35",
[all …]
Dcpu_scale_failed_golo.json12 "/opt/infra-android/tools/adb",
28 "/opt/infra-android/tools/adb",
45 "/opt/infra-android/tools/adb",
63 "/opt/infra-android/tools/adb",
105 "/opt/infra-android/tools/adb",
117 "/opt/infra-android/tools/adb",
134 "/opt/infra-android/tools/adb",
153 "/opt/infra-android/tools/adb",
169 "/opt/infra-android/tools/adb",
186 "/opt/infra-android/tools/adb",
[all …]
Dretry_adb_command_retries_exhausted.json12 "/opt/infra-android/tools/adb",
28 "/opt/infra-android/tools/adb",
45 "/opt/infra-android/tools/adb",
63 "/opt/infra-android/tools/adb",
105 "/opt/infra-android/tools/adb",
117 "/opt/infra-android/tools/adb",
134 "/opt/infra-android/tools/adb",
154 "/opt/infra-android/tools/adb",
164 …"name": "adb kill-server after failure of 'mkdir /sdcard/revenge_of_the_skiabot/resources' (attemp…
169 "/opt/infra-android/tools/adb",
[all …]
Dcpu_scale_failed_once.json12 "/opt/infra-android/tools/adb",
28 "/opt/infra-android/tools/adb",
45 "/opt/infra-android/tools/adb",
63 "/opt/infra-android/tools/adb",
105 "/opt/infra-android/tools/adb",
117 "/opt/infra-android/tools/adb",
134 "/opt/infra-android/tools/adb",
153 "/opt/infra-android/tools/adb",
169 "/opt/infra-android/tools/adb",
186 "/opt/infra-android/tools/adb",
[all …]
/external/python/bumble/docs/mkdocs/src/extras/
Dandroid_remote_hci.md35 from an `adb shell` command line), it will try to bind to the Bluetooth HAL.
41 !!! tip "Restart `adb` as root"
43 $ adb root
55 Restart `adb` as root:
57 $ adb root
62 $ adb shell setenforce 0
67 $ adb shell setenforce 1
79 $ adb shell "ps -A | grep com.google.android.bluetooth"
91 !!! tip "Stopping the bluetooth process with adb"
93 $ adb shell cmd bluetooth_manager disable
[all …]
/external/pytorch/aten/src/ATen/native/quantized/cpu/qnnpack/scripts/
Dtest-android-x86.sh11 adb push build/android/x86/convolution-test /data/local/tmp/convolution-test
12 adb push build/android/x86/deconvolution-test /data/local/tmp/deconvolution-test
13 adb push build/android/x86/q8gemm-test /data/local/tmp/q8gemm-test
14 adb push build/android/x86/q8conv-test /data/local/tmp/q8conv-test
15 adb push build/android/x86/q8dw-test /data/local/tmp/q8dw-test
16 adb push build/android/x86/hgemm-test /data/local/tmp/hgemm-test
17 adb push build/android/x86/sgemm-test /data/local/tmp/sgemm-test
19 adb shell /data/local/tmp/convolution-test --gtest_color=yes
20 adb shell /data/local/tmp/deconvolution-test --gtest_color=yes
21 adb shell /data/local/tmp/q8gemm-test --gtest_color=yes
[all …]
Dtest-android-arm64.sh11 adb push build/android/arm64-v8a/convolution-test /data/local/tmp/convolution-test
12 adb push build/android/arm64-v8a/deconvolution-test /data/local/tmp/deconvolution-test
13 adb push build/android/arm64-v8a/q8gemm-test /data/local/tmp/q8gemm-test
14 adb push build/android/arm64-v8a/q8conv-test /data/local/tmp/q8conv-test
15 adb push build/android/arm64-v8a/q8dw-test /data/local/tmp/q8dw-test
16 adb push build/android/arm64-v8a/hgemm-test /data/local/tmp/hgemm-test
17 adb push build/android/arm64-v8a/sgemm-test /data/local/tmp/sgemm-test
19 adb shell /data/local/tmp/convolution-test --gtest_color=yes
20 adb shell /data/local/tmp/deconvolution-test --gtest_color=yes
21 adb shell /data/local/tmp/q8gemm-test --gtest_color=yes
[all …]
Dtest-android-armv7.sh11 adb push build/android/armeabi-v7a/convolution-test /data/local/tmp/convolution-test
12 adb push build/android/armeabi-v7a/deconvolution-test /data/local/tmp/deconvolution-test
13 adb push build/android/armeabi-v7a/q8gemm-test /data/local/tmp/q8gemm-test
14 adb push build/android/armeabi-v7a/q8conv-test /data/local/tmp/q8conv-test
15 adb push build/android/armeabi-v7a/q8dw-test /data/local/tmp/q8dw-test
16 adb push build/android/armeabi-v7a/hgemm-test /data/local/tmp/hgemm-test
17 adb push build/android/armeabi-v7a/sgemm-test /data/local/tmp/sgemm-test
19 adb shell /data/local/tmp/convolution-test --gtest_color=yes
20 adb shell /data/local/tmp/deconvolution-test --gtest_color=yes
21 adb shell /data/local/tmp/q8gemm-test --gtest_color=yes
[all …]
/external/executorch/extension/benchmark/android/benchmark/
Dandroid-llm-device-farm-test-spec.yml12 - adb -s $DEVICEFARM_DEVICE_UDID shell "ls -la /sdcard/"
13 - adb -s $DEVICEFARM_DEVICE_UDID shell "mkdir -p /data/local/tmp/minibench/"
14 - adb -s $DEVICEFARM_DEVICE_UDID shell "mv /sdcard/*.bin /data/local/tmp/minibench/"
15 - adb -s $DEVICEFARM_DEVICE_UDID shell "mv /sdcard/*.pte /data/local/tmp/minibench/"
16 - adb -s $DEVICEFARM_DEVICE_UDID shell "chmod 664 /data/local/tmp/minibench/*.bin"
17 - adb -s $DEVICEFARM_DEVICE_UDID shell "chmod 664 /data/local/tmp/minibench/*.pte"
18 - adb -s $DEVICEFARM_DEVICE_UDID shell "ls -la /data/local/tmp/minibench/"
19 - adb -s $DEVICEFARM_DEVICE_UDID shell "run-as org.pytorch.minibench rm -rf files"
23 … # By default, the following ADB command is used by Device Farm to run your Instrumentation test.
24 …Please refer to Android's documentation for more options on running instrumentation tests with adb:
[all …]
/external/autotest/server/hosts/
Dandroid_host.py25 # adb auth key path on the phone_station.
55 # communication will be handled by run ADB CLI on the phone
96 """Restart adb server listening on a TCP port.
99 port: Tcp port for adb server to listening on, default value
100 is 5555 which is the default TCP/IP port for adb.
101 persist_reboot: True for adb over tcp to continue listening
106 self.run_adb_command('shell setprop persist.adb.tcp.port %s' %
118 cmd = 'adb devices -l | grep %s' % self.serial_number
130 """Ensure we can interact with the Android device via adb and
135 logging.info('Android device state from adb: %s', state)
[all …]
/external/skia/experimental/tools/
Dandroid_skp_capture.sh10 printf "Use \`adb shell 'pm list packages'\` to get a listing.\n\n"
13 if ! command -v adb > /dev/null 2>&1; then
14 if [ -x "${ANDROID_SDK_ROOT}/platform-tools/adb" ]; then
15 adb() { function
16 "${ANDROID_SDK_ROOT}/platform-tools/adb" "$@"
19 echo 'adb missing'
30 adb shell "setprop '${key}' '${remote_path}'"
49 test '0' = "$(adb shell "test -e \"$1\"; echo \$?")";
56 adb shell "setprop '${key}' ''"
65 X="$(adb shell "du \"$1\" 2> /dev/null | dd bs=1 count=1 2> /dev/null")"
[all …]
/external/angle/src/tests/restricted_traces/
Dpower_denoising.sh12 adb shell am broadcast -a com.google.gservices.intent.action.GSERVICES_OVERRIDE \
19 if adb shell dumpsys activity provider GservicesProvider | grep "$wanted" &>/dev/null;
32 adb root
36 adb shell pm disable $val
40 adb shell setprop vendor.sys.modem.diag.mdlog false
41 adb shell settings put secure display_white_balance_enabled 0
42 adb shell settings put system screen_brightness_mode 0
45 adb shell setprop pm.dexopt.disable_bg_dexopt true
48 contaminant_detection_node=$(adb shell find /sys -name contaminant_detection)
49 adb shell "echo 0 > ${contaminant_detection_node}"
[all …]
/external/googleapis/google/devtools/testing/v1/
Dadb_service.proto24 // API-facing proto equivalent to the internal ADB Service proto. In general,
26 // ADB Device Forwarder, with the caveat that these support a self-sufficient
35 // The result of a device stream from ADB.
43 // A message to an ADB server.
54 // A StatusUpdate message given over the ADB protocol for the device state.
56 // The state displayed with the ADB Device when running "adb devices"
61 // The ADB device is in the "device" status.
64 // The ADB device is in the "recovery" status.
67 // The ADB device is in the "rescue" status.
70 // The ADB device is in the "sideload" status.
[all …]
/external/armnn/scripts/
Dbuild_android_ndk_guide.sh352 adb start-server
353 adb shell rm -rf /data/local/tmp/*
355 adb root
356 adb remount
358 adb version
359 adb push libarmnn.so /data/local/tmp/
360 adb push libtimelineDecoder.so /data/local/tmp/
361 adb push libtimelineDecoderJson.so /data/local/tmp/
362 adb push GatordMock /data/local/tmp/
363 adb push libarmnnBasePipeServer.so /data/local/tmp/
[all …]

12345678910>>...51