IncrementalImageUtil

public class IncrementalImageUtil
extends Object

java.lang.Object
   ↳ com.android.tradefed.util.image.IncrementalImageUtil


Artımlı görüntü ve cihaz güncellemesinden yararlanmak için kullanılan bir yardımcı program.

Özet

Fields'ın oynadığı filmler

public static final DYNAMIC_PARTITIONS_TO_DIFF

Herkese açık oluşturucular

IncrementalImageUtil(ITestDevice device, File targetImage, File createSnapshot, boolean updateBootloaderFromUserspace, SnapuserdWaitPhase waitPhase, File deviceMerkleTree)

Herkese açık yöntemler

void allowSameBuildFlashing()
void cleanAfterSetup()

Bazı uygulama mantıklarını kullanırken dosyaları kurulumdan hemen sonra temizleyebiliriz.

File getExtractedTargetDirectory()
static IncrementalImageUtil initialize(ITestDevice device, IDeviceBuildInfo build, File createSnapshot, boolean isIsolatedSetup, boolean allowTrackerlessUpdate, allowedTransition, boolean updateBootloaderFromUserspace, SnapuserdWaitPhase waitPhase)
boolean isSameBuildFlashingAllowed()
static boolean isSnapshotInUse(ITestDevice device)

Cihazın şu anda anlık görüntü kullanıp kullanmadığını döndürür.

static boolean isSnapshotSupported(ITestDevice device, boolean useMerkle)

Anlık görüntü mantığını kullanarak cihazı güncelleyip güncelleyemeyeceğimizi döndürür.

void setSkipBootloaderVersionCheck(boolean skipBootloaderVersionCheck)
void teardownDevice(TestInformation testInfo)
boolean updateCompleted()

Güncellemenin tamamlanıp tamamlanmadığını döndürür.

void updateDevice(File currentBootloader, File currentRadio)

Anlık görüntü mantığını kullanarak cihazı günceller.

void updateDeviceWithNewFlow(File currentBootloader, File currentRadio)
boolean useUpdatedFlow()

Fields'ın oynadığı filmler

DYNAMIC_PARTITIONS_TO_DIFF

public static final  DYNAMIC_PARTITIONS_TO_DIFF

Herkese açık oluşturucular

IncrementalImageUtil

public IncrementalImageUtil (ITestDevice device, 
                File targetImage, 
                File createSnapshot, 
                boolean updateBootloaderFromUserspace, 
                SnapuserdWaitPhase waitPhase, 
                File deviceMerkleTree)

Parametreler
device ITestDevice

targetImage File

createSnapshot File

updateBootloaderFromUserspace boolean

waitPhase SnapuserdWaitPhase

deviceMerkleTree File

Herkese açık yöntemler

allowSameBuildFlashing

public void allowSameBuildFlashing ()

cleanAfterSetup

public void cleanAfterSetup ()

Bazı uygulama mantıklarını uygularken dosyaları kurulumdan hemen sonra temizleyebiliriz.

getExtractedTargetDirectory

public File getExtractedTargetDirectory ()

İlerlemeler
File

ilk kullanıma hazırlamak

public static IncrementalImageUtil initialize (ITestDevice device, 
                IDeviceBuildInfo build, 
                File createSnapshot, 
                boolean isIsolatedSetup, 
                boolean allowTrackerlessUpdate, 
                 allowedTransition, 
                boolean updateBootloaderFromUserspace, 
                SnapuserdWaitPhase waitPhase)

Parametreler
device ITestDevice

build IDeviceBuildInfo

createSnapshot File

isIsolatedSetup boolean

allowTrackerlessUpdate boolean

allowedTransition

updateBootloaderFromUserspace boolean

waitPhase SnapuserdWaitPhase

İlerlemeler
IncrementalImageUtil

Dekoratif yastıklar
DeviceNotAvailableException

isSameBuildFlashingAllowed

public boolean isSameBuildFlashingAllowed ()

İlerlemeler
boolean

isSnapshotInUse

public static boolean isSnapshotInUse (ITestDevice device)

Cihazın şu anda anlık görüntü kullanıp kullanmadığını döndürür.

Parametreler
device ITestDevice

İlerlemeler
boolean

Dekoratif yastıklar
DeviceNotAvailableException

isSnapshotSupported

public static boolean isSnapshotSupported (ITestDevice device, 
                boolean useMerkle)

Anlık görüntü mantığını kullanarak cihazı güncelleyip güncelleyemeyeceğimizi döndürür.

Parametreler
device ITestDevice

useMerkle boolean

İlerlemeler
boolean

Dekoratif yastıklar
DeviceNotAvailableException

setSkipBootloaderVersionCheck

public void setSkipBootloaderVersionCheck (boolean skipBootloaderVersionCheck)

Parametreler
skipBootloaderVersionCheck boolean

teardownDevice

public void teardownDevice (TestInformation testInfo)

Parametreler
testInfo TestInformation

Dekoratif yastıklar
DeviceNotAvailableException

updateCompleted

public boolean updateCompleted ()

Güncellemenin tamamlanıp tamamlanmadığını döndürür.

İlerlemeler
boolean

updateDevice

public void updateDevice (File currentBootloader, 
                File currentRadio)

Anlık görüntü mantığını kullanarak cihazı günceller.

Parametreler
currentBootloader File

currentRadio File

Dekoratif yastıklar
DeviceNotAvailableException
TargetSetupError

updateDeviceWithNewFlow

public void updateDeviceWithNewFlow (File currentBootloader, 
                File currentRadio)

Parametreler
currentBootloader File

currentRadio File

Dekoratif yastıklar
DeviceNotAvailableException
TargetSetupError

useUpdatedFlow

public boolean useUpdatedFlow ()

İlerlemeler
boolean