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.
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
EventsLoggerListener
public
class
EventsLoggerListener
extends Object
implements
ILogSaverListener
| java.lang.Object
|
| ↳ |
com.android.tradefed.result.EventsLoggerListener
|
수신하는 모든 이벤트를 파일에 기록하는 리스너
요약
공개 메서드 |
File
|
getLoggedEvents()
|
void
|
invocationEnded(long elapsedTime)
|
void
|
invocationFailed(FailureDescription failure)
|
void
|
invocationStarted(IInvocationContext context)
|
void
|
logAssociation(String dataName, LogFile logFile)
|
void
|
testAssumptionFailure(TestDescription test, String trace)
|
void
|
testAssumptionFailure(TestDescription test, FailureDescription failure)
|
void
|
testEnded(TestDescription test, long endTime, testMetrics)
|
void
|
testFailed(TestDescription test, FailureDescription failure)
|
void
|
testFailed(TestDescription test, String trace)
|
void
|
testIgnored(TestDescription test)
|
void
|
testModuleEnded()
|
void
|
testModuleStarted(IInvocationContext moduleContext)
|
void
|
testRunEnded(long elapsedTimeMillis, runMetrics)
|
void
|
testRunFailed(FailureDescription failure)
|
void
|
testRunFailed(String errorMessage)
|
void
|
testRunStarted(String runName, int testCount, int attemptNumber, long startTime)
|
void
|
testStarted(TestDescription test, long startTime)
|
공개 생성자
EventsLoggerListener
public EventsLoggerListener (String name)
공개 메서드
getLoggedEvents
public File getLoggedEvents ()
invocationEnded
public void invocationEnded (long elapsedTime)
invocationFailed
public void invocationFailed (FailureDescription failure)
| 매개변수 |
failure |
FailureDescription |
invocationStarted
public void invocationStarted (IInvocationContext context)
| 매개변수 |
context |
IInvocationContext |
logAssociation
public void logAssociation (String dataName,
LogFile logFile)
| 매개변수 |
dataName |
String |
logFile |
LogFile |
testAssumptionFailure
public void testAssumptionFailure (TestDescription test,
String trace)
| 매개변수 |
test |
TestDescription |
trace |
String |
testAssumptionFailure
public void testAssumptionFailure (TestDescription test,
FailureDescription failure)
| 매개변수 |
test |
TestDescription |
failure |
FailureDescription |
testEnded
public void testEnded (TestDescription test,
long endTime,
testMetrics)
| 매개변수 |
test |
TestDescription |
endTime |
long |
testMetrics |
|
testFailed
public void testFailed (TestDescription test,
FailureDescription failure)
| 매개변수 |
test |
TestDescription |
failure |
FailureDescription |
testFailed
public void testFailed (TestDescription test,
String trace)
| 매개변수 |
test |
TestDescription |
trace |
String |
testIgnored
public void testIgnored (TestDescription test)
| 매개변수 |
test |
TestDescription |
testModuleEnded
public void testModuleEnded ()
testModuleStarted
public void testModuleStarted (IInvocationContext moduleContext)
| 매개변수 |
moduleContext |
IInvocationContext |
testRunEnded
public void testRunEnded (long elapsedTimeMillis,
runMetrics)
| 매개변수 |
elapsedTimeMillis |
long |
runMetrics |
|
testRunFailed
public void testRunFailed (FailureDescription failure)
| 매개변수 |
failure |
FailureDescription |
testRunFailed
public void testRunFailed (String errorMessage)
testRunStarted
public void testRunStarted (String runName,
int testCount,
int attemptNumber,
long startTime)
| 매개변수 |
runName |
String |
testCount |
int |
attemptNumber |
int |
startTime |
long |
testStarted
public void testStarted (TestDescription test,
long startTime)
| 매개변수 |
test |
TestDescription |
startTime |
long |
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 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)"],[],[]]