החל משנת 2026, כדי להתאים את התהליך למודל הפיתוח היציב שלנו ולשמור על יציבות הפלטפורמה בסביבה העסקית, נפרסם קוד מקור ב-AOSP ברבעון השני וברבעון הרביעי. כדי ליצור תוספים ל-AOSP ולתרום לו, מומלץ להשתמש ב-android-latest-release במקום ב-aosp-main. ענף המניפסט android-latest-release תמיד יפנה לגרסה העדכנית ביותר שנדחפה ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
NativePocMallocDebugAsserter
public
class
NativePocMallocDebugAsserter
extends Object
implements
NativePocAsserter
| java.lang.Object
|
| ↳ |
com.android.sts.common.NativePocMallocDebugAsserter
|
סיכום
שיטות ציבוריות |
static
NativePocAsserter
|
assertNoMallocDebugErrorOnPoc(String options)
הפונקציה מחזירה NativePocAsserter שמצרף את libc malloc debug ל-PoC ובודק אם יש שגיאה ב-malloc debug בזמן הריצה של ה-PoC.
|
static
NativePocAsserter
|
assertNoMallocDebugErrorOnService(String options, String service)
הפונקציה מחזירה NativePocAsserter שמצרף את libc malloc debug לשירות לפני הפעלת ה-PoC, ובודק אם יש שגיאה ב-malloc debug בשירות הזה בזמן הרצת ה-PoC.
|
AutoCloseable
|
withAutoCloseable(NativePoc nativePoc, ITestDevice device)
הפונקציה הזו נקראת לפני הפעלת ה-PoC, והיא מחזירה אובייקט AutoCloseable שנסגר אחרי סיום ה-PoC
|
שיטות ציבוריות
assertNoMallocDebugErrorOnPoc
public static NativePocAsserter assertNoMallocDebugErrorOnPoc (String options)
הפונקציה מחזירה NativePocAsserter שמצרף את libc malloc debug ל-PoC ובודק אם יש שגיאה ב-malloc debug בזמן הריצה של ה-PoC.
assertNoMallocDebugErrorOnService
public static NativePocAsserter assertNoMallocDebugErrorOnService (String options,
String service)
הפונקציה מחזירה NativePocAsserter שמצרף את libc malloc debug לשירות לפני הפעלת ה-PoC, ובודק אם יש שגיאה ב-malloc debug בשירות הזה בזמן הרצת ה-PoC.
| פרמטרים |
options |
String |
service |
String |
withAutoCloseable
public AutoCloseable withAutoCloseable (NativePoc nativePoc,
ITestDevice device)
הפונקציה הזו נקראת לפני הפעלת ה-PoC, והיא מחזירה אובייקט AutoCloseable שנסגר אחרי סיום ה-PoC
| פרמטרים |
nativePoc |
NativePoc |
device |
ITestDevice |
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[]]