Koleksiyonlar ile düzeninizi koruyun İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.

BluetoothBağlantıBaşarıOranıSonra İşlemci

public class BluetoothConnectionSuccessRatePostProcessor
extends BasePostProcessor

java.lang.Nesne
com.android.tradefed.postprocessor.BasePostProcessor
com.android.tradefed.postprocessor.BluetoothConnectionSuccessRatePostProcessor


Bluetooth profili için başarı oranını hesaplayan son işlemcinin uygulanması

Sayısal dizideki bluetooth bağlantı durumlarını içeren metrikleri belirtmek için "metrik-anahtar eşleşmesi"ni kullanın. Örnek [0, 1, 2, 3, 0, 1, 2, 3]. Bağlantı durumları için android.bluetooth.ConnectionStateEnum'a bakın.

Özet

Kamu inşaatçıları

BluetoothConnectionSuccessRatePostProcessor ()

Genel yöntemler

processRunMetricsAndLogs ( runMetrics, testLogs) processRunMetricsAndLogs ( runMetrics, testLogs) processRunMetricsAndLogs ( runMetrics, testLogs)

Mevcut metriklerden ve günlüklerden bir dizi yeni metrik oluşturmak için bu yöntemi uygulayın.

Kamu inşaatçıları

BluetoothBağlantıBaşarıOranıSonra İşlemci

public BluetoothConnectionSuccessRatePostProcessor ()

Genel yöntemler

processRunMetricsAndLogs

public  processRunMetricsAndLogs ( runMetrics, 
                 testLogs)

Mevcut metriklerden ve günlüklerden bir dizi yeni metrik oluşturmak için bu yöntemi uygulayın. Yalnızca yeni oluşturulan metrikler ve benzersiz anahtar adıyla döndürülmelidir (mevcut anahtarlarla çarpışmaya izin verilmez).

parametreler
runMetrics : Çalıştırma için kullanılabilen ham metrikler kümesi.

testLogs : Test çalıştırması için günlük dosyaları seti.

İadeler
Çalıştırma metriklerinden yeni oluşturulan metrikler kümesi.