החל מ-27 במרץ 2025, מומלץ להשתמש ב-android-latest-release
במקום ב-aosp-main
כדי ליצור תרומות ל-AOSP. מידע נוסף זמין במאמר שינויים ב-AOSP.
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
NativePocStatusAsserter
public
class
NativePocStatusAsserter
extends Object
java.lang.Object
|
↳ |
com.android.sts.common.NativePocStatusAsserter
|
סיכום
קונסטרוקטורים גלויים לכולם
NativePocStatusAsserter
public NativePocStatusAsserter ()
שיטות ציבוריות
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# NativePocStatusAsserter\n=======================\n\n\n`\npublic\n\n\nclass\nNativePocStatusAsserter\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|------------------------------------------------|\n| java.lang.Object ||\n| ↳ | com.android.sts.common.NativePocStatusAsserter |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[NativePocStatusAsserter](../../../../../../reference/sts/com/android/sts/common/NativePocStatusAsserter.html#NativePocStatusAsserter())`() ` |\n\n| ### Public methods ||\n|--------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` static `[NativePocAsserter](../../../../../../reference/sts/com/android/sts/common/NativePocAsserter.html) | ` `[assertExitCode](../../../../../../reference/sts/com/android/sts/common/NativePocStatusAsserter.html#assertExitCode(int))`(int exitCode) ` Return a [NativePocAsserter](../../../../../../reference/sts/com/android/sts/common/NativePocAsserter.html) that makes sure PoC exited with given code. |\n| ` static `[NativePocAsserter](../../../../../../reference/sts/com/android/sts/common/NativePocAsserter.html) | ` `[assertNotExitCode](../../../../../../reference/sts/com/android/sts/common/NativePocStatusAsserter.html#assertNotExitCode(int))`(int badExitCode) ` Return a [NativePocAsserter](../../../../../../reference/sts/com/android/sts/common/NativePocAsserter.html) that makes sure PoC did not exit with given code. |\n| ` static `[NativePocAsserter](../../../../../../reference/sts/com/android/sts/common/NativePocAsserter.html) | ` `[assertNotVulnerableExitCode](../../../../../../reference/sts/com/android/sts/common/NativePocStatusAsserter.html#assertNotVulnerableExitCode())`() ` Return a [NativePocAsserter](../../../../../../reference/sts/com/android/sts/common/NativePocAsserter.html) that makes sure PoC did not exit with code 113. |\n\nPublic constructors\n-------------------\n\n### NativePocStatusAsserter\n\n```\npublic NativePocStatusAsserter ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### assertExitCode\n\n```\npublic static NativePocAsserter assertExitCode (int exitCode)\n```\n\nReturn a [NativePocAsserter](../../../../../../reference/sts/com/android/sts/common/NativePocAsserter.html) that makes sure PoC exited with given code.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|------------|--------------|\n| `exitCode` | `int` \u003cbr /\u003e |\n\n| Returns ||\n|----------------------------------------------------------------------------------------------------|--------|\n| [NativePocAsserter](../../../../../../reference/sts/com/android/sts/common/NativePocAsserter.html) | \u003cbr /\u003e |\n\n### assertNotExitCode\n\n```\npublic static NativePocAsserter assertNotExitCode (int badExitCode)\n```\n\nReturn a [NativePocAsserter](../../../../../../reference/sts/com/android/sts/common/NativePocAsserter.html) that makes sure PoC did not exit with given code.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------------|--------------|\n| `badExitCode` | `int` \u003cbr /\u003e |\n\n| Returns ||\n|----------------------------------------------------------------------------------------------------|--------|\n| [NativePocAsserter](../../../../../../reference/sts/com/android/sts/common/NativePocAsserter.html) | \u003cbr /\u003e |\n\n### assertNotVulnerableExitCode\n\n```\npublic static NativePocAsserter assertNotVulnerableExitCode ()\n```\n\nReturn a [NativePocAsserter](../../../../../../reference/sts/com/android/sts/common/NativePocAsserter.html) that makes sure PoC did not exit with code 113.\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------------------------------------------------------------------------------------------------|--------|\n| [NativePocAsserter](../../../../../../reference/sts/com/android/sts/common/NativePocAsserter.html) | \u003cbr /\u003e |"]]