IDeviceRecovery

public interface IDeviceRecovery

com.android.tradefed.device.IDeviceRecovery


Çevrimdışı olan bir cihazı kurtarmaya yönelik arayüz.

Özet

Herkese açık yöntemler

abstract void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline)

Artık iletişim kurulamayan cihazı kurtarmayı deneyin.

abstract void recoverDeviceBootloader(IDeviceStateMonitor monitor)

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

abstract void recoverDeviceFastbootd(IDeviceStateMonitor monitor)

Yanıt vermeyen cihazı fastbootd modunda kurtarmayı deneyin.

abstract void recoverDeviceRecovery(IDeviceStateMonitor monitor)

Yanıt vermeyen cihazı kurtarma modunda kurtarmayı deneyin.

default void setFastbootPath(String fastbootPath)

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

Herkese açık yöntemler

recoverDevice

public abstract void recoverDevice (IDeviceStateMonitor monitor, 
                boolean recoverUntilOnline)

Artık iletişim kurulamayan cihazı kurtarmayı deneyin.

Yöntem, yalnızca cihaz istenen durumdayken engellemeli ve döndürmelidir.

Parametreler
monitor IDeviceStateMonitor: Kullanılacak IDeviceStateMonitor.

recoverUntilOnline boolean: Doğruysa cihaz adb'de çevrimiçi olduğunda yöntem döndürülür. Yanlış ise yöntem, cihaz test için tamamen hazır olana kadar (yani IDeviceStateMonitor.waitForDeviceAvailable() başarılı olana kadar) engellemelidir.

Atışlar
DeviceNotAvailableException Cihaz kurtarılamadıysa

recoverDeviceBootloader

public abstract void recoverDeviceBootloader (IDeviceStateMonitor monitor)

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

Parametreler
monitor IDeviceStateMonitor: Kullanılacak IDeviceStateMonitor.

Atışlar
DeviceNotAvailableException Cihaz kurtarılamadıysa

recoverDeviceFastbootd

public abstract void recoverDeviceFastbootd (IDeviceStateMonitor monitor)

Yanıt vermeyen cihazı fastbootd modunda kurtarmayı deneyin.

Parametreler
monitor IDeviceStateMonitor: Kullanılacak IDeviceStateMonitor.

Atışlar
DeviceNotAvailableException Cihaz kurtarılamadıysa

recoverDeviceRecovery

public abstract void recoverDeviceRecovery (IDeviceStateMonitor monitor)

Yanıt vermeyen cihazı kurtarma modunda kurtarmayı deneyin.

Parametreler
monitor IDeviceStateMonitor: Kullanılacak IDeviceStateMonitor.

Atışlar
DeviceNotAvailableException Cihaz kurtarılamadıysa

setFastbootPath

public void setFastbootPath (String fastbootPath)

Kullanılacak fastboot ikili dosyası yolunu ayarlar.

Parametreler
fastbootPath String: Fastboot ikili dosyasının yolunu tanımlayan bir String.