GkiDeviceFlashPreparer
public class GkiDeviceFlashPreparer
extends BaseTargetPreparer
Android 공통 커널 일반 이미지로 장치를 플래시하는 대상 준비자. 자세한 내용은 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 | |
validateGkiBootImg
public void validateGkiBootImg (ITestDevice device,
IBuildInfo buildInfo)
GKI 부팅 이미지의 유효성을 검사해야 합니다. (구식. 제공된 tmpDir로 전화하십시오)
던지다 |
---|
TargetSetupError | 유효한 gki boot.img가 없는 경우 |
보호된 방법
getHost 옵션
protected IHostOptions getHostOptions ()
IHostOptions
에 대한 참조 가져오기
getRunUtil
protected IRunUtil getRunUtil ()
사용할 IRunUtil
인스턴스를 가져옵니다.
validateGkiBootImg
protected void validateGkiBootImg (ITestDevice device,
IBuildInfo buildInfo,
File tmpDir)
GKI 부팅 이미지의 유효성을 검사해야 합니다. 유효한 boot.img가 없으면 예외를 던집니다.
던지다 |
---|
TargetSetupError | 유효한 gki boot.img가 없는 경우 |