MixKernelTargetPreparer

public class MixKernelTargetPreparer
extends BaseTargetPreparer implements IConfigurationReceiver, ILabPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.MixKernelTargetPreparer


ITargetPreparer, który umożliwia łączenie obrazu jądra z obrazem urządzenia.

Podsumowanie

Konstruktory publiczne

MixKernelTargetPreparer()

Metody publiczne

void setConfiguration(IConfiguration configuration)

Wstrzykuje IConfiguration w użyciu.

void setUp(TestInformation testInfo)

Przeprowadź konfigurację docelową na potrzeby testowania.

Chronione metody

void runMixKernelTool(ITestDevice device, File oldDeviceDir, File kernelDir, File gkiDir, File newDeviceDir)

Uruchom narzędzie mix kernel, aby wygenerować nową kompilację systemu urządzenia.

Użycie narzędzia do mieszania: build_mixed_kernels katalog_urządzenia katalog_wyjścia docelowy smak katalog_jądra

Konstruktory publiczne

MixKernelTargetPreparer

public MixKernelTargetPreparer ()

Metody publiczne

setConfiguration

public void setConfiguration (IConfiguration configuration)

Wstrzykuje IConfiguration w użyciu.

Parametry
configuration IConfiguration

setUp

public void setUp (TestInformation testInfo)

Przeprowadź konfigurację docelową na potrzeby testowania.

Parametry
testInfo TestInformation: TestInformation wywołania.

Rzuty
BuildError
DeviceNotAvailableException
TargetSetupError

Chronione metody

runMixKernelTool

protected void runMixKernelTool (ITestDevice device, 
                File oldDeviceDir, 
                File kernelDir, 
                File gkiDir, 
                File newDeviceDir)

Uruchom narzędzie mix kernel, aby wygenerować nową kompilację systemu urządzenia.

Użycie narzędzia do mieszania: build_mixed_kernels katalog_urządzenia katalog_wyjścia docelowy smak katalog_jądra

Parametry
device ITestDevice: urządzenie testowe

oldDeviceDir File: katalog ERROR(/File) zawiera obrazy starego urządzenia.

kernelDir File: katalog ERROR(/File) zawiera ścieżkę do obrazów jądra.

gkiDir File: katalog ERROR(/File) zawiera docelowe obrazy jądra GKI

newDeviceDir File: katalog ERROR(/File), w którym będą generowane nowe obrazy urządzenia

Rzuty
TargetSetupError if fails to run mix kernel tool
IOException