IDeviceKurtarma

public interface IDeviceRecovery

com.android.tradefed.device.IDeviceRecovery


Çevrimdışı olan bir cihazı kurtarmak için arayüz.

Özet

Genel yöntemler

abstract void recoverDevice ( IDeviceStateMonitor monitor, boolean recoverUntilOnline)

Artık iletişim kurulamayan söz konusu cihazı kurtarmayı deneyin.

abstract void recoverDeviceBootloader ( IDeviceStateMonitor monitor)

Verilen yanıt vermeyen cihazı önyükleyici modunda kurtarmayı deneyin.

abstract void recoverDeviceFastbootd ( IDeviceStateMonitor monitor)

Verilen yanıt vermeyen cihazı fastbootd modunda kurtarmayı deneyin.

abstract void recoverDeviceRecovery ( IDeviceStateMonitor monitor)

Verilen yanıt vermeyen cihazı kurtarma modunda kurtarmayı deneyin.

default void setFastbootPath (String fastbootPath)

Kullanılacak fastboot ikili dosyasının yolunu ayarlar.

Genel yöntemler

cihazı kurtar

public abstract void recoverDevice (IDeviceStateMonitor monitor, 
                boolean recoverUntilOnline)

Artık iletişim kurulamayan söz konusu cihazı kurtarmayı deneyin.

Yöntem engellemeli ve yalnızca aygıt istenen durumdayken geri dönmelidir.

parametreler
monitor IDeviceStateMonitor : kullanılacak IDeviceStateMonitor .

recoverUntilOnline boolean : true ise, cihaz adb'de çevrimiçi olur olmaz yöntem geri dönmelidir. Yanlışsa, yöntem, cihaz test için tamamen kullanılabilir hale gelene kadar engellemelidir (yani, IDeviceStateMonitor#waitForDeviceAvailable() başarılı olur).

Atar
DeviceNotAvailableException cihaz kurtarılamazsa

RecoveryDeviceBootloader

public abstract void recoverDeviceBootloader (IDeviceStateMonitor monitor)

Verilen yanıt vermeyen cihazı önyükleyici modunda kurtarmayı deneyin.

parametreler
monitor IDeviceStateMonitor : kullanılacak IDeviceStateMonitor .

Atar
DeviceNotAvailableException cihaz kurtarılamazsa

RecoveryDeviceFastbootd

public abstract void recoverDeviceFastbootd (IDeviceStateMonitor monitor)

Verilen yanıt vermeyen cihazı fastbootd modunda kurtarmayı deneyin.

parametreler
monitor IDeviceStateMonitor : kullanılacak IDeviceStateMonitor .

Atar
DeviceNotAvailableException cihaz kurtarılamazsa

kurtarmaCihazKurtarma

public abstract void recoverDeviceRecovery (IDeviceStateMonitor monitor)

Verilen yanıt vermeyen cihazı kurtarma modunda kurtarmayı deneyin.

parametreler
monitor IDeviceStateMonitor : kullanılacak IDeviceStateMonitor .

Atar
DeviceNotAvailableException cihaz kurtarılamazsa

setFastbootPath

public void setFastbootPath (String fastbootPath)

Kullanılacak fastboot ikili dosyasının yolunu ayarlar.

parametreler
fastbootPath String : fastboot ikili dosyasına giden yolu tanımlayan bir ERROR(/String) .