Home
last modified time | relevance | path

Searched refs:adb (Results 1 – 25 of 479) sorted by relevance

12345678910>>...20

/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 …]
Dandroid-armv7-test.sh5 adb push build/android/armeabi-v7a/init-test /data/local/tmp/init-test
6 adb push build/android/armeabi-v7a/cache-test /data/local/tmp/cache-test
7 adb push build/android/armeabi-v7a/chipset-test /data/local/tmp/chipset-test
8 adb shell /data/local/tmp/init-test --gtest_color=yes
9 adb shell /data/local/tmp/cache-test --gtest_color=yes
10 adb shell /data/local/tmp/chipset-test --gtest_color=yes
Dandroid-arm64-test.sh5 adb push build/android/arm64-v8a/init-test /data/local/tmp/init-test
6 adb push build/android/arm64-v8a/cache-test /data/local/tmp/cache-test
7 adb push build/android/arm64-v8a/chipset-test /data/local/tmp/chipset-test
8 adb shell /data/local/tmp/init-test --gtest_color=yes
9 adb shell /data/local/tmp/cache-test --gtest_color=yes
10 adb shell /data/local/tmp/chipset-test --gtest_color=yes
/external/python/mobly/tests/mobly/controllers/android_device_lib/
Dadb_test.py21 from mobly.controllers.android_device_lib import adb
77 self.assertTrue(adb.is_adb_available())
82 self.assertFalse(adb.is_adb_available())
88 out = adb.AdbProxy()._exec_cmd(['fake_cmd'],
101 with self.assertRaisesRegex(adb.AdbError,
103 adb.AdbProxy(mock_serial).fake_cmd()
112 with self.assertRaisesRegex(adb.AdbError,
114 adb.AdbProxy()._exec_cmd(['fake_cmd'],
126 out = adb.AdbProxy()._exec_cmd(['fake_cmd'],
140 adb.AdbTimeoutError, 'Timed out executing command "adb -s '
[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/drm_hwcomposer/
Dbuild_deploy.sh14 adb root && adb remount && adb sync vendor
16 adb shell stop
17 adb shell stop vendor.hwcomposer-2-1 && adb shell start vendor.hwcomposer-2-1 || true
18 adb shell stop vendor.hwcomposer-2-2 && adb shell start vendor.hwcomposer-2-2 || true
19 adb shell stop vendor.hwcomposer-2-3 && adb shell start vendor.hwcomposer-2-3 || true
20 adb shell stop vendor.hwcomposer-2-4 && adb shell start vendor.hwcomposer-2-4 || true
22 [ $HWCLOG -eq "1" ] && adb logcat -c
24 adb shell start
26 [ $HWCLOG -eq "1" ] && adb logcat | grep -i hwc
/external/perfetto/ui/src/controller/
Dadb_jsdomtest.ts26 const adb = new AdbOverWebUsb(); constant
29 adb.sendRaw = sendRaw;
31 adb.recvRaw = recvRaw;
41 await adb.startAuthentication();
49 const adb = new AdbOverWebUsb(); constant
50 adb.key = {} as unknown as CryptoKeyPair;
51 adb.state = AdbState.AUTH_STEP2;
54 adb.onConnected = onConnected;
64 await adb.onMessage(connectedMsg);
66 expect(adb.state).toBe(AdbState.CONNECTED);
[all …]
Dadb_shell_controller.ts38 constructor(adb: Adb, consumer: Consumer) {
39 super(adb, consumer);
40 this.adb = adb;
86 this.recordShell = await this.adb.shell(recordCommand);
111 await this.adb.shell(this.generateReadTraceCommand());
123 await this.adb.shellOutputAsString(`ps -u shell | grep perfetto`);
148 await this.adb.shellOutputAsString(`kill -SIGINT ${pid}`);
/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/webrtc/tools_webrtc/android/profiling/
Dutilities.sh79 adb shell ps | grep "${app_name}" | awk '{print $2}'
84 local installed_app_name=$(adb shell pm list packages \
98 adb shell am start \
105 adb shell am force-stop "${app_name}"
110 adb uninstall "${app_name}"
114 adb shell uname -m
119 adb shell ls "${dir}"
124 [[ $(adb devices | wc -l) = 3 ]]
129 [[ $(adb shell getprop ro.build.type) = "userdebug" ]]
134 [[ $(adb shell getprop ro.build.type) = "user" ]]
[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 …]
/external/vulkan-validation-layers/build-android/
Dtest_APK.sh80 if [[ $(adb devices) != *"$serial"* ]]
88 echo Using device $(adb get-serialno)
118 adb $serialFlag shell input keyevent "KEYCODE_MENU"
119 adb $serialFlag shell input keyevent "KEYCODE_HOME"
148 adb $serialFlag logcat -c
151 adb $serialFlag shell am force-stop com.example.VulkanLayerValidationTests
156 adb $serialFlag shell pm list packages | grep com.example.VulkanLayerValidationTests
159 adb $serialFlag uninstall com.example.VulkanLayerValidationTests
170 adb $serialFlag install -r bin/VulkanLayerValidationTests.apk
172 adb $serialFlag install --abi $abi -r bin/VulkanLayerValidationTests.apk
[all …]
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dadb_wrapper_test.py22 self.adb = adb_wrapper.AdbWrapper(self.device_serial)
26 self.adb, '_RunDeviceAdbCmd',
31 self.adb.DisableVerity()
37 self.adb.DisableVerity()
41 self.adb.EnableVerity()
47 self.adb.EnableVerity()
52 self.adb.EnableVerity)
57 self.adb.DisableVerity)
63 self.assertRaises(device_errors.DeviceUnreachableError, self.adb.Shell,
69 self.assertRaises(device_errors.DeviceUnreachableError, self.adb.Shell,
[all …]
/external/skia/platform_tools/android/apps/skottie/
Drun_perf.sh21 adb root
23 adb shell input keyevent MENU
24 adb shell input keyevent MENU
25 adb shell setprop persist.traced.enable 1
26 adb shell setenforce 0
27 adb shell setprop debug.egl.traceGpuCompletion 1
28 adb shell am force-stop org.skia.skottie
40 adb shell am start -n org.skia.skottie/.PerfActivity --ei renderer ${renderer} --ei file ${file}
50 adb shell am start -n org.skia.skottie/.PerfActivity --ei renderer ${renderer} --ei file ${file}
54 adb shell am force-stop org.skia.skottie
/external/toybox/
Drun-tests-on-android.sh8 if [[ $(adb shell getprop ro.debuggable) == 1 ]]; then
9 adb shell su root rm -rf /data/local/tmp/toybox-tests/
11 adb shell rm -rf /data/local/tmp/toybox-tests/
12 adb shell mkdir /data/local/tmp/toybox-tests/
13 adb push tests/ /data/local/tmp/toybox-tests/
14 adb push scripts/runtest.sh /data/local/tmp/toybox-tests/
17 tmp_dir=`adb shell mktemp --directory /data/local/tmp/toybox-tests-tmp.XXXXXXXXXX`
37 location=$(adb shell "which $toy")
45 implementation=$(adb shell "realpath $location")
52 adb shell $dash_t "\
/external/skia/tools/skqp/
Drun_apk.sh23 adb wait-for-device || exit 1
27 adb uninstall org.skia.skqp > /dev/null 2>&1
29 adb install "$APK" || exit 1
31 adb logcat -c
33 adb shell am instrument $SKQP_ARGS -w org.skia.skqp 2>&1 | tee "$DST"/stdout
35 adb logcat -d TestRunner org.skia.skqp skia DEBUG '*:S' > "$DST"/logcat
39 if adb shell "test -d '$ODIR'"; then adb pull "$ODIR" "$DST"; fi
/external/autotest/server/cros/tradefed/
Dadb_unittest.py9 from autotest_lib.server.cros.tradefed import adb
20 target = adb.get_adb_target(mock_host)
28 target = adb.get_adb_target(mock_host)
36 target = adb.get_adb_target(mock_host)
51 targets = adb.get_adb_targets([mock_host1, mock_host2, mock_host3])
55 instance = adb.Adb()
64 instance = adb.Adb()
80 instance = adb.Adb()
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils_test.py120 self.assertEqual(serial_as_str, d.adb.GetDeviceSerial())
126 self.assertEqual(serial_as_unicode, d.adb.GetDeviceSerial())
132 self.assertEqual(serial, d.adb.GetDeviceSerial())
210 adb = mock.Mock(spec=adb_wrapper.AdbWrapper)
211 adb.__str__ = mock.Mock(return_value=test_serial)
212 adb.GetDeviceSerial.return_value = test_serial
213 adb.is_ready = is_ready
214 return adb
219 self.adb = _AdbWrapperMock('0123456789abcdef')
221 self.adb, default_timeout=10, default_retries=0)
[all …]
/external/bc/
Drun-bc-tests-on-android.sh4 adb shell rm -rf /data/local/tmp/bc-tests/
5 adb shell mkdir /data/local/tmp/bc-tests/
6 adb shell mkdir /data/local/tmp/bc-tests/scripts/
7 adb push tests/ /data/local/tmp/bc-tests/
8 adb push scripts/functions.sh /data/local/tmp/bc-tests/scripts/
16 exec adb shell $dash_t /data/local/tmp/bc-tests/tests/all.sh -n bc 0 1 0 0 0 bc
/external/python/mobly/mobly/controllers/
Dandroid_device.py26 from mobly.controllers.android_device_lib import adb
221 out = adb.AdbProxy().devices()
233 out = adb.AdbProxy().devices(['-l'])
504 self.adb = adb.AdbProxy(serial)
689 self.adb.serial = new_serial
802 build_info = self.adb.getprops(CACHED_SYSTEM_PROPS)
821 return '0' == self.adb.shell('id -u').decode('utf-8').strip()
822 except adb.AdbError:
825 return '0' == self.adb.shell('id -u').decode('utf-8').strip()
899 self.adb.root()
[all …]
/external/perfetto/python/tools/
Drecord_android_trace.py160 adb('shell', 'atrace', '--list_categories').wait()
164 adb('shell', 'cat /d/tracing/available_events | tr : /').wait()
188 probe = adb('shell', probe_cmd, stdout=subprocess.PIPE)
207 exit_code = adb('push', '--sync', tracebox_bin, perfetto_cmd).wait()
208 exit_code |= adb('shell', 'chmod 755 ' + perfetto_cmd).wait()
217 adb('root').wait()
231 mktmp = adb(
241 exit_code = adb('push', '--sync', args.config, on_device_config).wait()
272 proc = adb('shell', *cmd, stdin=f, stdout=subprocess.PIPE)
275 adb('shell', 'rm', on_device_config).wait()
[all …]
/external/v4l2_codec2/tests/c2_e2e_test/
DREADME.md6 tests. Make sure the device under test (DUT) is connected with adb.
19 $ adb install \
21 $ adb shell pm grant \
23 $ adb shell pm grant \
32 $ adb push test-25fps.h264 /sdcard/Download
33 $ adb push test-25fps.h264.frames.md5 /sdcard/Download
39 $ adb shell am start -n \
51 $ adb shell cat /sdcard/Download/gtest_logs.txt
62 `adb shell am start -n .../.E2eTestActivity --activity-single-top`)
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/
Drun_tests.sh28 adb shell rm -rf "${on_device_dir}"
29 adb shell mkdir "${on_device_dir}"
34 adb push bazel-bin/tensorflow/lite/delegates/hexagon/hexagon_nn/libhexagon_interface.so "${on_devic…
35 adb push ${hexagon_libs_path} "${on_device_dir}"
39 adb push $test_binary "${on_device_dir}"
45 …result=$(adb shell 'LD_LIBRARY_PATH=/data/local/tmp/hexagon_delegate_test:${LD_LIBRARY_PATH} '"${r…

12345678910>>...20