MixKernelTargetPreparer
public class MixKernelTargetPreparer
extends BaseTargetPreparer
implements ILabPreparer
java.lang.Obiekt | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.MixKernelTargetPreparer |
ITargetPreparer
, który umożliwia mieszanie obrazu jądra z obrazem urządzenia.
Streszczenie
Konstruktory publiczne | |
---|---|
MixKernelTargetPreparer () |
Metody publiczne | |
---|---|
void | setUp ( TestInformation testInfo) Wykonaj docelową konfigurację do testowania. |
Metody chronione | |
---|---|
void | runMixKernelTool ( ITestDevice device, File oldDeviceDir, File kernelDir, File gkiDir, File newDeviceDir) Uruchom narzędzie mix kernel, aby wygenerować nową kompilację urządzenia Narzędzie do miksowania Użycie: build_mixed_kernels device_dir out_dir docelowy smak kernel_dir |
Konstruktory publiczne
MixKernelTargetPreparer
public MixKernelTargetPreparer ()
Metody publiczne
organizować coś
public void setUp (TestInformation testInfo)
Wykonaj docelową konfigurację do testowania.
Parametry | |
---|---|
testInfo | TestInformation : TestInformation wywołania. |
Rzuty | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
Metody chronione
uruchomMixKernelTool
protected void runMixKernelTool (ITestDevice device, File oldDeviceDir, File kernelDir, File gkiDir, File newDeviceDir)
Uruchom narzędzie mix kernel, aby wygenerować nową kompilację urządzenia
Narzędzie do miksowania Użycie: build_mixed_kernels device_dir out_dir docelowy smak kernel_dir
Parametry | |
---|---|
device | ITestDevice : urządzenie testowe |
oldDeviceDir | File : katalog ERROR(/File) zawiera stare obrazy urządzeń |
kernelDir | File : katalog ERROR(/File) zawiera miejsce docelowe obrazów jądra |
gkiDir | File : katalog ERROR(/File) zawiera miejsce docelowe obrazów jądra GKI |
newDeviceDir | File : katalog ERROR(/File) , w którym zostaną wygenerowane nowe obrazy urządzeń |
Rzuty | |
---|---|
TargetSetupError | jeśli nie uda się uruchomić narzędzia mix kernel |
| IOException |
DeviceNotAvailableException |