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.
ModuleProtoResultReporter
public
class
ModuleProtoResultReporter
extends FileProtoResultReporter
Bilinen doğrudan alt sınıflar
|
Yalnızca modül düzeyindeki sonuçları bildirmek için tasarlanmış bir sonuç raporlayıcı. Bu modülde yeniden giriş desteklenmez. Bu raporlayıcının amacı öncelikle modül düzeyinde önbelleğe almaktır.
Özet
Sabitler
INVOCATION_ID_KEY
public static final String INVOCATION_ID_KEY
Sabit Değer:
"invocation_id"
Herkese açık oluşturucular
ModuleProtoResultReporter
public ModuleProtoResultReporter ()
ModuleProtoResultReporter
public ModuleProtoResultReporter (IInvocationContext mainInvocationContext,
boolean granularResults)
| Parametreler |
mainInvocationContext |
IInvocationContext |
granularResults |
boolean |
Herkese açık yöntemler
public static parseResultsMetadata (File protoResults)
Aktarmış olabileceğimiz meta verileri ayıklamak için ayrıştırma yardımcı programı
| Parametreler |
protoResults |
File |
processTestModuleEnd
public void processTestModuleEnd (TestRecordProto.TestRecord moduleRecord)
testModuleEnded() gerçekleştikten sonra sonlandırılmış modül kaydı proto'sunun işlenmesi.
| Parametreler |
moduleRecord |
TestRecordProto.TestRecord: Modülü temsil eden son proto. |
processTestRunEnded
public void processTestRunEnded (TestRecordProto.TestRecord runRecord,
boolean moduleInProgress)
ERROR(/#testRunEnded(long,HashMap)) işleminden sonra tamamlanmış çalıştırma kaydı proto'sunun işlenmesi.
| Parametreler |
runRecord |
TestRecordProto.TestRecord: Çalıştırmayı temsil eden son proto. |
moduleInProgress |
boolean: Bir modülün devam edip etmediği |
reportGranularResults
public boolean reportGranularResults ()
reportStopCaching
public void reportStopCaching ()
stopCaching
public boolean stopCaching ()
Korunan yöntemler
afterModuleEnd
protected void afterModuleEnd ()
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-12-04 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-12-04 UTC."],[],[]]