NativePoc
public abstract class NativePoc
extends Object
java.lang.Object | |
↳ | com.android.sts.common.NativePoc |
הגדר והפעל PoC מקורי, תוך עמידה בתנאי יציאה
סיכום
כיתות מקוננות | |
---|---|
interface | NativePoc.AfterFunction בניית Lambda להפעלה לאחר ש-PoC סיים את הביצוע אך לפני הצהרות וניקוי. |
class | NativePoc.Builder
|
קבועים | |
---|---|
int | BUF_SIZE |
long | DEFAULT_POC_TIMEOUT_SECONDS |
String | RESOURCE_ROOT |
String | TMP_PATH
|
שיטות ציבוריות | |
---|---|
static NativePoc.Builder | builder () |
void | run (BaseHostJUnit4Test test) בצע את ה-PoC עם הפרמטרים והקביעות הנתונות. |
קבועים
BUF_SIZE
static final int BUF_SIZE
ערך קבוע: 65536 (0x00010000)
DEFAULT_POC_TIMEOUT_SECONDS
static final long DEFAULT_POC_TIMEOUT_SECONDS
ערך קבוע: 60 (0x0000000000000003c)
RESOURCE_ROOT
static final String RESOURCE_ROOT
ערך קבוע: "/"
TMP_PATH
static final String TMP_PATH
ערך קבוע: "/data/local/tmp/"
שיטות ציבוריות
לָרוּץ
public void run (BaseHostJUnit4Test test)
בצע את ה-PoC עם הפרמטרים והקביעות הנתונות.
פרמטרים | |
---|---|
test | BaseHostJUnit4Test : המופע של BaseHostJUnit4Test בו פועל. בדרך כלל נקרא עם "זה" אם נקרא מבדיקת STS. |
זורק | |
---|---|
Exception |
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2022-11-18 (שעון 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":"סיבה אחרת"
}]