קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
LocalAndroidVirtualDevice public class LocalAndroidVirtualDevice
extends RemoteAndroidDevice
implements ITestLoggerReceiver
המחלקה למכשירים וירטואליים מקומיים הפועלים על מארח TradeFed.
סיכום בנאים ציבוריים LocalAndroidVirtualDevice
public LocalAndroidVirtualDevice (IDevice device,
IDeviceStateMonitor stateMonitor,
IDeviceMonitor allocationMonitor)
פרמטרים |
---|
device | IDevice |
stateMonitor | IDeviceStateMonitor |
allocationMonitor | IDeviceMonitor |
שיטות ציבוריות adbTcpConnect
public boolean adbTcpConnect (String host,
String port)
פרמטרים |
---|
host | String |
port | String |
adbTcpDisconnect
public boolean adbTcpDisconnect (String host,
String port)
פרמטרים |
---|
host | String |
port | String |
postInvocationTearDown
public void postInvocationTearDown (Throwable exception)
בצע הליך פירוק נפוץ והפסק את המכשיר הוירטואלי.
פרמטרים |
---|
exception | Throwable : אם קיים, החריג האחרון שהועלה על ידי כשל הפנייה. |
preInvocationSetup
public void preInvocationSetup (IBuildInfo info,
MultiMap<String, String> attributes)
בצע את הליך ההגדרה הנפוץ והפעל את המכשיר הוירטואלי.
פרמטרים |
---|
info | IBuildInfo : ה- IBuildInfo של המכשיר. |
attributes | MultiMap : התכונות המאוחסנות בהקשר ההזמנה |
setTestLogger
public void setTestLogger (ITestLogger testLogger)
מזריק את המופע ITestLogger
פרמטרים |
---|
testLogger | ITestLogger |
לכבות
public void shutdown ()
כבה את המכשיר.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-01 (שעון UTC).
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"חסרים לי מידע או פרטים"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"התוכן מורכב מדי או עם יותר מדי שלבים"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"התוכן לא עדכני"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"בעיה בתרגום"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"בעיה בדוגמאות/בקוד"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"סיבה אחרת"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"התוכן קל להבנה"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"התוכן עזר לי לפתור בעיה"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"סיבה אחרת"
}]
{
"last_modified": "עדכון אחרון: 2023-12-01 (שעון UTC).",
"state": ""
}