החל משנת 2026, כדי להתאים למודל הפיתוח היציב שלנו ולשמור על יציבות הפלטפורמה בסביבה העסקית, נפרסם קוד מקור ב-AOSP ברבעון השני וברבעון הרביעי. כדי ליצור ולתרום ל-AOSP, צריך להשתמש ב-android-latest-release. הענף android-latest-release manifest תמיד יפנה לגרסה האחרונה שנדחפה ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
IncrementalImageUtil
public
class
IncrementalImageUtil
extends Object
| java.lang.Object
|
| ↳ |
com.android.tradefed.util.image.IncrementalImageUtil
|
כלי לשימוש בעדכון מצטבר של תמונות ומכשירים.
סיכום
methods ציבוריים |
void
|
allowSameBuildFlashing()
|
void
|
cleanAfterSetup()
כשמבצעים חלק מהלוגיקה של ההחלה, אפשר לנקות את הקבצים מיד אחרי ההגדרה.
|
File
|
getExtractedTargetDirectory()
|
static
IncrementalImageUtil
|
initialize(ITestDevice device, IDeviceBuildInfo build, File createSnapshot, boolean isIsolatedSetup, boolean allowTrackerlessUpdate, Set<String> allowedTransition, boolean updateBootloaderFromUserspace, SnapuserdWaitPhase waitPhase)
|
boolean
|
isSameBuildFlashingAllowed()
|
static
boolean
|
isSnapshotInUse(ITestDevice device)
הפונקציה מחזירה אם המכשיר משתמש כרגע בתמונות מצב או לא.
|
static
boolean
|
isSnapshotSupported(ITestDevice device, boolean useMerkle)
מחזירה אם אפשר להשתמש בלוגיקה של ה-snapshot כדי לעדכן את המכשיר
|
void
|
setSkipBasebandVersionCheck(boolean skipBasebandVersionCheck)
|
void
|
setSkipBootloaderVersionCheck(boolean skipBootloaderVersionCheck)
|
void
|
teardownDevice(TestInformation testInfo)
|
boolean
|
updateCompleted()
הפונקציה מחזירה תשובה אם העדכון הושלם או לא.
|
void
|
updateDevice(File currentBootloader, File currentRadio, File currentTrusty)
המכשיר מתעדכן באמצעות הלוגיקה של התמונה.
|
void
|
updateDeviceWithNewFlow(File currentBootloader, File currentRadio, File currentTrusty)
|
boolean
|
useUpdatedFlow()
|
שדות
DYNAMIC_PARTITIONS_TO_DIFF
public static final Set<String> DYNAMIC_PARTITIONS_TO_DIFF
constructors ציבוריים
IncrementalImageUtil
public IncrementalImageUtil (ITestDevice device,
File targetImage,
File createSnapshot,
boolean updateBootloaderFromUserspace,
SnapuserdWaitPhase waitPhase,
File deviceMerkleTree)
| פרמטרים |
device |
ITestDevice |
targetImage |
File |
createSnapshot |
File |
updateBootloaderFromUserspace |
boolean |
waitPhase |
SnapuserdWaitPhase |
deviceMerkleTree |
File |
methods ציבוריים
allowSameBuildFlashing
public void allowSameBuildFlashing ()
cleanAfterSetup
public void cleanAfterSetup ()
כשמבצעים חלק מהלוגיקה של ההחלה, אפשר לנקות את הקבצים מיד אחרי ההגדרה.
public File getExtractedTargetDirectory ()
הפעלה
public static IncrementalImageUtil initialize (ITestDevice device,
IDeviceBuildInfo build,
File createSnapshot,
boolean isIsolatedSetup,
boolean allowTrackerlessUpdate,
Set<String> allowedTransition,
boolean updateBootloaderFromUserspace,
SnapuserdWaitPhase waitPhase)
| פרמטרים |
device |
ITestDevice |
build |
IDeviceBuildInfo |
createSnapshot |
File |
isIsolatedSetup |
boolean |
allowTrackerlessUpdate |
boolean |
allowedTransition |
Set |
updateBootloaderFromUserspace |
boolean |
waitPhase |
SnapuserdWaitPhase |
isSameBuildFlashingAllowed
public boolean isSameBuildFlashingAllowed ()
isSnapshotInUse
public static boolean isSnapshotInUse (ITestDevice device)
הפונקציה מחזירה אם המכשיר משתמש כרגע בתמונות מצב או לא.
| פרמטרים |
device |
ITestDevice |
isSnapshotSupported
public static boolean isSnapshotSupported (ITestDevice device,
boolean useMerkle)
מחזירה אם אפשר להשתמש בלוגיקה של ה-snapshot כדי לעדכן את המכשיר
| פרמטרים |
device |
ITestDevice |
useMerkle |
boolean |
setSkipBasebandVersionCheck
public void setSkipBasebandVersionCheck (boolean skipBasebandVersionCheck)
| פרמטרים |
skipBasebandVersionCheck |
boolean |
setSkipBootloaderVersionCheck
public void setSkipBootloaderVersionCheck (boolean skipBootloaderVersionCheck)
| פרמטרים |
skipBootloaderVersionCheck |
boolean |
public void teardownDevice (TestInformation testInfo)
| פרמטרים |
testInfo |
TestInformation |
updateCompleted
public boolean updateCompleted ()
הפונקציה מחזירה תשובה אם העדכון הושלם או לא.
updateDevice
public void updateDevice (File currentBootloader,
File currentRadio,
File currentTrusty)
המכשיר מתעדכן באמצעות הלוגיקה של התמונה.
| פרמטרים |
currentBootloader |
File |
currentRadio |
File |
currentTrusty |
File |
updateDeviceWithNewFlow
public void updateDeviceWithNewFlow (File currentBootloader,
File currentRadio,
File currentTrusty)
| פרמטרים |
currentBootloader |
File |
currentRadio |
File |
currentTrusty |
File |
useUpdatedFlow
public boolean useUpdatedFlow ()
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2026-06-22 (שעון UTC).
[null,null,["עדכון אחרון: 2026-06-22 (שעון UTC)."],[],[]]