Home
last modified time | relevance | path

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

12

/art/tools/
Dbuildbot-setup-device.sh35 adb root
36 adb wait-for-device
42 adb shell date
45 device_seconds_since_epoch=$(adb shell date -u +%s)
57 adb shell pkill -9 -U logd logd && echo -e "${green}...logd killed${nc}"
62 adb shell date -u @$host_seconds_since_epoch
66 adb shell setenforce 0
67 $verbose && adb shell getenforce
70 adb shell ifconfig lo up
71 $verbose && adb shell ifconfig
[all …]
Dbuildbot-teardown-device.sh27 adb root
28 adb wait-for-device
34 if adb shell test -d "$ART_TEST_CHROOT"; then
38 adb shell lsof | grep "$ART_TEST_CHROOT"
48 adb shell ls -ld "/proc/*/root" \
53 local cmdline=$(adb shell cat "$dir"/cmdline | tr '\000' ' ')
85 adb shell test -d "$dir" \
86 && adb shell mount | grep -q "^$fstype on $dir type $fstype " \
87 && if adb shell umount "$dir"; then
88 $remove_dir && adb shell rmdir "$dir"
[all …]
Dbuildbot-cleanup-device.sh24 adb root
25 adb wait-for-device
34 if adb shell test -d "$ART_TEST_CHROOT"; then
36 adb shell rm -rf "$ART_TEST_CHROOT/linkerconfig"
39 adb shell rm -rf "$ART_TEST_CHROOT/system"
42 adb shell rm -rf "$ART_TEST_CHROOT/data"
45 adb shell rmdir "$ART_TEST_CHROOT" || adb shell ls -la "$ART_TEST_CHROOT"
48 adb shell rm -rf \
Dbuildbot-sync.sh29 adb root
30 adb wait-for-device
63 adb shell mkdir -p "$ART_TEST_CHROOT/$dir"
64 adb push "$ANDROID_PRODUCT_OUT/$dir" "$ART_TEST_CHROOT/"
73 adb push "$ANDROID_BUILD_TOP/art/tools/public.libraries.buildbot.txt" \
77 adb shell mkdir -p "$ART_TEST_CHROOT/system/framework"
97 adb shell mkdir -p "$ART_TEST_CHROOT/apex"
98 adb shell rm -rf "$ART_TEST_CHROOT/apex/${dst_apex}"
101 adb shell mv "$ART_TEST_CHROOT/system/apex/${src_apex}" "$ART_TEST_CHROOT/apex/${dst_apex}" \
Dboot-image-profile-configure-device.sh54 adb root
55 adb shell stop
56 adb shell setprop dalvik.vm.profilebootclasspath true
57 adb shell setprop dalvik.vm.profilesystemserver true
58 adb shell find "/data/misc/profiles -name *.prof -exec truncate -s 0 {} \;"
59 adb shell start
Dadd_package_property.sh26 adb push $PROPERTY_SCRIPT_PATH /data/data/$PACKAGE_NAME/
27 adb shell chmod o+x /data/data/$PACKAGE_NAME/$PROPERTY_SCRIPT_NAME
28 adb shell restorecon /data/data/$PACKAGE_NAME/$PROPERTY_SCRIPT_NAME
29 adb shell setprop wrap.$PACKAGE_NAME /data/data/$PACKAGE_NAME/$PROPERTY_SCRIPT_NAME
Dsymbolize.sh41 adb pull $1/$2 /tmp || exit 1
44 adb pull $1/$vdex /tmp/ 2>/dev/null
51 adb shell $@ | sed 's/\r$//'
Dboot-image-profile-extract-profile.sh31 adb shell cmd package snapshot-profile android
32 adb pull /data/misc/profman/android.prof "$OUT_PROFILE"
Drun-gtests.sh32 adb="${ADB:-adb}"
47 tests=$("$adb" shell chroot "$ART_TEST_CHROOT" \
55 "$adb" shell chroot "$ART_TEST_CHROOT" \
Dbuildbot-symbolize-crashes.sh23 adb logcat -d
/art/libnativeloader/test/
Druntest.sh2 adb root
3 adb remount
4 adb sync
5 adb shell stop
6 adb shell start
8 adb logcat -c;
9 adb shell am start -n android.test.app.system/android.test.app.TestActivity
10 adb shell am start -n android.test.app.vendor/android.test.app.TestActivity
11 adb logcat | grep android.test.app
/art/test/utils/
Dget-device-isa46 adb root > /dev/null
47 adb wait-for-device
53 ISA_adb_invocation=$(adb shell ls /data/dalvik-cache)
65 echo >&2 $(adb shell ls -F /data/dalvik-cache)
66 echo >&2 $(adb shell ls /data/dalvik-cache)
68 echo >&2 $(adb shell ls -F /data/dalvik-cache | grep -Ewo "${ARCHITECTURES_PATTERN}")
/art/tools/jvmti-agents/simple-force-redefine/
DREADME.md16 > `adb shell setenforce 0`
18 > `adb push $ANDROID_PRODUCT_OUT/system/lib64/libforceredefine.so /data/local/tmp/`
22 > `adb push /tmp/classlist /data/local/tmp/`
24 > `adb shell am attach-agent $(adb shell pidof some.deubggable.app) /data/local/tmp/libforcerede…
28 > `adb shell am attach-agent $(adb shell pidof some.deubggable.app) /data/local/tmp/libforcerede…
29 > `adb shell am attach-agent $(adb shell pidof some.deubggable.app) /data/local/tmp/libforcerede…
30 > `adb shell am attach-agent $(adb shell pidof some.deubggable.app) /data/local/tmp/libforcerede…
/art/tools/jvmti-agents/dump-jvmti-state/
DREADME.md21 > `adb shell setenforce 0`
23 > `adb push $ANDROID_PRODUCT_OUT/system/lib64/libdumpjvmti.so /data/local/tmp/`
25 > `adb shell am start-activity --attach-agent /data/local/tmp/libdumpjvmti.so some.debuggable.ap…
27 > `adb shell kill -3 $(adb shell pidof some.debuggable.apps)`
/art/tools/jvmti-agents/titrace/
DREADME.md26 > `adb root`
27 > `adb shell setprop dalvik.vm.dex2oat-flags --debuggable`
30 > `adb shell stop && adb shell start`
36 > `adb push $ANDROID_PRODUCT_OUT/system/lib64/libtitrace.so /data/local/tmp`
40 > `adb shell run-as com.littleinc.orm_benchmark 'cp /data/local/tmp/libtitrace.so /data/data/com.li…
47 > `adb shell am start --attach-agent /data/data/com.littleinc.orm_benchmark/files/libtitrace.so com…
54 > `adb shell am attach-agent $(pid com.littleinc.orm_benchmark) /data/data/com.littleinc.orm_bench…
/art/test/etc/
Drun-test-jar1124 adb root > /dev/null
1125 adb wait-for-device
1127 adb shell rm -rf $CHROOT_DEX_LOCATION
1128 adb shell mkdir -p $CHROOT_DEX_LOCATION
1129 adb push $TEST_NAME.jar $CHROOT_DEX_LOCATION
1130 adb push $TEST_NAME-ex.jar $CHROOT_DEX_LOCATION
1132 adb push profile $CHROOT_DEX_LOCATION
1136 adb push res $CHROOT_DEX_LOCATION
1139 adb shell rm -rf $CHROOT_DEX_LOCATION >/dev/null 2>&1
1140 adb shell mkdir -p $CHROOT_DEX_LOCATION >/dev/null 2>&1
[all …]
/art/tools/jvmti-agents/enable-vlog/
DREADME.md89 > `adb shell setenforce 0`
91 > `adb push $ANDROID_PRODUCT_OUT/system/lib64/libenablevlog.so /data/local/tmp/`
93 > `adb shell am start-activity --attach-agent /data/local/tmp/libenablevlog.so=class,jit some.de…
/art/tools/jvmti-agents/field-null-percent/
Dcheck-null-fields.py24 import adb
70 device = adb.device.get_device(out.serial)
144 except adb.device.ShellError as e:
DREADME.md27 > `adb shell setenforce 0`
29 > `adb push $ANDROID_PRODUCT_OUT/system/lib64/libfieldnulls.so /data/local/tmp/`
31 > `adb shell am start-activity --attach-agent '/data/local/tmp/libfieldnulls.so=Ljava/lang/Class…
/art/tools/jvmti-agents/ti-fast/
DREADME.md105 > `adb shell setenforce 0`
107 > `adb push $ANDROID_PRODUCT_OUT/system/lib64/libtifast.so /data/local/tmp/`
109 > `adb shell am start-activity --attach-agent /data/local/tmp/libtifast.so=MonitorWait,ClassPrep…
/art/tools/jvmti-agents/field-counts/
Dcount-fields.py25 import adb
71 device = adb.device.get_device(out.serial)
162 except adb.device.ShellError as e:
DREADME.md31 adb shell setenforce 0
33 adb push $ANDROID_PRODUCT_OUT/system/lib64/libfieldcounts.so /data/local/tmp/
35 adb shell am start-activity --attach-agent '/data/local/tmp/libfieldcounts.so=Ljava/lang/Class;.ext…
/art/tools/jvmti-agents/list-extensions/
DREADME.md49 > `adb shell setenforce 0`
51 > `adb push $ANDROID_PRODUCT_OUT/system/lib64/liblistextensions.so /data/local/tmp/`
53 > `adb shell am start-activity --attach-agent /data/local/tmp/liblistextensions.so some.debuggab…
/art/tools/jvmti-agents/ti-alloc-sample/
DREADME.md72 > `adb shell setenforce 0`
74 > `adb push $ANDROID_PRODUCT_OUT/system/lib64/libtiallocsample.so /data/local/tmp/`
76 > `adb shell am start-activity --attach-agent /data/local/tmp/libtiallocsample.so=100 some.debug…
/art/test/
DREADME.chroot.md13 installing ART and all other required artifacts there, and having tests use `adb
33 (i.e. be able to run `adb root` successfully).
58 export ADB="$ANDROID_BUILD_TOP/prebuilts/runtime/adb"
65 m adb

12