GkiDeviceFlashPreparer
public class GkiDeviceFlashPreparer
extends BaseTargetPreparer
מכין יעדים שמבזק את המכשיר עם תמונה גנרית של גרעין נפוצה של אנדרואיד. ראה 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 חוקי |
שיטות מוגנות
getHostOptions
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 חוקי |