AdbUtils

public class AdbUtils
extends Object

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


Klasa pomocnicza do operacji adb.

Podsumowanie

Konstruktory publiczne

AdbUtils()

Metody publiczne

static File getAdbToUpdate(TestInformation testInfo, String adbPath)

Pobiera specjalne informacje adb set in test, które powinny być ustawione w PATH.

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

Aktualizuje $PATH, jeśli używana jest specjalna wersja adb.

Konstruktory publiczne

AdbUtils

public AdbUtils ()

Metody publiczne

getAdbToUpdate

public static File getAdbToUpdate (TestInformation testInfo, 
                String adbPath)

Pobiera specjalne informacje adb set in test, które powinny być ustawione w PATH.

Parametry
testInfo TestInformation: obiekt TestInformation.

adbPath String: ścieżka do pliku binarnego adb.

Zwroty
File adb, które powinno być ustawione w PATH.

updateAdb

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

Aktualizuje $PATH, jeśli używana jest specjalna wersja adb.

Parametry
testInfo TestInformation: obiekt TestInformation.

runUtil IRunUtil: obiekt IRunUtil służący do wykonywania poleceń systemowych.

adbPath String: ścieżka do pliku binarnego adb.