Searched refs:adb (Results 1 - 21 of 21) sorted by relevance

/system/extras/tests/ext4/
H A Dandroid_emmc_perf_tests.sh22 if ! adb shell true >/dev/null 2>&1
24 echo "No device detected over adb"
27 HARDWARE=`adb shell getprop ro.hardware | tr -d "\r"`
84 adb root
85 adb wait-for-device
86 adb push "$PERF" /dev
87 adb shell stop
88 adb shell stop sdcard
89 adb shell stop ril-daemon
90 adb shel
[all...]
/system/media/audio_utils/tests/
H A Dbuild_and_run_all_unit_tests.sh18 adb root && adb wait-for-device remount
22 adb push $OUT/system/lib/libaudioutils.so /system/lib
23 adb push $OUT/data/nativetest/primitives_tests /system/bin
24 adb shell /system/bin/primitives_tests
/system/extras/ANRdaemon/
H A DANRdaemon_get_trace.sh12 PID=$(adb $DEVICE shell "ps | grep anrd")
20 adb $DEVICE shell "kill -s SIGUSR1 $PID"
22 TRACE_FILE=$(adb $DEVICE shell "ls $TRACE_DIR \
26 adb $DEVICE shell "lsof $PID" | grep $TRACE_FILE > /dev/null
30 adb $DEVICE shell "lsof $PID" | grep "$TRACE_FILE" > /dev/null
37 adb $DEVICE pull "${TRACE_DIR}/${TRACE_FILE}" ${TRACE_FILE}
/system/extras/tests/bootloader/
H A Dshelltest.py15 import adb namespace
22 self.device = adb.get_device(os.getenv("BOOTLOADER_TEST_SERIAL"));
/system/bt/vendor_libs/test_vendor_lib/scripts/
H A Dbuild_and_run.sh76 adb forward tcp:${TEST_CHANNEL_PORT} tcp:${TEST_CHANNEL_PORT}
80 adb shell am start -a android.bluetooth.adapter.action.REQUEST_ENABLE
99 adb shell mount -o remount,rw /
100 adb remount
108 adb push ${VENDOR_SYMBOLS_ABS}/${VENDOR_LIB} /vendor/lib
111 adb push ${TEST_VENDOR_LIB_ABS}/data/${CONTROLLER_PROPERTIES} /etc/bluetooth/
114 adb push ${DEVICE_TARGET_ABS}/${DEVICE}/system/lib/libevent.so /system/lib/
117 adb push ${DEVICE_TARGET_ABS}/${DEVICE}/system/lib/libchrome.so /system/lib/
120 adb logcat -c
123 adb logca
[all...]
/system/extras/tests/sdcard/
H A Dprofile_sdcard.sh19 adb shell cat /proc/version
22 adb shell cat /sys/kernel/debug/sched_features
40 adb shell sdcard_perf_test --test=write --procnb=${p} --size=1000 --chunk-size=100 --iterations=50 >/tmp/tmp-sdcard.txt
/system/extras/tests/workloads/
H A Dpwrtest.sh34 # a bash script which should include adb commands to set up device):
132 adb shell mkdir -p $devdir
135 adb push $CMDDIR/$file $devdir
143 dircontents=$(adb ls $stdest 2>/dev/null)
146 adb install $suntempledir/*.apk
147 adb shell mkdir -p $stdest
148 adb push $suntempledir/main*obb $stdest
162 echo enabled Cores $(adb shell "cat /sys/devices/system/cpu/online")
181 adb devices
188 (adb shel
[all...]
H A Dcapture.sh6 # do a throw-away adb in case the server is out-of-date
7 adb devices -l 2>&1 >/dev/null
21 devInfo=$(adb devices -l | grep -v ^List | head -1)
56 stdbuf -o0 adb shell getevent -t |
H A Ddefs.sh41 echo "-s device : adb device"
85 # do a throw-away adb in case the server is out-of-date
86 adb devices -l 2>&1 >/dev/null
89 devInfo=$(adb devices -l | grep -v ^List | head -1)
91 devInfo=$(adb devices -l | grep $deviceName)
99 ADB="adb -s $deviceName shell "
/system/bt/test/
H A Drun_unit_tests.sh78 adb=( "adb" )
80 adb+=( "-s" "${device}" )
89 push_command=( "${adb[@]}" push {"${ANDROID_PRODUCT_OUT}",}"${binary}" )
90 test_command=( "${adb[@]}" shell "${binary}" )
/system/extras/multinetwork/
H A Dquick_test.sh38 adb shell /system/xbin/dnschk --nethandle $nethandle $TEST_HOST |
46 adb shell /system/xbin/httpurl --nethandle $nethandle "$url"
/system/core/init/
H A Dgrab-bootchart.sh4 # All options are passed to adb, for better or for worse.
17 adb "${@}" pull $LOGROOT/$f $TMPDIR/$f 2>&1 > /dev/null
H A Dperfboot.py55 import adb namespace
218 'adb disable-verity? That may skew the result.',
371 ['adb', 'logcat', '-b', 'events', '-v', 'threadtime'],
432 device = adb.get_device(args.serial)
/system/tools/aidl/tests/
H A Dintegration-test.py71 """Run a command on the device via adb shell.
86 return self.adb('shell %s' % pipes.quote(command),
102 def adb(self, command, ignore_status=False): member in class:AdbHost
103 """Run an ADB command (e.g. `adb sync`).
115 command = 'adb %s' % command
134 apk_path: Optional path to an APK to install via `adb install`
135 refresh_binaries: True iff we should `adb sync` new binaries to the
145 host.adb('install -r %s' % apk_path)
147 host.adb('remount')
148 host.adb('syn
[all...]
/system/core/adb/
H A DAndroid.mk3 # Android.mk for adb
40 # Much of adb is duplicated in bootable/recovery/minadb and fastboot. Changes
41 # made to adb rarely get ported to the other two, so the trees have diverged a
45 # get enough of adb in here that we no longer need minadb. https://b/17626262
47 adb.cpp \
216 # adb device tracker (used by ddms) test tool
234 # adb host tool
274 LOCAL_MODULE := adb
293 # on the host adb tool, and shared libraries that link against libc++
301 # Archive adb
[all...]
H A Dtest_adb.py17 """Tests for the adb program itself.
33 import adb namespace
42 ['adb', 'help'], stderr=subprocess.STDOUT)
46 """Get a version number out of the output of adb."""
47 lines = subprocess.check_output(['adb', 'version']).splitlines()
59 p = subprocess.Popen(['adb', 'tcpip'], stdout=subprocess.PIPE,
65 p = subprocess.Popen(['adb', 'tcpip', 'foo'], stdout=subprocess.PIPE,
76 # Test that launch_server() does not let the adb server inherit
77 # stdin/stdout/stderr handles which can cause callers of adb.exe to hang.
81 # This test takes 5 seconds to run on Windows: if there is no adb serve
[all...]
H A Dtest_device.py38 import adb namespace
91 @mock.patch('adb.device.get_devices')
94 device = adb.get_device('foo')
97 @mock.patch('adb.device.get_devices')
101 device = adb.get_device()
104 @mock.patch('adb.device.get_devices')
108 device = adb.get_device('foo')
111 @mock.patch('adb.device.get_devices')
114 self.assertRaises(adb.DeviceNotFoundError, adb
[all...]
/system/security/keystore/
H A Dtest-keystore45 # strip out carriage returns from adb
53 run adb shell su $user keystore_cli "$@"
57 run adb shell ls -al /data/misc/keystore
/system/sepolicy/
H A Dproperty_contexts40 service.adb.root u:object_r:shell_prop:s0
41 service.adb.tcp.port u:object_r:shell_prop:s0
H A Dfile_contexts253 /data/adb(/.*)? u:object_r:adb_data_file:s0
270 /data/misc/adb(/.*)? u:object_r:adb_keys_file:s0
/system/core/fastboot/
H A DAndroid.mk22 $(LOCAL_PATH)/../adb \

Completed in 458 milliseconds