Ab 2026 werden wir, um unser stabiles Entwicklungsmodell für den Trunk zu unterstützen und die Plattformstabilität für das Ökosystem zu gewährleisten, den Quellcode im 2. und 4. Quartal in AOSP veröffentlichen. Verwenden Sie android-latest-release, um AOSP zu entwickeln und dazu beizutragen. Der Manifestzweig android-latest-release verweist immer auf das neueste Release, das an AOSP übertragen wurde. Weitere Informationen finden Sie unter Änderungen an AOSP.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
EventsLoggerListener
public
class
EventsLoggerListener
extends Object
implements
ILogSaverListener
| java.lang.Object
|
| ↳ |
com.android.tradefed.result.EventsLoggerListener
|
Listener, der alle empfangenen Ereignisse in einer Datei protokolliert
Zusammenfassung
Öffentliche Methoden |
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)
|
Öffentliche Konstruktoren
EventsLoggerListener
public EventsLoggerListener (String name)
Öffentliche Methoden
getLoggedEvents
public File getLoggedEvents ()
invocationEnded
public void invocationEnded (long elapsedTime)
| Parameter |
elapsedTime |
long |
invocationFailed
public void invocationFailed (FailureDescription failure)
| Parameter |
failure |
FailureDescription |
invocationStarted
public void invocationStarted (IInvocationContext context)
| Parameter |
context |
IInvocationContext |
logAssociation
public void logAssociation (String dataName,
LogFile logFile)
| Parameter |
dataName |
String |
logFile |
LogFile |
testAssumptionFailure
public void testAssumptionFailure (TestDescription test,
String trace)
| Parameter |
test |
TestDescription |
trace |
String |
testAssumptionFailure
public void testAssumptionFailure (TestDescription test,
FailureDescription failure)
| Parameter |
test |
TestDescription |
failure |
FailureDescription |
testEnded
public void testEnded (TestDescription test,
long endTime,
testMetrics)
| Parameter |
test |
TestDescription |
endTime |
long |
testMetrics |
|
testFailed
public void testFailed (TestDescription test,
FailureDescription failure)
| Parameter |
test |
TestDescription |
failure |
FailureDescription |
testFailed
public void testFailed (TestDescription test,
String trace)
| Parameter |
test |
TestDescription |
trace |
String |
testIgnored
public void testIgnored (TestDescription test)
| Parameter |
test |
TestDescription |
testModuleEnded
public void testModuleEnded ()
testModuleStarted
public void testModuleStarted (IInvocationContext moduleContext)
| Parameter |
moduleContext |
IInvocationContext |
testRunEnded
public void testRunEnded (long elapsedTimeMillis,
runMetrics)
| Parameter |
elapsedTimeMillis |
long |
runMetrics |
|
testRunFailed
public void testRunFailed (FailureDescription failure)
| Parameter |
failure |
FailureDescription |
testRunFailed
public void testRunFailed (String errorMessage)
| Parameter |
errorMessage |
String |
testRunStarted
public void testRunStarted (String runName,
int testCount,
int attemptNumber,
long startTime)
| Parameter |
runName |
String |
testCount |
int |
attemptNumber |
int |
startTime |
long |
testStarted
public void testStarted (TestDescription test,
long startTime)
| Parameter |
test |
TestDescription |
startTime |
long |
Alle Inhalte und Codebeispiele auf dieser Seite unterliegen den Lizenzen wie im Abschnitt Inhaltslizenz beschrieben. Java und OpenJDK sind Marken oder eingetragene Marken von Oracle und/oder seinen Tochtergesellschaften.
Zuletzt aktualisiert: 2025-07-27 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-27 (UTC)."],[],[]]