GkiDeviceFlashPreparer
public class GkiDeviceFlashPreparer
extends BaseTargetPreparer
안드로이드 공통 커널 일반 이미지로 장치를 플래시하는 대상 준비자입니다. 자세한 내용은 https://source.android.com/devices/architecture/kernel/android-common을 참조하세요.
요약
공개 메소드 |
---|
void | setUp (TestInformation testInfo) |
void | validateGkiBootImg (ITestDevice device, IBuildInfo buildInfo) GKI 부팅 이미지가 필요한지 확인하세요. |
공개 생성자
GkiDeviceFlashPreparer
public GkiDeviceFlashPreparer ()
공개 메소드
public void setUp (TestInformation testInfo)
매개변수 |
---|
testInfo | TestInformation |
던지기 |
---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError | |
검증GkiBootImg
public void validateGkiBootImg (ITestDevice device,
IBuildInfo buildInfo)
GKI 부팅 이미지가 필요한지 확인하세요. (더 이상 사용되지 않습니다. 제공된 tmpDir을 사용하여 호출하세요)
던지기 |
---|
TargetSetupError | 유효한 gki boot.img가 없는 경우 |
보호된 방법
getHostOptions
protected IHostOptions getHostOptions ()
IHostOptions
에 대한 참조 가져오기
getRunUtil
protected IRunUtil getRunUtil ()
사용할 IRunUtil
인스턴스를 가져옵니다.
검증GkiBootImg
protected void validateGkiBootImg (ITestDevice device,
IBuildInfo buildInfo,
File tmpDir)
GKI 부팅 이미지가 필요한지 확인하세요. 유효한 boot.img가 없으면 예외가 발생합니다.
던지기 |
---|
TargetSetupError | 유효한 gki boot.img가 없는 경우 |