2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
EnforcedSeLinuxChecker
public
class
EnforcedSeLinuxChecker
extends Object
implements
ISystemStatusChecker
java.lang.Object
|
↳ |
com.android.tradefed.suite.checker.EnforcedSeLinuxChecker
|
Selinux의 상태를 확인하는 상태 검사기입니다.
요약
공개 생성자
EnforcedSeLinuxChecker
public EnforcedSeLinuxChecker ()
공개 메서드
postExecutionCheck
public StatusCheckerResult postExecutionCheck (ITestDevice device)
테스트 모듈 실행 후 시스템 상태를 확인합니다. 여기에서 검사가 필요한 경우 서브클래스에서 이 메서드를 재정의해야 합니다. 구현은 상태 검사가 통과했는지 실패했는지 나타내는 boolean
값을 반환해야 합니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 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,["# EnforcedSeLinuxChecker\n======================\n\n\n`\npublic\n\n\nclass\nEnforcedSeLinuxChecker\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\nimplements\n\n`[ISystemStatusChecker](../../../../../../../reference/tradefed/com/android/tradefed/suite/checker/ISystemStatusChecker.html)`\n\n\n`\n\n|---|-----------------------------------------------------------|\n| java.lang.Object ||\n| ↳ | com.android.tradefed.suite.checker.EnforcedSeLinuxChecker |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nStatus checker that ensures the status of Selinux.\n\nSummary\n-------\n\n| ### Public constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[EnforcedSeLinuxChecker](../../../../../../../reference/tradefed/com/android/tradefed/suite/checker/EnforcedSeLinuxChecker.html#EnforcedSeLinuxChecker())`() ` |\n\n| ### Public methods ||\n|-------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` `[StatusCheckerResult](../../../../../../../reference/tradefed/com/android/tradefed/suite/checker/StatusCheckerResult.html) | ` `[postExecutionCheck](../../../../../../../reference/tradefed/com/android/tradefed/suite/checker/EnforcedSeLinuxChecker.html#postExecutionCheck(com.android.tradefed.device.ITestDevice))`(`[ITestDevice](../../../../../../../reference/tradefed/com/android/tradefed/device/ITestDevice.html)` device) ` Check system condition after test module execution. |\n\nPublic constructors\n-------------------\n\n### EnforcedSeLinuxChecker\n\n```\npublic EnforcedSeLinuxChecker ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### postExecutionCheck\n\n```\npublic StatusCheckerResult postExecutionCheck (ITestDevice device)\n```\n\nCheck system condition after test module execution. Subclass should override this method if a\ncheck is desirable here. Implementation must return a `boolean` value to indicate\nif the status check has passed or failed.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `device` | `ITestDevice`: The [ITestDevice](../../../../../../../reference/tradefed/com/android/tradefed/device/ITestDevice.html) on which to run the checks. \u003cbr /\u003e |\n\n| Returns ||\n|----------------------------------------------------------------------------------------------------------------------------|--------------------------------------|\n| [StatusCheckerResult](../../../../../../../reference/tradefed/com/android/tradefed/suite/checker/StatusCheckerResult.html) | result of system status check \u003cbr /\u003e |\n\n| Throws ||\n|-------------------------------------------------------------------------------------------------------------------------------------|---|\n| [DeviceNotAvailableException](../../../../../../../reference/tradefed/com/android/tradefed/device/DeviceNotAvailableException.html) | |"]]