android_system_core/adb
Dan Albert 8e1fdd7806 Create adb Python package.
This is mostly just the AdbWrapper that we used in our tests, but I've
cleaned up the API to be a little more Pythonic (mostly in the sense
that commands are passed as lists rather than strings that are
shlex.split() by the shell command), and implemented the workaround
error checking for adb shell.

Move the tests up a directory. Having them buried a level down has
only been annoying.

There are now two files containing Python tests. test_device.py
contains tests specifically checking the AndroidDevice API, and
test_adb.py checks the ADB client program. To run both, use

    python -m unittest discover [-v]

Change-Id: Ibd158c528d31126a5b048bd00bc93039dbc468bc
2015-07-27 15:52:15 -07:00
..
client adb: win32: fix logging to adb.log 2015-06-02 21:04:56 +00:00
daemon Ignore ro.adb.secure in user builds. 2015-06-18 10:19:30 -07:00
.clang-format
Android.mk Fix Win32 adb build (for the second time today). 2015-07-24 14:32:46 -07:00
CPPLINT.cfg Ignore whitespace/indent issues from cpplint. 2015-05-18 16:49:07 -07:00
MODULE_LICENSE_APACHE2
NOTICE
OVERVIEW.TXT
SERVICES.TXT
SYNC.TXT
__init__.py Create adb Python package. 2015-07-27 15:52:15 -07:00
adb.cpp Increase size of the the adb packets sent over the wire 2015-07-22 13:06:06 -07:00
adb.h Report getaddrinfo failures correctly. 2015-07-23 21:14:38 -07:00
adb_auth.cpp Increase size of the the adb packets sent over the wire 2015-07-22 13:06:06 -07:00
adb_auth.h Ignore ro.adb.secure in user builds. 2015-06-18 10:19:30 -07:00
adb_auth_client.cpp Increase size of the the adb packets sent over the wire 2015-07-22 13:06:06 -07:00
adb_auth_host.cpp Increase size of the the adb packets sent over the wire 2015-07-22 13:06:06 -07:00
adb_client.cpp Report getaddrinfo failures correctly. 2015-07-23 21:14:38 -07:00
adb_client.h Fix error handling/reporting for "adb forward" and "adb reverse". 2015-05-29 18:03:57 -07:00
adb_io.cpp Add WriteFdFmt and clean up more code. 2015-05-01 17:36:46 -07:00
adb_io.h Revert "Turn on -Wformat-nonliteral." 2015-07-09 20:35:09 +00:00
adb_io_test.cpp Add WriteFdFmt and clean up more code. 2015-05-01 17:36:46 -07:00
adb_listeners.cpp Report getaddrinfo failures correctly. 2015-07-23 21:14:38 -07:00
adb_listeners.h Fix error handling/reporting for "adb forward" and "adb reverse". 2015-05-29 18:03:57 -07:00
adb_trace.h Improve logging. 2015-05-21 16:25:57 -07:00
adb_utils.cpp Fix Win32 adb build. 2015-07-24 11:35:40 -07:00
adb_utils.h Report getaddrinfo failures correctly. 2015-07-23 21:14:38 -07:00
adb_utils_test.cpp Recognize IPv6 addresses for "adb connect". 2015-07-21 15:25:14 -07:00
commandline.cpp Merge "adb: win32: fix exec-in and exec-out to use binary mode" 2015-07-22 22:43:45 +00:00
console.cpp Report getaddrinfo failures correctly. 2015-07-23 21:14:38 -07:00
device.py Create adb Python package. 2015-07-27 15:52:15 -07:00
fdevent.cpp adb: logging: newlines, thread ids, error code overwriting 2015-07-21 02:06:26 -07:00
fdevent.h
file_sync_client.cpp Move mkdirs to adb_utils. 2015-07-15 19:37:18 +00:00
file_sync_service.cpp
file_sync_service.h
framebuffer_service.cpp
get_my_path_darwin.cpp
get_my_path_linux.cpp
get_my_path_windows.cpp
jdwp_service.cpp Report getaddrinfo failures correctly. 2015-07-23 21:14:38 -07:00
mutex_list.h
protocol.txt Increase size of the the adb packets sent over the wire 2015-07-22 13:06:06 -07:00
qemu_tracing.cpp
qemu_tracing.h Revert "Turn on -Wformat-nonliteral." 2015-07-09 20:35:09 +00:00
remount_service.cpp Fix "adb remount" for when the root directory is in system.img 2015-07-08 19:36:19 +00:00
remount_service.h Failure to find an oem partition should not be a remount failure. 2015-05-11 13:28:22 -07:00
services.cpp Report getaddrinfo failures correctly. 2015-07-23 21:14:38 -07:00
set_verity_enable_state_service.cpp Failure to find an oem partition should not be a remount failure. 2015-05-11 13:28:22 -07:00
sockets.cpp Increase size of the the adb packets sent over the wire 2015-07-22 13:06:06 -07:00
sockets.dia
sysdeps.h Fix Win32 adb build. 2015-07-24 11:35:40 -07:00
sysdeps_win32.cpp Fix Win32 adb build. 2015-07-24 11:35:40 -07:00
test_adb.py Create adb Python package. 2015-07-27 15:52:15 -07:00
test_device.py Create adb Python package. 2015-07-27 15:52:15 -07:00
test_track_devices.cpp Make test_track_devices.cpp output easier to read. 2015-05-04 15:51:50 -07:00
transport.cpp Increase size of the the adb packets sent over the wire 2015-07-22 13:06:06 -07:00
transport.h Increase size of the the adb packets sent over the wire 2015-07-22 13:06:06 -07:00
transport_local.cpp Report getaddrinfo failures correctly. 2015-07-23 21:14:38 -07:00
transport_test.cpp Make atransport be a real class. 2015-05-21 15:49:05 -07:00
transport_usb.cpp Increase size of the the adb packets sent over the wire 2015-07-22 13:06:06 -07:00
usb_linux.cpp Clean up the locking in usb_linux.cpp. 2015-07-24 12:35:50 -07:00
usb_linux_client.cpp Increase size of the the adb packets sent over the wire 2015-07-22 13:06:06 -07:00
usb_osx.cpp Revert "Revert "Split adb_main.cpp into client and daemon."" 2015-05-08 17:33:21 -07:00
usb_windows.cpp Don't limit Windows USB reads. 2015-07-22 15:59:06 -07:00