MixKernelTargetPreparer
public class MixKernelTargetPreparer
extends BaseTargetPreparer
implements ILabPreparer , IConfigurationReceiver
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.MixKernelTargetPreparer |
커널 이미지와 장치 이미지를 혼합할 수 있는 ITargetPreparer
입니다.
요약
공개 생성자 | |
---|---|
MixKernelTargetPreparer () |
공개 메소드 | |
---|---|
void | setConfiguration ( IConfiguration configuration) 사용 중인 |
void | setUp ( TestInformation testInfo) 테스트를 위한 타겟 설정을 수행합니다. |
보호된 방법 | |
---|---|
void | runMixKernelTool ( ITestDevice device, File oldDeviceDir, File kernelDir, File gkiDir, File newDeviceDir) 혼합 커널 도구를 실행하여 새 장치 빌드 생성 믹싱 도구 사용법: build_mixed_kernels device_dir out_dir 대상 버전 kernel_dir |
공개 생성자
MixKernelTargetPreparer
public MixKernelTargetPreparer ()
공개 메소드
setConfiguration
public void setConfiguration (IConfiguration configuration)
사용 중인 IConfiguration
삽입합니다.
매개변수 | |
---|---|
configuration | IConfiguration |
설정
public void setUp (TestInformation testInfo)
테스트를 위한 타겟 설정을 수행합니다.
매개변수 | |
---|---|
testInfo | TestInformation : 호출의 TestInformation . |
던지기 | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
보호된 방법
runMixKernelTool
protected void runMixKernelTool (ITestDevice device, File oldDeviceDir, File kernelDir, File gkiDir, File newDeviceDir)
혼합 커널 도구를 실행하여 새 장치 빌드 생성
믹싱 도구 사용법: build_mixed_kernels device_dir out_dir 대상 버전 kernel_dir
매개변수 | |
---|---|
device | ITestDevice : 테스트 장치 |
oldDeviceDir | File : ERROR(/File) 디렉터리에 이전 장치 이미지가 포함되어 있습니다. |
kernelDir | File : ERROR(/File) 디렉토리에는 커널 이미지 대상이 포함되어 있습니다. |
gkiDir | File : ERROR(/File) 디렉터리에 GKI 커널 이미지 대상이 포함되어 있습니다. |
newDeviceDir | File : 새 장치 이미지가 생성될 디렉터리 ERROR(/File) |
던지기 | |
---|---|
TargetSetupError | 혼합 커널 도구를 실행하지 못하는 경우 |
| IO예외 |