2025 年 3 月 27 日より、AOSP のビルドとコントリビューションには aosp-main
ではなく android-latest-release
を使用することをおすすめします。詳細については、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 |"]]