/frameworks/rs/perf-test-scripts/ |
H A D | set-gpu-freq | 13 [ `adb shell "[ -f $1 ] && echo found"` ] 17 echo `adb shell cat $1 | tr -d '\r'` 24 adb shell "echo -n $2 > $1" 36 if [[ "`adb shell id | tr -d '\r' | awk -F'[()]' '{print $2}'`" != "root" ]]; then 37 adb root 39 adb wait-for-device 42 echo Device: `adb shell getprop ro.product.model` 73 adb shell stop $service
|
H A D | timing | 68 [ `adb shell "[ -f $1 ] && echo found"` ] 183 if [[ "`adb shell id | tr -d '\r' | awk -F'[()]' '{print $2}'`" != "root" ]]; then 184 adb root 185 adb wait-for-device 189 adb shell pm grant com.android.rs.imagejb android.permission.READ_EXTERNAL_STORAGE 190 adb shell pm grant com.android.rs.imagejb android.permission.WRITE_EXTERNAL_STORAGE 205 adb shell "am instrument -w $VARIABLES -e class $TEST_ROOT#${FUNCTION_NAMES[$testId]} $RUNNER" > /dev/null 209 adb shell cat /sdcard/rsTimes/${TEST_NAMES[$testId]}_DATA.txt > timing.tmp 259 adb shell "am instrument -w $VARIABLES $TESTS_TEXT $RUNNER" 269 adb shel [all...] |
/frameworks/opt/net/wifi/tests/wifitests/ |
H A D | coverage.sh | 30 # build system/core so we can invoke `adb`, and 45 adb root 46 adb wait-for-device 48 adb shell rm -f $REMOTE_COVERAGE_OUTPUT_FILE 50 adb install -r -g "$OUT/data/app/FrameworksWifiTests/FrameworksWifiTests.apk" 52 adb shell am instrument -e coverage true -w 'com.android.server.wifi.test/com.android.server.wifi.CustomTestRunner' 56 adb pull $REMOTE_COVERAGE_OUTPUT_FILE $COVERAGE_OUTPUT_FILE
|
H A D | runtests.sh | 38 adb root 39 adb wait-for-device 41 adb install -r -g "$OUT/data/app/FrameworksWifiTests/FrameworksWifiTests.apk" 43 adb shell am instrument -w "$@" \
|
/frameworks/opt/telephony/tools/ |
H A D | tdi | 40 adb shell am broadcast -a com.android.internal.telephony.$the_DC.action_fail_bringup $counter $fail_cause $suggested_retry_time
|
/frameworks/base/tools/bit/ |
H A D | Android.mk | 29 adb.cpp \
|
/frameworks/compile/libbcc/gdb_plugin/ |
H A D | android-commands.py | 99 Uses subprocess to invoke adb. 113 'out', 'host', 'linux-x86', 'bin', 'adb') 152 raise gdb.GdbError("Error starting background adb " + str(largs)) 154 raise gdb.GdbError("Unknown error starting background adb " + str(largs)) 166 raise gdb.GdbError("Error starting adb " + str(largs)) 168 raise gdb.GdbError("Unknown error starting adb " + str(largs)) 273 # adb getprop [property] 284 # adb push 288 # adb forward <source> <destination> 297 # adb pul 760 adb = ADB(verbose=be_verbose) variable [all...] |
/frameworks/base/core/tests/systemproperties/ |
H A D | run_core_systemproperties_test.sh | 19 COMMAND="adb install -r $TESTAPP" 24 adb shell am instrument -w -e class android.os.SystemPropertiesTest com.android.frameworks.coretests.systemproperties/android.test.InstrumentationTestRunner
|
/frameworks/rs/tests/lldb/tests/harness/ |
H A D | util_android.py | 37 '''Provides some utility methods that interface with Android using adb.''' 41 # The path to the adb binary on the local machine 60 def adb(self, args, async=False, device=True, timeout=None): member in class:UtilAndroid 61 '''Run an adb command (async optional). 64 args: The command (including arguments) to run in adb. 65 async: Boolean to specify whether adb should run the command 68 device should be inserted in the adb command. 80 If adb was synchronously run and the command completed by the 82 error) from adb. Otherwise it returns None. 116 '''Attempt to execute the given adb comman [all...] |
H A D | util_bundle.py | 137 output = self._android.adb('uninstall ' + package) 182 self._android.adb('uninstall ' + package) 195 output = self._android.adb(cmd, False, True, 231 output = self._android.adb(cmd, False, True,
|
/frameworks/base/test-runner/tests/ |
H A D | Android.mk | 21 # adb install -r ${ANDROID_PRODUCT_OUT}/data/app/FrameworkTestRunnerTests/FrameworkTestRunnerTests.apk 22 # adb shell am instrument \
|
/frameworks/base/core/tests/overlaytests/ |
H A D | testrunner.py | 35 adb = 'adb' variable 38 argv = shlex.split(adb + " shell '" + cmd + "; echo $?'") 197 argv = shlex.split(adb + ' push %s %s' % (src, self.dest)) 374 (returncode, stdout, stderr) = _adb_shell('getprop service.adb.root 0') 380 argv = shlex.split(adb + ' root') 386 argv = shlex.split(adb + ' wait-for-device') 399 argv = shlex.split(adb + ' remount') 402 # adb remount returns 0 even if the operation failed, so check stdout 509 line = line.rstrip() # strip \r from adb outpu [all...] |
/frameworks/base/tools/velocityplot/ |
H A D | velocityplot.py | 277 # Start adb. 278 print "Starting adb logcat.\n" 280 adb = subprocess.Popen(['adb', 'logcat', '-s', '-v', 'time', 'Input:*', 'VelocityTracker:*'], variable 282 adbout = NonBlockingStream(adb.stdout)
|
/frameworks/base/tools/orientationplot/ |
H A D | orientationplot.py | 445 # Start adb. 446 print "Starting adb logcat.\n" 448 adb = subprocess.Popen(['adb', 'logcat', '-s', '-v', 'time', 'WindowOrientationListener:V'], variable 450 adbout = NonBlockingStream(adb.stdout)
|
/frameworks/rs/tests/lldb/ |
H A D | run_tests.py | 443 output = android.adb('push {0} {1}'.format(state.lldb_server_path_host, 585 - Validating that adb exists and runs.
|