AdbUtils

public class AdbUtils
extends Object

java.lang.Object
   ↳ com.android.tradefed.util.AdbUtils


A utility class for adb operations.

Summary

Public constructors

AdbUtils()

Public methods

static void updateAdb(TestInformation testInfo, IRunUtil runUtil, String adbPath)

Updates $PATH if a special adb version is used.

Public constructors

AdbUtils

public AdbUtils ()

Public methods

updateAdb

public static void updateAdb (TestInformation testInfo, 
                IRunUtil runUtil, 
                String adbPath)

Updates $PATH if a special adb version is used.

Parameters
testInfo TestInformation: A TestInformation object.

runUtil IRunUtil: An IRunUtil object used to run system command.

adbPath String: The path to the adb binary.