adb.adb_debug module

Daemon-less ADB client in python.

Contents

adb.adb_debug.Devices(args)[source]

Lists the available devices.

Mimics adb devices output:

List of devices attached
015DB7591102001A        device        1,2
_images/adb.adb_debug.Devices.CALLER_GRAPH.svg
Parameters

args (argparse.ArgumentParser) – CLI arguments; see adb.common_cli.GetDeviceArguments().

Returns

0

Return type

int

adb.adb_debug.List(device, device_path)[source]

Prints a directory listing.

Parameters
Yields

str – A formatted listing for a file in device_path

adb.adb_debug.Shell(device, *command)[source]

Runs a command on the device and prints the stdout.

Parameters
adb.adb_debug.main()[source]

TODO