Home
last modified time | relevance | path

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

12

/art/tools/
Dbuildbot-setup-device.sh42 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
75 adb shell getprop
78 adb shell uptime
[all …]
Dbuildbot-teardown-device.sh34 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"
91 adb shell lsof | grep "$dir"
96 adb shell rm -rf "$ART_TEST_CHROOT/apex"
[all …]
Dbuildbot-cleanup-device.sh34 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 \
Dboot-image-profile-configure-device.sh55 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
Dbuildbot-sync.sh62 adb shell mkdir -p "$ART_TEST_CHROOT/system"
87 adb shell mkdir -p "$ART_TEST_CHROOT/apex"
88 adb shell rm -rf "$ART_TEST_CHROOT/apex/${dst_apex}"
91 adb shell mv "$ART_TEST_CHROOT/system/apex/${src_apex}" "$ART_TEST_CHROOT/apex/${dst_apex}" \
116 adb shell chroot "$ART_TEST_CHROOT" \
118 ld_generated_config_files=$(adb shell find $ART_TEST_CHROOT/linkerconfig ! -type d | sed 's/^/ /')
128 adb shell mkdir -p "$ART_TEST_CHROOT/data"
Dadd_package_property.sh27 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
Drun-gtests.sh47 tests=$("$adb" shell chroot "$ART_TEST_CHROOT" \
55 "$adb" shell chroot "$ART_TEST_CHROOT" \
Dwrap-logcat.py49 shell=False,
55 shell=False) as run_test_proc:
Dboot-image-profile-extract-profile.sh31 adb shell cmd package snapshot-profile android
Dsymbolize.sh48 adb shell $@ | sed 's/\r$//'
DAndroid.bp32 // Copy the art shell script to the host and target's bin directory
Dgenerate_cmake_lists.py71 …subprocess.check_output('build/soong/soong_ui.bash --make-mode', shell=True, cwd=ANDROID_BUILD_TOP)
/art/tools/jvmti-agents/field-counts/
Dcount-fields.py76 device.shell("setenforce 0".split())
79 lib32 = device.shell("mktemp".split())[0].strip()
80 lib64 = device.shell("mktemp".split())[0].strip()
102 device.shell("logcat -c".split())
109 device.shell('rm {}'.format(lib32).split())
110 device.shell('rm {}'.format(lib64).split())
120 name = device.shell('cat /proc/{}/cmdline'.format(pid).split())[0].strip('\0')
123 target32 = device.shell('mktemp -p {}'.format(targetdir).split())[0].strip()
125 target64 = device.shell('mktemp -p {}'.format(targetdir).split())[0].strip()
128 device.shell('cp {} {}'.format(bit32, target32).split())
[all …]
DREADME.md23 ```shell
30 ```shell
31 adb shell setenforce 0
35 adb shell am start-activity --attach-agent '/data/local/tmp/libfieldcounts.so=Ljava/lang/Class;.ext…
/art/libnativeloader/test/
Druntest.sh5 adb shell stop
6 adb shell start
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
/art/tools/jvmti-agents/simple-force-redefine/
DREADME.md16 > `adb shell setenforce 0`
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/field-null-percent/
Dcheck-null-fields.py75 device.shell("setenforce 0".split())
78 lib32 = device.shell("mktemp".split())[0].strip()
79 lib64 = device.shell("mktemp".split())[0].strip()
102 device.shell("logcat -c".split())
109 device.shell('rm {}'.format(lib32).split())
110 device.shell('rm {}'.format(lib64).split())
120 device.shell(['am', 'attach-agent', str(pid), bit32])
121 device.shell(['am', 'attach-agent', str(pid), bit64])
123 device.shell('kill -3 {}'.format(pid).split())
128 for l in device.shell(lc_cmd)[0].strip().split('\n'):
DREADME.md27 > `adb shell setenforce 0`
31 > `adb shell am start-activity --attach-agent '/data/local/tmp/libfieldnulls.so=Ljava/lang/Class…
/art/test/utils/
Dget-device-isa53 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/dump-jvmti-state/
DREADME.md21 > `adb shell setenforce 0`
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/libartbase/base/
Dsocket_peer_is_trusted.cc38 passwd* shell = getpwnam("shell"); in SocketPeerIsTrusted() local
39 if (cr.uid != 0 && cr.uid != shell->pw_uid) { in SocketPeerIsTrusted()
/art/tools/jvmti-agents/titrace/
DREADME.md27 > `adb shell setprop dalvik.vm.dex2oat-flags --debuggable`
30 > `adb shell stop && adb shell start`
38 Upload to device first (it gets shell/root permissions).
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/
DAndroid.mk41 $(ADB) shell rm -rf $(ART_TARGET_NATIVETEST_DIR)
42 $(ADB) shell rm -rf $(ART_TARGET_TEST_DIR)
43 $(ADB) shell rm -rf $(ART_TARGET_DALVIK_CACHE_DIR)/*/*
44 $(ADB) shell rm -rf $(ART_DEXPREOPT_BOOT_JAR_DIR)/$(DEX2OAT_TARGET_ARCH)
45 $(ADB) shell rm -rf system/app/$(DEX2OAT_TARGET_ARCH)
47 …$(ADB) shell rm -rf $(ART_DEXPREOPT_BOOT_JAR_DIR)/$($(TARGET_2ND_ARCH_VAR_PREFIX)DEX2OAT_TARGET_AR…
48 $(ADB) shell rm -rf system/app/$($(TARGET_2ND_ARCH_VAR_PREFIX)DEX2OAT_TARGET_ARCH)
50 $(ADB) shell rm -rf data/run-test/test-*/dalvik-cache/*
93 (($(ADB) shell touch /system/testfile && \
94 ($(ADB) shell rm /system/testfile || true)) || \
[all …]
/art/test/etc/
Drun-test-jar1055 adb shell rm -rf $CHROOT_DEX_LOCATION
1056 adb shell mkdir -p $CHROOT_DEX_LOCATION
1067 adb shell rm -rf $CHROOT_DEX_LOCATION >/dev/null 2>&1
1068 adb shell mkdir -p $CHROOT_DEX_LOCATION >/dev/null 2>&1
1123 … if adb shell "test -x ${TIMEOUT_DUMPER_PATH_PREFIX}/apex/com.android.art/bin/signal_dumper" ; then
1126 elif adb shell "test -x ${TIMEOUT_DUMPER_PATH_PREFIX}/system/bin/signal_dumper" ; then
1198 adb shell chroot "$CHROOT" sh $DEX_LOCATION/cmdline.sh
1200 adb shell sh $DEX_LOCATION/cmdline.sh
/art/build/
DAndroid.common.mk41 GCOV_PREFIX_STRIP := $(shell echo $(ANDROID_BUILD_TOP) | grep -o / | wc -l)

12