27 Mart 2025'ten itibaren AOSP'yi derlemek ve AOSP'ye katkıda bulunmak için aosp-main
yerine android-latest-release
kullanmanızı öneririz. Daha fazla bilgi için AOSP'de yapılan değişiklikler başlıklı makaleyi inceleyin.
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
NativePocStatusAsserter
public
class
NativePocStatusAsserter
extends Object
java.lang.Object
|
↳ |
com.android.sts.common.NativePocStatusAsserter
|
Özet
Herkese açık kurucular
NativePocStatusAsserter
public NativePocStatusAsserter ()
Herkese açık yöntemler
assertExitCode
public static NativePocAsserter assertExitCode (int exitCode)
PoC'nin belirtilen kodla çıktığından emin olan bir NativePocAsserter
döndürün.
Parametreler |
exitCode |
int |
assertNotExitCode
public static NativePocAsserter assertNotExitCode (int badExitCode)
PoC'nin belirtilen kodla çıkmadığından emin olan bir NativePocAsserter
döndürün.
Parametreler |
badExitCode |
int |
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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 |"]]