2026년부터 트렁크 안정 개발 모델과 일치하고 생태계의 플랫폼 안정성을 보장하기 위해 2분기와 4분기에 AOSP에 소스 코드를 게시합니다. AOSP를 빌드하고 기여하려면 android-latest-release를 사용하세요. android-latest-release 매니페스트 브랜치는 항상 AOSP에 푸시된 최신 버전을 참조합니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
ParentSandboxInvocationExecution
public
class
ParentSandboxInvocationExecution
extends InvocationExecution
샌드박스를 실행할 때 상위 호출 특수 작업의 InvocationExecution 버전입니다.
요약
공개 메서드 |
void
|
doCleanUp(IInvocationContext context, IConfiguration config, Throwable exception)
target_preparer 및 multi_target_preparer cleanUp 단계를 실행합니다.
|
void
|
doSetup(TestInformation testInfo, IConfiguration config, ITestLogger listener)
target_preparer 및 multi_target_preparer setUp 단계를 실행합니다.
|
void
|
doTeardown(TestInformation testInfo, IConfiguration config, ITestLogger logger, Throwable exception)
target_preparer 및 multi_target_preparer teardown 단계를 실행합니다.
|
boolean
|
fetchBuild(TestInformation testInfo, IConfiguration config, IRescheduler rescheduler, ITestInvocationListener listener)
호출의 build_provider 단계를 실행합니다.
|
void
|
reportLogs(ITestDevice device, ITestLogger logger, TestInvocation.Stage stage)
호출의 여러 단계에서 일부 기기 로그를 보고합니다.
|
void
|
runDevicePostInvocationTearDown(IInvocationContext context, IConfiguration config, Throwable exception)
호출의 각 기기 부분에 대해 ITestDevice.postInvocationTearDown(Throwable)를 호출합니다.
|
void
|
runDevicePreInvocationSetup(IInvocationContext context, IConfiguration config, ITestLogger logger)
호출의 각 기기 부분에 대해 ERROR(ITestDevice.preInvocationSetup(IBuildInfo)/com.android.tradefed.device.ITestDevice#preInvocationSetup(com.android.tradefed.build.IBuildInfo) ITestDevice.preInvocationSetup(IBuildInfo))를 호출합니다.
|
void
|
runTests(TestInformation info, IConfiguration config, ITestInvocationListener listener)
테스트를 실행합니다.
|
공개 생성자
ParentSandboxInvocationExecution
public ParentSandboxInvocationExecution ()
공개 메서드
doCleanUp
public void doCleanUp (IInvocationContext context,
IConfiguration config,
Throwable exception)
target_preparer 및 multi_target_preparer cleanUp 단계를 실행합니다. 기기를 정리합니다.
reportLogs
public void reportLogs (ITestDevice device,
ITestLogger logger,
TestInvocation.Stage stage)
호출의 여러 단계에서 일부 기기 로그를 보고합니다. 예: logcat
| 매개변수 |
device |
ITestDevice: 로그를 보고할 기기입니다. |
logger |
ITestLogger: 로그의 로거입니다. |
stage |
TestInvocation.Stage: 현재 호출 단계입니다. |
보호된 메서드
getLabPreparersToRun
protected List<ITargetPreparer> getLabPreparersToRun (IConfiguration config,
String deviceName)
이 기기에서 실행할 실험실 준비자 목록을 가져옵니다.
샌드박스 클래스에서 재정의되어 샌드박스 하위 요소 내에서 실습 준비자가 실행되지 않도록 제한합니다.
| 매개변수 |
config |
IConfiguration |
deviceName |
String |
getRunUtil
protected IRunUtil getRunUtil ()
getTargetPreparersToRun
protected List<ITargetPreparer> getTargetPreparersToRun (IConfiguration config,
String deviceName)
이 기기에서 실행할 타겟 준비자 목록을 가져옵니다.
샌드박스 클래스에서 재정의되어 샌드박스 하위 요소 내에서 실습 준비자가 실행되지 않도록 제한합니다.
| 매개변수 |
config |
IConfiguration |
deviceName |
String |
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2026-06-22(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"]],["최종 업데이트: 2026-06-22(UTC)"],[],[]]