SYMBOL INDEX (458 symbols across 32 files) FILE: adb_shell/adb_device.py function _open_bytesio (line 101) | def _open_bytesio(stream, *args, **kwargs): # pylint: disable=unused-ar... class _AdbIOManager (line 122) | class _AdbIOManager(object): method __init__ (line 148) | def __init__(self, transport): method close (line 155) | def close(self): method connect (line 165) | def connect(self, banner, rsa_keys, auth_timeout_s, auth_callback, adb... method read (line 273) | def read(self, expected_cmds, adb_info, allow_zeros=False): method send (line 364) | def send(self, msg, adb_info): method _read_expected_packet_from_device (line 378) | def _read_expected_packet_from_device(self, expected_cmds, adb_info): method _read_bytes_from_device (line 417) | def _read_bytes_from_device(self, length, adb_info): method _read_packet_from_device (line 459) | def _read_packet_from_device(self, adb_info): method _send (line 503) | def _send(self, msg, adb_info): class AdbDevice (line 527) | class AdbDevice(object): method __init__ (line 564) | def __init__(self, transport, default_transport_timeout_s=None, banner... method available (line 587) | def available(self): method max_chunk_size (line 599) | def max_chunk_size(self): method _get_transport_timeout_s (line 610) | def _get_transport_timeout_s(self, transport_timeout_s): method close (line 631) | def close(self): method connect (line 638) | def connect(self, rsa_keys=None, transport_timeout_s=None, auth_timeou... method _service (line 684) | def _service(self, service, command, transport_timeout_s=None, read_ti... method _streaming_service (line 713) | def _streaming_service(self, service, command, transport_timeout_s=Non... method exec_out (line 742) | def exec_out(self, command, transport_timeout_s=None, read_timeout_s=c... method reboot (line 772) | def reboot(self, fastboot=False, transport_timeout_s=None, read_timeou... method root (line 793) | def root(self, transport_timeout_s=None, read_timeout_s=constants.DEFA... method shell (line 814) | def shell(self, command, transport_timeout_s=None, read_timeout_s=cons... method streaming_shell (line 842) | def streaming_shell(self, command, transport_timeout_s=None, read_time... method list (line 873) | def list(self, device_path, transport_timeout_s=None, read_timeout_s=c... method pull (line 913) | def pull(self, device_path, local_path, progress_callback=None, transp... method _pull (line 945) | def _pull(self, device_path, stream, progress_callback, adb_info, file... method push (line 977) | def push(self, local_path, device_path, st_mode=constants.DEFAULT_PUSH... method _push (line 1018) | def _push(self, stream, device_path, st_mode, mtime, progress_callback... method stat (line 1073) | def stat(self, device_path, transport_timeout_s=None, read_timeout_s=c... method _clse (line 1114) | def _clse(self, adb_info): method _okay (line 1132) | def _okay(self, adb_info): method _open (line 1149) | def _open(self, destination, transport_timeout_s, read_timeout_s, time... method _read_until (line 1187) | def _read_until(self, expected_cmds, adb_info): method _read_until_close (line 1218) | def _read_until_close(self, adb_info): method _streaming_command (line 1253) | def _streaming_command(self, service, command, transport_timeout_s, re... method _filesync_flush (line 1294) | def _filesync_flush(self, adb_info, filesync_info): method _filesync_read (line 1315) | def _filesync_read(self, expected_ids, adb_info, filesync_info): method _filesync_read_buffered (line 1377) | def _filesync_read_buffered(self, size, adb_info, filesync_info): method _filesync_read_until (line 1404) | def _filesync_read_until(self, expected_ids, finish_ids, adb_info, fil... method _filesync_send (line 1437) | def _filesync_send(self, command_id, adb_info, filesync_info, data=b''... class AdbDeviceTcp (line 1470) | class AdbDeviceTcp(AdbDevice): method __init__ (line 1502) | def __init__(self, host, port=5555, default_transport_timeout_s=None, ... class AdbDeviceUsb (line 1507) | class AdbDeviceUsb(AdbDevice): method __init__ (line 1544) | def __init__(self, serial=None, port_path=None, default_transport_time... FILE: adb_shell/adb_device_async.py class _AsyncBytesIO (line 96) | class _AsyncBytesIO: method __init__ (line 106) | def __init__(self, bytesio): method read (line 109) | async def read(self, size=-1): method write (line 125) | async def write(self, data): function _open_bytesio (line 138) | async def _open_bytesio(stream, *args, **kwargs): # pylint: disable=unu... class _AdbIOManagerAsync (line 159) | class _AdbIOManagerAsync(object): method __init__ (line 185) | def __init__(self, transport): method close (line 192) | async def close(self): method connect (line 202) | async def connect(self, banner, rsa_keys, auth_timeout_s, auth_callbac... method read (line 310) | async def read(self, expected_cmds, adb_info, allow_zeros=False): method send (line 401) | async def send(self, msg, adb_info): method _read_expected_packet_from_device (line 415) | async def _read_expected_packet_from_device(self, expected_cmds, adb_i... method _read_bytes_from_device (line 454) | async def _read_bytes_from_device(self, length, adb_info): method _read_packet_from_device (line 496) | async def _read_packet_from_device(self, adb_info): method _send (line 540) | async def _send(self, msg, adb_info): class AdbDeviceAsync (line 564) | class AdbDeviceAsync(object): method __init__ (line 603) | def __init__(self, transport, default_transport_timeout_s=None, banner... method available (line 626) | def available(self): method max_chunk_size (line 638) | def max_chunk_size(self): method _get_transport_timeout_s (line 649) | def _get_transport_timeout_s(self, transport_timeout_s): method close (line 670) | async def close(self): method connect (line 677) | async def connect(self, rsa_keys=None, transport_timeout_s=None, auth_... method _service (line 723) | async def _service(self, service, command, transport_timeout_s=None, r... method _streaming_service (line 752) | async def _streaming_service(self, service, command, transport_timeout... method exec_out (line 783) | async def exec_out(self, command, transport_timeout_s=None, read_timeo... method reboot (line 813) | async def reboot(self, fastboot=False, transport_timeout_s=None, read_... method root (line 834) | async def root(self, transport_timeout_s=None, read_timeout_s=constant... method shell (line 855) | async def shell(self, command, transport_timeout_s=None, read_timeout_... method streaming_shell (line 883) | async def streaming_shell(self, command, transport_timeout_s=None, rea... method list (line 915) | async def list(self, device_path, transport_timeout_s=None, read_timeo... method pull (line 955) | async def pull(self, device_path, local_path, progress_callback=None, ... method _pull (line 987) | async def _pull(self, device_path, stream, progress_callback, adb_info... method push (line 1019) | async def push(self, local_path, device_path, st_mode=constants.DEFAUL... method _push (line 1060) | async def _push(self, stream, device_path, st_mode, mtime, progress_ca... method stat (line 1115) | async def stat(self, device_path, transport_timeout_s=None, read_timeo... method _clse (line 1156) | async def _clse(self, adb_info): method _okay (line 1174) | async def _okay(self, adb_info): method _open (line 1191) | async def _open(self, destination, transport_timeout_s, read_timeout_s... method _read_until (line 1229) | async def _read_until(self, expected_cmds, adb_info): method _read_until_close (line 1260) | async def _read_until_close(self, adb_info): method _streaming_command (line 1295) | async def _streaming_command(self, service, command, transport_timeout... method _filesync_flush (line 1337) | async def _filesync_flush(self, adb_info, filesync_info): method _filesync_read (line 1358) | async def _filesync_read(self, expected_ids, adb_info, filesync_info): method _filesync_read_buffered (line 1420) | async def _filesync_read_buffered(self, size, adb_info, filesync_info): method _filesync_read_until (line 1447) | async def _filesync_read_until(self, expected_ids, finish_ids, adb_inf... method _filesync_send (line 1480) | async def _filesync_send(self, command_id, adb_info, filesync_info, da... class AdbDeviceTcpAsync (line 1513) | class AdbDeviceTcpAsync(AdbDeviceAsync): method __init__ (line 1545) | def __init__(self, host, port=5555, default_transport_timeout_s=None, ... FILE: adb_shell/adb_message.py function checksum (line 42) | def checksum(data): function int_to_cmd (line 75) | def int_to_cmd(n): function unpack (line 92) | def unpack(message): class AdbMessage (line 127) | class AdbMessage(object): method __init__ (line 155) | def __init__(self, command, arg0, arg1, data=b''): method pack (line 162) | def pack(self): method checksum (line 174) | def checksum(self): FILE: adb_shell/auth/keygen.py function _to_bytes (line 84) | def _to_bytes(n, length, endianess='big'): function decode_pubkey (line 111) | def decode_pubkey(public_key): function decode_pubkey_file (line 132) | def decode_pubkey_file(public_key_path): function encode_pubkey (line 145) | def encode_pubkey(private_key_path): function get_user_info (line 188) | def get_user_info(): function write_public_keyfile (line 212) | def write_public_keyfile(private_key_path, public_key_path): function keygen (line 232) | def keygen(filepath): FILE: adb_shell/auth/sign_cryptography.py class CryptographySigner (line 35) | class CryptographySigner(object): method __init__ (line 51) | def __init__(self, rsa_key_path): method Sign (line 58) | def Sign(self, data): method GetPublicKey (line 74) | def GetPublicKey(self): FILE: adb_shell/auth/sign_pycryptodome.py class PycryptodomeAuthSigner (line 32) | class PycryptodomeAuthSigner(object): method __init__ (line 48) | def __init__(self, rsa_key_path=None): method Sign (line 58) | def Sign(self, data): method GetPublicKey (line 75) | def GetPublicKey(self): FILE: adb_shell/auth/sign_pythonrsa.py class _Accum (line 41) | class _Accum(object): method __init__ (line 54) | def __init__(self): method update (line 57) | def update(self, msg): method digest (line 68) | def digest(self): function _load_rsa_private_key (line 84) | def _load_rsa_private_key(pem): class PythonRSASigner (line 122) | class PythonRSASigner(object): method __init__ (line 140) | def __init__(self, pub=None, priv=None): method FromRSAKeyPath (line 145) | def FromRSAKeyPath(cls, rsa_key_path): method Sign (line 165) | def Sign(self, data): method GetPublicKey (line 181) | def GetPublicKey(self): FILE: adb_shell/exceptions.py class AdbCommandFailureException (line 26) | class AdbCommandFailureException(Exception): class AdbConnectionError (line 32) | class AdbConnectionError(Exception): class AdbTimeoutError (line 38) | class AdbTimeoutError(Exception): class DeviceAuthError (line 44) | class DeviceAuthError(Exception): method __init__ (line 48) | def __init__(self, message, *args): class InvalidChecksumError (line 53) | class InvalidChecksumError(Exception): class InvalidCommandError (line 59) | class InvalidCommandError(Exception): class InvalidTransportError (line 65) | class InvalidTransportError(Exception): class InvalidResponseError (line 71) | class InvalidResponseError(Exception): class DevicePathInvalidError (line 77) | class DevicePathInvalidError(Exception): class PushFailedError (line 83) | class PushFailedError(Exception): class TcpTimeoutException (line 89) | class TcpTimeoutException(Exception): class UsbDeviceNotFoundError (line 95) | class UsbDeviceNotFoundError(Exception): class UsbReadFailedError (line 101) | class UsbReadFailedError(Exception): method __init__ (line 117) | def __init__(self, msg, usb_error): method __str__ (line 121) | def __str__(self): class UsbWriteFailedError (line 125) | class UsbWriteFailedError(Exception): FILE: adb_shell/hidden_helpers.py function get_files_to_push (line 70) | def get_files_to_push(local_path, device_path): function get_banner (line 97) | def get_banner(): class _AdbTransactionInfo (line 112) | class _AdbTransactionInfo(object): # pylint: disable=too-few-public-met... method __init__ (line 157) | def __init__(self, local_id, remote_id, transport_timeout_s=None, read... method args_match (line 164) | def args_match(self, arg0, arg1, allow_zeros=False): class _FileSyncTransactionInfo (line 189) | class _FileSyncTransactionInfo(object): # pylint: disable=too-few-publi... method __init__ (line 215) | def __init__(self, recv_message_format, maxdata=constants.MAX_ADB_DATA): method can_add_to_send_buffer (line 225) | def can_add_to_send_buffer(self, data_len): class _AdbPacketStore (line 243) | class _AdbPacketStore(object): method __init__ (line 259) | def __init__(self): method __contains__ (line 262) | def __contains__(self, value): method __len__ (line 280) | def __len__(self): method clear (line 291) | def clear(self, arg0, arg1): method clear_all (line 309) | def clear_all(self): method find (line 313) | def find(self, arg0, arg1): method find_allow_zeros (line 352) | def find_allow_zeros(self, arg0, arg1): method get (line 375) | def get(self, arg0, arg1): method put (line 411) | def put(self, arg0, arg1, cmd, data): FILE: adb_shell/transport/base_transport.py class ABC (line 22) | class ABC(object): # pylint: disable=too-few-public-methods class BaseTransport (line 29) | class BaseTransport(ABC): method close (line 35) | def close(self): method connect (line 41) | def connect(self, transport_timeout_s): method bulk_read (line 52) | def bulk_read(self, numbytes, transport_timeout_s): method bulk_write (line 70) | def bulk_write(self, data, transport_timeout_s): FILE: adb_shell/transport/base_transport_async.py class BaseTransportAsync (line 20) | class BaseTransportAsync(ABC): method close (line 26) | async def close(self): method connect (line 32) | async def connect(self, transport_timeout_s): method bulk_read (line 43) | async def bulk_read(self, numbytes, transport_timeout_s): method bulk_write (line 61) | async def bulk_write(self, data, transport_timeout_s): FILE: adb_shell/transport/tcp_transport.py class TcpTransport (line 40) | class TcpTransport(BaseTransport): method __init__ (line 60) | def __init__(self, host, port=5555): method close (line 66) | def close(self): method connect (line 79) | def connect(self, transport_timeout_s): method bulk_read (line 94) | def bulk_read(self, numbytes, transport_timeout_s): method bulk_write (line 122) | def bulk_write(self, data, transport_timeout_s): FILE: adb_shell/transport/tcp_transport_async.py class TcpTransportAsync (line 25) | class TcpTransportAsync(BaseTransportAsync): method __init__ (line 47) | def __init__(self, host, port=5555): method close (line 54) | async def close(self): method connect (line 68) | async def connect(self, transport_timeout_s): method bulk_read (line 84) | async def bulk_read(self, numbytes, transport_timeout_s): method bulk_write (line 112) | async def bulk_write(self, data, transport_timeout_s): FILE: adb_shell/transport/usb_transport.py function get_interface (line 78) | def get_interface(setting): # pragma: no cover function interface_matcher (line 99) | def interface_matcher(clazz, subclass, protocol): # pragma: no cover class UsbTransport (line 141) | class UsbTransport(BaseTransport): # pragma: no cover method __init__ (line 188) | def __init__(self, device, setting, usb_info=None, default_transport_t... method close (line 201) | def close(self): method connect (line 215) | def connect(self, transport_timeout_s=None): method bulk_read (line 256) | def bulk_read(self, numbytes, transport_timeout_s=None): method bulk_write (line 287) | def bulk_write(self, data, transport_timeout_s=None): method _open (line 319) | def _open(self): method _timeout_ms (line 360) | def _timeout_ms(self, transport_timeout_s): method _flush_buffers (line 371) | def _flush_buffers(self): method port_path (line 394) | def port_path(self): method serial_number (line 406) | def serial_number(self): method usb_info (line 418) | def usb_info(self): method _port_path_matcher (line 441) | def _port_path_matcher(cls, port_path): method _serial_matcher (line 461) | def _serial_matcher(cls, serial): method _find (line 483) | def _find(cls, setting_matcher, port_path=None, serial=None, default_t... method _find_and_open (line 515) | def _find_and_open(cls, setting_matcher, port_path=None, serial=None, ... method _find_devices (line 541) | def _find_devices(cls, setting_matcher, device_matcher=None, usb_info=... method _find_first (line 573) | def _find_first(cls, setting_matcher, device_matcher=None, usb_info=''... method find_adb (line 606) | def find_adb(cls, serial=None, port_path=None, default_transport_timeo... method find_all_adb_devices (line 632) | def find_all_adb_devices(cls, default_transport_timeout_s=None): FILE: tests/async_patchers.py class AsyncMock (line 17) | class AsyncMock(MagicMock): method __call__ (line 18) | async def __call__(self, *args, **kwargs): function async_mock_open (line 22) | def async_mock_open(read_data=""): class FakeStreamWriter (line 58) | class FakeStreamWriter: method close (line 59) | def close(self): method wait_closed (line 62) | async def wait_closed(self): method write (line 65) | def write(self, data): method drain (line 68) | async def drain(self): class FakeStreamReader (line 72) | class FakeStreamReader: method read (line 73) | async def read(self, numbytes): class FakeTcpTransportAsync (line 77) | class FakeTcpTransportAsync(TcpTransportAsync): method __init__ (line 78) | def __init__(self, *args, **kwargs): method close (line 83) | async def close(self): method connect (line 87) | async def connect(self, transport_timeout_s=None): method bulk_read (line 91) | async def bulk_read(self, numbytes, transport_timeout_s=None): method bulk_write (line 97) | async def bulk_write(self, data, transport_timeout_s=None): function async_patch (line 106) | def async_patch(*args, **kwargs): FILE: tests/async_wrapper.py function _await (line 6) | def _await(coro): function awaiter (line 20) | def awaiter(func): FILE: tests/filesync_helpers.py class FileSyncMessage (line 6) | class FileSyncMessage(object): # pylint: disable=too-few-public-methods method __init__ (line 28) | def __init__(self, command, arg0=None, data=b''): method pack (line 33) | def pack(self): class FileSyncListMessage (line 45) | class FileSyncListMessage(object): # pylint: disable=too-few-public-met... method __init__ (line 77) | def __init__(self, command, arg0, arg1, arg2, data=b''): method pack (line 85) | def pack(self): class FileSyncStatMessage (line 97) | class FileSyncStatMessage(object): # pylint: disable=too-few-public-met... method __init__ (line 125) | def __init__(self, command, arg0, arg1, arg2): method pack (line 132) | def pack(self): FILE: tests/keygen_stub.py class FileReadWrite (line 8) | class FileReadWrite(object): method __init__ (line 10) | def __init__(self): method read (line 14) | def read(self): method write (line 25) | def write(self, content): function open_priv_pub (line 34) | def open_priv_pub(infile, mode='r'): FILE: tests/patchers.py function mock_open (line 33) | def mock_open(read_data=""): class FakeSocket (line 68) | class FakeSocket(object): method __init__ (line 69) | def __init__(self): method close (line 72) | def close(self): method recv (line 75) | def recv(self, bufsize): method send (line 80) | def send(self, data): method setblocking (line 83) | def setblocking(self, *args, **kwargs): method shutdown (line 86) | def shutdown(self, how): class FakeTcpTransport (line 90) | class FakeTcpTransport(TcpTransport): method __init__ (line 91) | def __init__(self, *args, **kwargs): method close (line 96) | def close(self): method connect (line 99) | def connect(self, transport_timeout_s=None): method bulk_read (line 102) | def bulk_read(self, numbytes, transport_timeout_s=None): method bulk_write (line 108) | def bulk_write(self, data, transport_timeout_s=None): FILE: tests/test_adb_device.py function to_int (line 31) | def to_int(cmd): function join_messages (line 34) | def join_messages(*messages): class AdbMessageForTesting (line 38) | class AdbMessageForTesting(AdbMessage): method __init__ (line 39) | def __init__(self, command, arg0=None, arg1=None, data=b''): class TestAdbDevice (line 47) | class TestAdbDevice(unittest.TestCase): method setUp (line 48) | def setUp(self): method tearDown (line 60) | def tearDown(self): method fake_stat (line 65) | def fake_stat(*args, **kwargs): method test_no_async_references (line 68) | def test_no_async_references(self): method test_adb_connection_error (line 79) | def test_adb_connection_error(self): method test_init_tcp (line 112) | def test_init_tcp(self): method test_init_banner (line 124) | def test_init_banner(self): method test_init_invalid_transport (line 139) | def test_init_invalid_transport(self): method test_available (line 146) | def test_available(self): method test_close (line 152) | def test_close(self): method test_connect (line 164) | def test_connect(self): method test_connect_no_keys (line 168) | def test_connect_no_keys(self): method test_connect_with_key_invalid_response (line 175) | def test_connect_with_key_invalid_response(self): method test_connect_with_key (line 187) | def test_connect_with_key(self): method test_connect_with_new_key (line 196) | def test_connect_with_new_key(self): method test_connect_with_new_key_and_callback (line 206) | def test_connect_with_new_key_and_callback(self): method test_connect_timeout (line 221) | def test_connect_timeout(self): method test_shell_no_return (line 233) | def test_shell_no_return(self): method test_shell_return_pass (line 242) | def test_shell_return_pass(self): method test_shell_local_id_wraparound (line 253) | def test_shell_local_id_wraparound(self): method test_shell_return_pass_with_unexpected_packet (line 268) | def test_shell_return_pass_with_unexpected_packet(self): method test_shell_dont_decode (line 280) | def test_shell_dont_decode(self): method test_shell_avoid_decode_error (line 291) | def test_shell_avoid_decode_error(self): method test_shell_data_length_exceeds_max (line 302) | def test_shell_data_length_exceeds_max(self): method test_shell_multibytes_sequence_exceeds_max (line 313) | def test_shell_multibytes_sequence_exceeds_max(self): method test_shell_with_multibytes_sequence_over_two_messages (line 323) | def test_shell_with_multibytes_sequence_over_two_messages(self): method test_shell_multiple_clse (line 334) | def test_shell_multiple_clse(self): method test_shell_multiple_streams (line 357) | def test_shell_multiple_streams(self): method test_shell_multiple_streams2 (line 373) | def test_shell_multiple_streams2(self): method test_shell_local_id2 (line 394) | def test_shell_local_id2(self): method test_shell_remote_id2 (line 408) | def test_shell_remote_id2(self): method test_shell_error_local_id_timeout (line 427) | def test_shell_error_local_id_timeout(self): method test_shell_error_unknown_command (line 440) | def test_shell_error_unknown_command(self): method test_shell_error_transport_timeout (line 449) | def test_shell_error_transport_timeout(self): method test_shell_error_read_timeout_multiple_clse (line 458) | def test_shell_error_read_timeout_multiple_clse(self): method test_shell_error_timeout (line 468) | def test_shell_error_timeout(self): method test_shell_error_checksum (line 488) | def test_shell_error_checksum(self): method test_issue29 (line 499) | def test_issue29(self): method test_streaming_shell_decode (line 581) | def test_streaming_shell_decode(self): method test_streaming_shell_dont_decode (line 595) | def test_streaming_shell_dont_decode(self): method test_reboot (line 615) | def test_reboot(self): method test_root (line 628) | def test_root(self): method test_exec_out (line 641) | def test_exec_out(self): method test_list (line 658) | def test_list(self): method test_list_empty_path (line 682) | def test_list_empty_path(self): method test_push_fail (line 694) | def test_push_fail(self): method test_push_file (line 709) | def test_push_file(self): method test_push_bytesio (line 737) | def test_push_bytesio(self): method test_push_file_exception (line 762) | def test_push_file_exception(self): method test_push_file_mtime0 (line 792) | def test_push_file_mtime0(self): method test_push_big_file (line 817) | def test_push_big_file(self): method test_push_dir (line 854) | def test_push_dir(self): method test_push_empty_path (line 878) | def test_push_empty_path(self): method test_pull_file (line 890) | def test_pull_file(self): method test_pull_bytesio (line 918) | def test_pull_bytesio(self): method test_pull_file_exception (line 943) | def test_pull_file_exception(self): method test_pull_big_file (line 972) | def test_pull_big_file(self): method test_pull_empty_path (line 1000) | def test_pull_empty_path(self): method test_pull_non_existant_path (line 1012) | def test_pull_non_existant_path(self): method test_pull_non_existant_path_2 (line 1033) | def test_pull_non_existant_path_2(self): method test_stat (line 1052) | def test_stat(self): method test_stat_empty_path (line 1072) | def test_stat_empty_path(self): method test_stat_issue155 (line 1084) | def test_stat_issue155(self): method test_filesync_read_adb_command_failure_exceptions (line 1108) | def test_filesync_read_adb_command_failure_exceptions(self): method test_filesync_read_invalid_response_error (line 1121) | def test_filesync_read_invalid_response_error(self): FILE: tests/test_adb_device_async.py function to_int (line 28) | def to_int(cmd): function join_messages (line 31) | def join_messages(*messages): class AdbMessageForTesting (line 35) | class AdbMessageForTesting(AdbMessage): method __init__ (line 36) | def __init__(self, command, arg0=None, arg1=None, data=b''): class TestAdbDeviceAsync (line 45) | class TestAdbDeviceAsync(unittest.TestCase): method setUp (line 46) | def setUp(self): method tearDown (line 58) | def tearDown(self): method fake_stat (line 63) | async def fake_stat(*args, **kwargs): method test_no_sync_references (line 66) | def test_no_sync_references(self): method test_adb_connection_error (line 76) | async def test_adb_connection_error(self): method test_init_tcp (line 111) | async def test_init_tcp(self): method test_init_banner (line 125) | async def test_init_banner(self): method test_init_invalid_transport (line 141) | async def test_init_invalid_transport(self): method test_available (line 149) | async def test_available(self): method test_close (line 156) | async def test_close(self): method test_connect (line 169) | async def test_connect(self): method test_connect_no_keys (line 174) | async def test_connect_no_keys(self): method test_connect_with_key_invalid_response (line 182) | async def test_connect_with_key_invalid_response(self): method test_connect_with_key (line 195) | async def test_connect_with_key(self): method test_connect_with_new_key (line 205) | async def test_connect_with_new_key(self): method test_connect_with_new_key_and_callback (line 216) | async def test_connect_with_new_key_and_callback(self): method test_connect_timeout (line 232) | async def test_connect_timeout(self): method test_shell_no_return (line 245) | async def test_shell_no_return(self): method test_shell_return_pass (line 255) | async def test_shell_return_pass(self): method test_shell_local_id_wraparound (line 267) | async def test_shell_local_id_wraparound(self): method test_shell_return_pass_with_unexpected_packet (line 283) | async def test_shell_return_pass_with_unexpected_packet(self): method test_shell_dont_decode (line 296) | async def test_shell_dont_decode(self): method test_shell_avoid_decode_error (line 308) | async def test_shell_avoid_decode_error(self): method test_shell_data_length_exceeds_max (line 319) | async def test_shell_data_length_exceeds_max(self): method test_shell_multibytes_sequence_exceeds_max (line 331) | async def test_shell_multibytes_sequence_exceeds_max(self): method test_shell_with_multibytes_sequence_over_two_messages (line 342) | async def test_shell_with_multibytes_sequence_over_two_messages(self): method test_shell_multiple_clse (line 354) | async def test_shell_multiple_clse(self): method test_shell_multiple_streams (line 378) | async def test_shell_multiple_streams(self): method test_shell_multiple_streams2 (line 395) | async def test_shell_multiple_streams2(self): method test_shell_local_id2 (line 417) | async def test_shell_local_id2(self): method test_shell_remote_id2 (line 432) | async def test_shell_remote_id2(self): method test_shell_error_local_id_timeout (line 453) | async def test_shell_error_local_id_timeout(self): method test_shell_error_unknown_command (line 467) | async def test_shell_error_unknown_command(self): method test_shell_error_transport_timeout (line 477) | async def test_shell_error_transport_timeout(self): method test_shell_error_read_timeout_multiple_clse (line 487) | async def test_shell_error_read_timeout_multiple_clse(self): method test_shell_error_timeout (line 498) | async def test_shell_error_timeout(self): method test_shell_error_checksum (line 519) | async def test_shell_error_checksum(self): method test_issue29 (line 531) | async def test_issue29(self): method test_streaming_shell_decode (line 614) | async def test_streaming_shell_decode(self): method test_streaming_shell_dont_decode (line 629) | async def test_streaming_shell_dont_decode(self): method test_reboot (line 650) | async def test_reboot(self): method test_root (line 664) | async def test_root(self): method test_exec_out (line 678) | async def test_exec_out(self): method test_list (line 697) | async def test_list(self): method test_list_empty_path (line 722) | async def test_list_empty_path(self): method test_push_fail (line 736) | async def test_push_fail(self): method test_push_file (line 753) | async def test_push_file(self): method test_push_bytesio (line 783) | async def test_push_bytesio(self): method test_push_file_exception (line 810) | async def test_push_file_exception(self): method test_push_file_mtime0 (line 842) | async def test_push_file_mtime0(self): method test_push_big_file (line 869) | async def test_push_big_file(self): method test_push_dir (line 908) | async def test_push_dir(self): method test_push_empty_path (line 933) | async def test_push_empty_path(self): method test_pull_file (line 947) | async def test_pull_file(self): method test_pull_bytesio (line 977) | async def test_pull_bytesio(self): method test_pull_file_exception (line 1004) | async def test_pull_file_exception(self): method test_pull_big_file (line 1035) | async def test_pull_big_file(self): method test_pull_empty_path (line 1064) | async def test_pull_empty_path(self): method test_pull_non_existant_path (line 1077) | async def test_pull_non_existant_path(self): method test_pull_non_existant_path_2 (line 1099) | async def test_pull_non_existant_path_2(self): method test_stat (line 1119) | async def test_stat(self): method test_stat_empty_path (line 1140) | async def test_stat_empty_path(self): method test_stat_issue155 (line 1153) | async def test_stat_issue155(self): method test_filesync_read_adb_command_failure_exceptions (line 1178) | async def test_filesync_read_adb_command_failure_exceptions(self): method test_filesync_read_invalid_response_error (line 1192) | async def test_filesync_read_invalid_response_error(self): FILE: tests/test_adb_message.py class TestAdbMessage (line 14) | class TestAdbMessage(unittest.TestCase): method test_checksum_bytearray (line 15) | def test_checksum_bytearray(self): method test_checksum_bytes (line 19) | def test_checksum_bytes(self): method test_checksum_unicode (line 23) | def test_checksum_unicode(self): method test_unpack_error (line 27) | def test_unpack_error(self): method test_constants (line 31) | def test_constants(self): FILE: tests/test_exceptions.py class TestExceptionSerialization (line 24) | class TestExceptionSerialization(unittest.TestCase): method __test_serialize_one_exc_cls (line 25) | def __test_serialize_one_exc_cls(exc_cls): method test_usbreadfailederror_as_str (line 52) | def test_usbreadfailederror_as_str(self): method test_usbreadfailederror_as_repr (line 58) | def test_usbreadfailederror_as_repr(self): FILE: tests/test_hidden_helpers.py class TestAdbPacketStore (line 7) | class TestAdbPacketStore(unittest.TestCase): method setUp (line 8) | def setUp(self): method test_init (line 11) | def test_init(self): method test_contains (line 15) | def test_contains(self): method test_put (line 27) | def test_put(self): method test_get (line 52) | def test_get(self): method test_get_clse (line 116) | def test_get_clse(self): method test_clear (line 141) | def test_clear(self): method test_clear_all (line 159) | def test_clear_all(self): method test_find_allow_zeros (line 166) | def test_find_allow_zeros(self): class TestAdbTransactionInfo (line 172) | class TestAdbTransactionInfo(unittest.TestCase): method test_args_match (line 174) | def test_args_match(self): FILE: tests/test_keygen.py class TestKeygen (line 11) | class TestKeygen(unittest.TestCase): method test_get_user_info (line 12) | def test_get_user_info(self): FILE: tests/test_sign_cryptography.py class TestCryptographySigner (line 18) | class TestCryptographySigner(unittest.TestCase): method setUp (line 19) | def setUp(self): method test_sign (line 24) | def test_sign(self): method test_get_public_key (line 36) | def test_get_public_key(self): FILE: tests/test_sign_pycryptodome.py class TestPycryptodomeAuthSigner (line 15) | class TestPycryptodomeAuthSigner(unittest.TestCase): method setUp (line 16) | def setUp(self): method test_sign (line 21) | def test_sign(self): method test_get_public_key (line 26) | def test_get_public_key(self): FILE: tests/test_sign_pythonrsa.py class TestPythonRSASigner (line 15) | class TestPythonRSASigner(unittest.TestCase): method setUp (line 16) | def setUp(self): method test_sign (line 21) | def test_sign(self): method test_get_public_key (line 26) | def test_get_public_key(self): class TestPythonRSASignerExceptions (line 35) | class TestPythonRSASignerExceptions(unittest.TestCase): method test_value_error (line 36) | def test_value_error(self): method test_index_error (line 43) | def test_index_error(self): FILE: tests/test_tcp_transport.py class TestTcpTransport (line 14) | class TestTcpTransport(unittest.TestCase): method setUp (line 15) | def setUp(self): method tearDown (line 23) | def tearDown(self): method test_connect_with_timeout (line 27) | def test_connect_with_timeout(self): method test_bulk_read (line 36) | def test_bulk_read(self): method test_close_oserror (line 51) | def test_close_oserror(self): method test_bulk_write (line 58) | def test_bulk_write(self): FILE: tests/test_tcp_transport_async.py class TestTcpTransportAsync (line 14) | class TestTcpTransportAsync(unittest.TestCase): method setUp (line 15) | def setUp(self): method test_close (line 22) | async def test_close(self): method test_close2 (line 26) | async def test_close2(self): method test_connect (line 30) | async def test_connect(self): method test_connect_close (line 35) | async def test_connect_close(self): method test_connect_close_catch_oserror (line 45) | async def test_connect_close_catch_oserror(self): method test_connect_with_timeout (line 56) | async def test_connect_with_timeout(self): method test_bulk_read (line 62) | async def test_bulk_read(self): method test_bulk_write (line 73) | async def test_bulk_write(self): FILE: tests/test_usb_importerror.py class TestUsbImportError (line 14) | class TestUsbImportError(unittest.TestCase): method test_import_error (line 15) | def test_import_error(self): method test_import_successful (line 28) | def test_import_successful(self): FILE: tests/test_usb_transport.py class TestUsbTransport (line 17) | class TestUsbTransport(unittest.TestCase): method setUp (line 18) | def setUp(self): method tearDown (line 30) | def tearDown(self): method test_connect_with_timeout (line 34) | def test_connect_with_timeout(self): method test_bulk_read (line 46) | def test_bulk_read(self): method test_bulk_write (line 64) | def test_bulk_write(self):