IncrementalImageUtil
public class IncrementalImageUtil
extends Object
java.lang.Object |
↳ | com.android.tradefed.util.image.IncrementalImageUtil |
증분 이미지 및 장치 업데이트를 활용하는 유틸리티입니다.
요약
필드
DYNAMIC_PARTITIONS_TO_DIFF
public static final DYNAMIC_PARTITIONS_TO_DIFF
공개 생성자
IncrementalImageUtil
public IncrementalImageUtil (ITestDevice device,
File deviceImage,
File bootloader,
File baseband,
File targetImage,
File createSnapshot,
boolean applySnapshot,
SnapuserdWaitPhase waitPhase)
매개변수 |
---|
device | ITestDevice |
deviceImage | File |
bootloader | File |
baseband | File |
targetImage | File |
createSnapshot | File |
applySnapshot | boolean |
waitPhase | SnapuserdWaitPhase |
공개 메소드
허용동일빌드깜박임
public void allowSameBuildFlashing ()
public File getExtractedTargetDirectory ()
초기화
public static IncrementalImageUtil initialize (ITestDevice device,
IDeviceBuildInfo build,
File createSnapshot,
boolean isIsolatedSetup,
boolean allowCrossRelease,
boolean applySnapshot,
SnapuserdWaitPhase waitPhase)
매개변수 |
---|
device | ITestDevice |
build | IDeviceBuildInfo |
createSnapshot | File |
isIsolatedSetup | boolean |
allowCrossRelease | boolean |
applySnapshot | boolean |
waitPhase | SnapuserdWaitPhase |
isSameBuild깜빡임허용됨
public boolean isSameBuildFlashingAllowed ()
isSnapshotInUse
public static boolean isSnapshotInUse (ITestDevice device)
장치가 현재 스냅샷을 사용하고 있는지 여부를 반환합니다.
isSnapshot지원됨
public static boolean isSnapshotSupported (ITestDevice device,
boolean applySnapshot)
스냅샷 논리를 사용하여 장치를 업데이트할 수 있는지 여부를 반환합니다.
매개변수 |
---|
device | ITestDevice |
applySnapshot | boolean |
informBasebadNeeds되돌리기
public void notifyBasebadNeedsRevert ()
알림부트로더가 필요합니다. 되돌리기
public void notifyBootloaderNeedsRevert ()
분해장치
public void teardownDevice ()
업데이트완료
public boolean updateCompleted ()
업데이트 완료 여부를 반환합니다.
업데이트장치
public void updateDevice (File currentBootloader,
File currentRadio)
스냅샷 논리를 사용하여 장치를 업데이트합니다.
매개변수 |
---|
currentBootloader | File |
currentRadio | File |