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  | 
| 
        
        
        
        
        
        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:TestInformationwywoł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: katalogERROR(/File)zawiera obrazy starego urządzenia. | 
| kernelDir | File: katalogERROR(/File)zawiera ścieżkę do obrazów jądra. | 
| gkiDir | File: katalogERROR(/File)zawiera docelowe obrazy jądra GKI | 
| newDeviceDir | File: katalogERROR(/File), w którym będą generowane nowe obrazy urządzenia | 
| Rzuty | |
|---|---|
| TargetSetupError | if fails to run mix kernel tool | 
|  | IOException | 
