FastbootHelper

public class FastbootHelper
extends Object

java.lang.Object
   ↳ com.android.tradefed.device.FastbootHelper


Fastboot işlemleri için yardımcı sınıf.

Özet

Herkese açık oluşturucular

FastbootHelper(IRunUtil runUtil, String fastbootPath)

Oluşturucu.

Herkese açık yöntemler

String executeCommand(String serial, String command)

Cihazda fastboot komutu yürütür ve çıkışı döndürür.

Map<String, Boolean> getBootloaderAndFastbootdDevices()

Cihaz seri numaralarının ve fastbootd modunda olup olmadıklarının haritasını döndürür.

Map<String, Boolean> getBootloaderAndFastbootdTcpDevices(Map<String, String> serials)

Cihaz seri numaralarının ve fastbootd modunda olup olmadıklarının haritasını döndürür.

Set<String> getDevices()

Fastboot modundaki bir dizi cihaz seri numarasını veya fastboot cihazı yoksa boş bir dizi döndürür.

boolean isFastbootAvailable()

Fastboot'un kullanıma uygun olup olmadığını belirleyin.

boolean isFastbootd(String serial)

Cihazın Bootloader yerine Fastbootd'de olup olmadığını döndürür.

Herkese açık oluşturucular

FastbootHelper

public FastbootHelper (IRunUtil runUtil, 
                String fastbootPath)

Oluşturucu.

Parametreler
runUtil IRunUtil: a IRunUtil.

fastbootPath String

Herkese açık yöntemler

executeCommand

public String executeCommand (String serial, 
                String command)

Cihazda fastboot komutu yürütür ve çıkışı döndürür.

Parametreler
serial String: cihazın seri numarası.

command String: Çalıştırılacak bir fastboot komutu.

İadeler
String fastboot komutunun çıkışı. Komut başarısız olursa boş.

getBootloaderAndFastbootdDevices

public Map<String, Boolean> getBootloaderAndFastbootdDevices ()

Cihaz seri numaralarının ve fastbootd modunda olup olmadıklarının haritasını döndürür.

İadeler
Map<String, Boolean> Bootloader veya fastbootd'deki seri numarası haritası. Fastbootd'de ise Boole değeri doğrudur.

getBootloaderAndFastbootdTcpDevices

public Map<String, Boolean> getBootloaderAndFastbootdTcpDevices (Map<String, String> serials)

Cihaz seri numaralarının ve fastbootd modunda olup olmadıklarının haritasını döndürür.

Parametreler
serials Map: Cihaz seri numarası ve fastboot modu seri numarasının haritası.

İadeler
Map<String, Boolean> Bootloader veya fastbootd'deki seri numarası haritası. Fastbootd'de ise Boole değeri doğrudur.

getDevices

public Set<String> getDevices ()

Fastboot modundaki bir dizi cihaz seri numarasını veya fastboot cihazı yoksa boş bir dizi döndürür.

İadeler
Set<String> bir dizi cihaz seri numarası.

isFastbootAvailable

public boolean isFastbootAvailable ()

Fastboot'un kullanıma uygun olup olmadığını belirleyin.

İadeler
boolean

isFastbootd

public boolean isFastbootd (String serial)

Cihazın Bootloader yerine Fastbootd'de olup olmadığını döndürür.

Parametreler
serial String

Return'ler
boolean