/external/chromium_org/build/android/pylib/gtest/ |
test_package_exe.py | 36 def GetGTestReturnCode(self, adb): 41 if not adb.Adb().Pull( 56 def _AddNativeCoverageExports(self, adb): 71 adb.GetExternalStorage()) 76 def ClearApplicationState(self, adb): 77 adb.KillAllBlocking(self.suite_name, 30) 80 def CreateCommandLineFileOnDevice(self, adb, test_filter, test_arguments): 83 # We need to capture the exit status from the script since adb shell won't 90 self._AddNativeCoverageExports(adb), [all...] |
/development/samples/USB/AdbTest/ |
_index.html | 1 <p>AdbTest is a sample program that implements a subset of the <code>adb</code> USB protocol. 2 Currently it only implements the <code>adb logcat</code> command and displays the log 5 connecting to multiple devices and running multiple <code>adb</code> commands simultaneously.</p>
|
/external/qemu/android/ |
adb-qemud.h | 21 * Implements 'adb' QEMUD service that is responsible for the data exchange 22 * between the emulator and ADB daemon running on the guest. 25 /* Initializes adb QEMUD service. */
|
/system/extras/tests/fstest/ |
mounts-test.sh | 5 adb shell mount | grep -q /sdcard 14 adb shell mount | grep /sdcard | grep -q $i 24 adb shell ls /dev/*mem | grep -q $i
|
/development/samples/UiAutomator/ |
README | 9 # adb push uiautomator.samples.jar /data/local/tmp 10 # adb shell uiautomator runtest uiautomator.samples.jar -c com.android.test.uiautomator.demos.LaunchSettings 21 # adb push uiautomator.samples.jar /data/local/tmp 22 # adb shell uiautomator runtest uiautomator.samples.jar -c com.android.test.uiautomator.demos.LogBuildNumber 30 # adb push uiautomator.samples.jar /data/local/tmp 31 # adb shell uiautomator runtest uiautomator.samples.jar -c com.android.test.uiautomator.demos.SetTwoMinuteAlarm
|
/external/chromium_org/build/android/pylib/ |
forwarder.py | 65 def Map(port_pairs, adb, tool=None): 74 adb: An AndroidCommands instance. 82 tool = valgrind_tools.CreateTool(None, adb) 85 instance._InitDeviceLocked(adb, tool) 87 device_serial = adb.Adb().GetSerialNumber() 118 def UnmapDevicePort(device_port, adb): 122 adb: An AndroidCommands instance. 126 Forwarder._UnmapDevicePortLocked(device_port, adb) 129 def UnmapAllDevicePorts(adb) [all...] |
screenshot.py | 23 def TakeScreenshot(adb, host_file): 27 adb: AndroidCommands instance. 33 device_file = '%s/screenshot.png' % adb.GetExternalStorage() 34 adb.RunShellCommand('/system/bin/screencap -p %s' % device_file) 35 adb.PullFileFromDevice(device_file, host_file) 36 adb.RunShellCommand('rm -f "%s"' % device_file) 44 adb: AndroidCommands instance. 52 def __init__(self, adb, host_file, megabits_per_second=4, size=None, 54 self._adb = adb 55 self._device_file = '%s/screen-recording.mp4' % adb.GetExternalStorage( [all...] |
/external/chromium_org/third_party/openssl/openssl/android.testssl/ |
testssl.sh | 30 reqcmd="adb shell /system/bin/openssl req" 31 x509cmd="adb shell /system/bin/openssl x509 $digest" 45 adb remount 46 adb shell rm -r $device 47 adb shell mkdir $device 51 adb push . $device 55 adb shell "echo \"string to make the random number generator think it has entropy\" >> $device/.rnd" 77 adb shell rm -r $device
|
/external/chromium_org/third_party/openssl/openssl/patches/ |
testssl.sh | 30 reqcmd="adb shell /system/bin/openssl req" 31 x509cmd="adb shell /system/bin/openssl x509 $digest" 45 adb remount 46 adb shell rm -r $device 47 adb shell mkdir $device 51 adb push . $device 55 adb shell "echo \"string to make the random number generator think it has entropy\" >> $device/.rnd" 77 adb shell rm -r $device
|
/external/openssl/android.testssl/ |
testssl.sh | 30 reqcmd="adb shell /system/bin/openssl req" 31 x509cmd="adb shell /system/bin/openssl x509 $digest" 45 adb remount 46 adb shell rm -r $device 47 adb shell mkdir $device 51 adb push . $device 55 adb shell "echo \"string to make the random number generator think it has entropy\" >> $device/.rnd" 77 adb shell rm -r $device
|
/external/openssl/patches/ |
testssl.sh | 30 reqcmd="adb shell /system/bin/openssl req" 31 x509cmd="adb shell /system/bin/openssl x509 $digest" 45 adb remount 46 adb shell rm -r $device 47 adb shell mkdir $device 51 adb push . $device 55 adb shell "echo \"string to make the random number generator think it has entropy\" >> $device/.rnd" 77 adb shell rm -r $device
|
/external/chromium-trace/ |
systrace.py | 35 getprop_args = ['adb', 'shell', 'getprop', 'ro.build.version.sdk'] 43 adb = subprocess.Popen(getprop_args, stdout=subprocess.PIPE, 45 out, err = adb.communicate() 46 if adb.returncode != 0: 90 help='adb device serial number') 95 atrace_args = ['adb', 'shell', 'atrace', '--list_categories'] 101 atrace_args = ['adb', 'shell', 'atrace', '-z'] 124 if atrace_args[0] == 'adb': 148 adb = subprocess.Popen(atrace_args, stdout=subprocess.PIPE, 157 ready = select.select([adb.stdout, adb.stderr], [], [adb.stdout, adb.stderr] [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/ |
android_browser_backend.py | 21 def __init__(self, adb, activity, cmdline_file, package, pseudo_exec_name, 23 self.adb = adb 34 files = self.adb.RunShellCommandWithSU('ls "%s"' % self.profile_dir) 37 self.adb.RunShellCommandWithSU('rm -r %s' % ' '.join(paths)) 57 def _GetCommandLineFile(adb): 58 if adb.IsUserBuild(): 63 def __init__(self, adb, package): 65 adb=adb, 312 def adb(self): member in class:AndroidBrowserBackend [all...] |
android_browser_finder.py | 53 # adb shell pm list packages 54 # adb 94 self._backend_settings.adb.Adb(), 111 self._backend_settings.adb.Install(self._local_apk) 137 proc = subprocess.Popen(['adb', 'devices'], 144 ('adb devices reported a permissions error. Consider ' 145 'restarting adb as root:')) 146 logging.warn(' adb kill-server') 147 logging.warn(' sudo `which adb` devices\n\n' [all...] |
/bootable/recovery/minadbd/ |
README.txt | 1 The contents of this directory are copied from system/core/adb, with 4 adb.c 14 adb.h 15 - minor changes to match adb.c changes
|
/external/chromium_org/build/android/ |
adb_device_functions.sh | 10 # Run an adb command on all connected device in parallel. 19 echo "Usage: adb_all <adb command>. Quoting is optional." 41 echo 'Usage: adb_device_loop "echo $DEVICE: $(adb root &&' \ 42 'adb shell cat /data/local.prop)"' 51 DEV_TYPE=$(adb -s $DEVICE shell getprop ro.product.device | sed 's/\r//') 57 # Erases data from any devices visible on adb. To preserve a device, 59 # 1) Reboot it into fastboot with 'adb reboot bootloader' 66 if [[ -z $(which adb) || -z $(which fastboot) ]]; then 67 echo "aborting: adb and fastboot not in path" 105 echo "You can put a device in fastboot using adb reboot bootloader [all...] |
/frameworks/base/tests/backup/ |
test_backup_common.sh | 19 # run adb with options 20 function a { $DRY_RUN adb $ADB_OPTS "$@"; } 22 # restart adb as root and wait for it to come back again 27 echo -n "Restarting adb as root..."
|
/frameworks/webview/chromium/tools/ |
webview_command_line | 21 adb shell "cat $CMD_LINE_FILE 2>/dev/null" | cut -d" " -f "2-" 25 adb shell rm $CMD_LINE_FILE >/dev/null 29 adb shell "echo 'webview $*' > $CMD_LINE_FILE" 30 adb shell chmod 0664 $CMD_LINE_FILE
|
/system/extras/tests/mmc_tracepoints/ |
README | 4 adb shell echo 1 >/d/tracing/events/mmc/enable 5 adb shell echo 1 >/d/tracing/tracing_on 9 adb pull /d/tracing/trace 13 adb shell echo 0 >/d/tracing/tracing_enabled
|
/frameworks/compile/libbcc/gdb_plugin/ |
android-commands.py | 42 # ADB - Basic ADB wrapper, far from complete 96 class ADB: 98 Python class implementing a basic ADB wrapper for useful commands. 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) 760 adb = ADB(verbose=be_verbose) variable [all...] |
/external/chromium_org/tools/cr/cr/actions/ |
adb.py | 5 """A module to hold adb specific action implementations.""" 12 class Adb(object): 13 """Exposes the functionality of the adb tool to the rest of cr. 16 adb command line, and expose it in neutral form to the rest of the code. 95 '--adb={CR_ADB}', 112 Adb.Kill(target, arguments) 115 Adb.Run(target, arguments) 136 Adb.Uninstall(target, arguments) 140 Adb.Install(target, arguments) 144 Adb.Reinstall(target, arguments [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/ |
v8_profiler.py | 40 self._browser_backend.adb.Adb().Adb().Pull(output_file, host_output_file) 42 self._browser_backend.adb.Adb().RunShellCommand('rm %s' % output_file)
|
/external/libvpx/libvpx/test/android/ |
README | 13 Note: Both adb and ndk-build are available prebuilt at: 20 4) Transfer files to device using adb. Ensure you have proper permissions for 23 adb push /path/to/test_files /data/local/tmp 24 adb push /path/to/built_libs /data/local/tmp 29 adb shell
|
/system/core/adb/ |
adb_client.h | 4 #include "adb.h" 6 /* connect to adb, connect to the named service, and return 13 /* connect to adb, connect to the named service, return 0 if 18 /* connect to adb, connect to the named service, return 51 /* read a standard adb status response (OKAY|FAIL) and
|
/bootable/recovery/ |
verifier_test.sh | 22 ADB="adb -s emulator-$EMULATOR_PORT " 24 ADB="adb -d " 28 $ADB wait-for-device 33 $ADB shell "$@" \; echo \$? | awk '{if (b) {print a}; a=$0; b=1} END {exit a}' 61 $ADB push $ANDROID_PRODUCT_OUT/system/bin/verifier_test \ 66 $ADB push $DATA_DIR/$1 $WORK_DIR/package.zip 73 $ADB push $DATA_DIR/$1 $WORK_DIR/package.zip
|