Lines Matching full:adb
7 # modules. Also when class Adb is instantiated, the user is likely to call the
8 # instance "adb" which would collide with this file name (unless they always
9 # use "import adb as someothername".
17 class Adb: class
18 """Class for running adb commands."""
26 Path to ADB and AAPT may have to be added it if is not in the path.
35 """Runs an ADB command on the host.
37 @param host: DUT to issue the adb command.
38 @param args: Extra args passed to the adb command.
44 # _install_paths should include the directory with adb.
48 result = utils.run('adb', **kwargs)
49 logging.info('adb %s:\n%s', ' '.join(kwargs.get('args')),
55 """Get the adb target format.
58 explicitly specify the port so the serial name of adb target would
61 @param host: a DUT accessible via adb.
62 @return a string for specifying the host using adb command.
74 """Get a list of adb targets."""
79 """ADB arguments for tradefed.
81 These arguments are specific to using adb with tradefed.
83 @param host: DUT that want to connect to. (None if the adb command is
85 @return a tuple of arguments for adb command.
91 # As of N, tradefed could not specify which adb socket to use, which use