27 Mart 2025'ten itibaren AOSP'yi derlemek ve AOSP'ye katkıda bulunmak için aosp-main
yerine android-latest-release
kullanmanızı öneririz. Daha fazla bilgi için AOSP'de yapılan değişiklikler başlıklı makaleyi inceleyin.
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
InvocationProtoResultReporter
public
class
InvocationProtoResultReporter
extends ModuleProtoResultReporter
Çağırma düzeyinde önbelleğe alma bilgilerini ve modül listesini depolayan raporlayıcılar
Özet
Herkese açık kurucular
InvocationProtoResultReporter
public InvocationProtoResultReporter ()
InvocationProtoResultReporter
public InvocationProtoResultReporter (IInvocationContext mainInvocationContext,
boolean granularResults)
Parametreler |
mainInvocationContext |
IInvocationContext |
granularResults |
boolean |
Herkese açık yöntemler
invocationFailed
public void invocationFailed (FailureDescription failure)
Bazı hata koşulları nedeniyle tamamlanmamış bir çağrı bildirir.
TradeFederation çerçevesi tarafından otomatik olarak çağrılır.
invocationFailed
public void invocationFailed (Throwable cause)
Bazı hata koşulları nedeniyle tamamlanmamış bir çağrı bildirir.
TradeFederation çerçevesi tarafından otomatik olarak çağrılır.
Parametreler |
cause |
Throwable : Hatanın Throwable nedeni |
invocationStarted
public void invocationStarted (IInvocationContext context)
Test çağrısının başlangıcını bildirir.
TradeFederation çerçevesi tarafından otomatik olarak çağrılır. Raporlamacıların, birden fazla cihazdan raporlamayı desteklemek için bu yöntemi geçersiz kılması gerekir.
Parametreler |
context |
IInvocationContext : çağrı hakkında bilgi |
Korunan yöntemler
beforeModuleStart
protected void beforeModuleStart ()
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-27 UTC."],[],[],null,["# InvocationProtoResultReporter\n=============================\n\n\n`\npublic\n\n\nclass\nInvocationProtoResultReporter\n`\n\n\n`\n\n\n`\n\n`\n\n\n`\n\n`\n\n\n`\n\n`\n\nextends `[ModuleProtoResultReporter](../../../../../../../reference/tradefed/com/android/tradefed/result/proto/ModuleProtoResultReporter.html)`\n\n\n`\n\n`\n\n\n`\n\n|---|---|---|---|-----------------------------------------------------------------|\n| java.lang.Object |||||\n| ↳ | [com.android.tradefed.result.proto.ProtoResultReporter](../../../../../../../reference/tradefed/com/android/tradefed/result/proto/ProtoResultReporter.html) ||||\n| | ↳ | [com.android.tradefed.result.proto.FileProtoResultReporter](../../../../../../../reference/tradefed/com/android/tradefed/result/proto/FileProtoResultReporter.html) |||\n| | | ↳ | [com.android.tradefed.result.proto.ModuleProtoResultReporter](../../../../../../../reference/tradefed/com/android/tradefed/result/proto/ModuleProtoResultReporter.html) ||\n| | | | ↳ | com.android.tradefed.result.proto.InvocationProtoResultReporter |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nReporters to store invocation level caching information and its list of modules\n\nSummary\n-------\n\n| ### Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[InvocationProtoResultReporter](../../../../../../../reference/tradefed/com/android/tradefed/result/proto/InvocationProtoResultReporter.html#InvocationProtoResultReporter())`() ` |\n| ` `[InvocationProtoResultReporter](../../../../../../../reference/tradefed/com/android/tradefed/result/proto/InvocationProtoResultReporter.html#InvocationProtoResultReporter(com.android.tradefed.invoker.IInvocationContext,%20boolean))`(`[IInvocationContext](../../../../../../../reference/tradefed/com/android/tradefed/invoker/IInvocationContext.html)` mainInvocationContext, boolean granularResults) ` |\n\n| ### Public methods ||\n|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` void` | ` `[invocationFailed](../../../../../../../reference/tradefed/com/android/tradefed/result/proto/InvocationProtoResultReporter.html#invocationFailed(com.android.tradefed.result.FailureDescription))`(`[FailureDescription](../../../../../../../reference/tradefed/com/android/tradefed/result/FailureDescription.html)` failure) ` Reports an incomplete invocation due to some error condition. |\n| ` void` | ` `[invocationFailed](../../../../../../../reference/tradefed/com/android/tradefed/result/proto/InvocationProtoResultReporter.html#invocationFailed(java.lang.Throwable))`(Throwable cause) ` Reports an incomplete invocation due to some error condition. |\n| ` void` | ` `[invocationStarted](../../../../../../../reference/tradefed/com/android/tradefed/result/proto/InvocationProtoResultReporter.html#invocationStarted(com.android.tradefed.invoker.IInvocationContext))`(`[IInvocationContext](../../../../../../../reference/tradefed/com/android/tradefed/invoker/IInvocationContext.html)` context) ` Reports the start of the test invocation. |\n\n| ### Protected methods ||\n|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` void` | ` `[beforeModuleStart](../../../../../../../reference/tradefed/com/android/tradefed/result/proto/InvocationProtoResultReporter.html#beforeModuleStart())`() ` |\n\nPublic constructors\n-------------------\n\n### InvocationProtoResultReporter\n\n```\npublic InvocationProtoResultReporter ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### InvocationProtoResultReporter\n\n```\npublic InvocationProtoResultReporter (IInvocationContext mainInvocationContext, \n boolean granularResults)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-------------------------|-----------------------------|\n| `mainInvocationContext` | `IInvocationContext` \u003cbr /\u003e |\n| `granularResults` | `boolean` \u003cbr /\u003e |\n\nPublic methods\n--------------\n\n### invocationFailed\n\n```\npublic void invocationFailed (FailureDescription failure)\n```\n\nReports an incomplete invocation due to some error condition.\n\nWill be automatically called by the TradeFederation framework.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `failure` | `FailureDescription`: the [FailureDescription](../../../../../../../reference/tradefed/com/android/tradefed/result/FailureDescription.html) describing the cause of the failure \u003cbr /\u003e |\n\n### invocationFailed\n\n```\npublic void invocationFailed (Throwable cause)\n```\n\nReports an incomplete invocation due to some error condition.\n\n\u003cbr /\u003e\n\nWill be automatically called by the TradeFederation framework.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------|----------------------------------------------------------------------------------------------------------------------------|\n| `cause` | `Throwable`: the [Throwable](../../../../../../../reference/tradefed/java/lang/Throwable.html) cause of the failure \u003cbr /\u003e |\n\n### invocationStarted\n\n```\npublic void invocationStarted (IInvocationContext context)\n```\n\nReports the start of the test invocation.\n\nWill be automatically called by the TradeFederation framework. Reporters need to override\nthis method to support multiple devices reporting.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----------|---------------------------------------------------------------|\n| `context` | `IInvocationContext`: information about the invocation \u003cbr /\u003e |\n\nProtected methods\n-----------------\n\n### beforeModuleStart\n\n```\nprotected void beforeModuleStart ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e"]]