BluetoothConnectionLatencyCollector

public class BluetoothConnectionLatencyCollector
extends HostStatsdMetricCollector

java.lang.Object
   ↳ com.android.tradefed.device.metric.BaseDeviceMetricCollector
     ↳ com.android.tradefed.device.metric.HostStatsdMetricCollector
       ↳ com.android.tradefed.device.metric.BluetoothConnectionLatencyCollector


Toplayıcı, önceden tanımlanmış bir statsd süresi metrik yapılandırmasını cihazlara gönderir ve her profilin Bluetooth bağlantı süresini toplar.

Özet

Fields'ın oynadığı filmler

protected static final ImmutableMap<Integer, String> BLUETOOTH_PROFILES_MAP

Bir eşleme, Bluetooth profil numarasını metrik anahtarı için kullanılan açıklayıcı adla ilişkilendirir.

Herkese açık kurucular

BluetoothConnectionLatencyCollector()

Korunan yöntemler

void processStatsReport(ITestDevice device, InputStreamSource dataStream, DeviceMetricData runData)

Alt sınıflar, gerekirse Statsd metrik raporunu işleme yöntemini uygulayabilir.

Fields'ın oynadığı filmler

BLUETOOTH_PROFILES_MAP

protected static final ImmutableMap<Integer, String> BLUETOOTH_PROFILES_MAP

Bir eşleme, Bluetooth profil numarasını metrik anahtarı için kullanılan açıklayıcı adla ilişkilendirir.

Herkese açık kurucular

BluetoothConnectionLatencyCollector

public BluetoothConnectionLatencyCollector ()

Korunan yöntemler

processStatsReport

protected void processStatsReport (ITestDevice device, 
                InputStreamSource dataStream, 
                DeviceMetricData runData)

Alt sınıflar, gerekirse Statsd metrik raporunu işleme yöntemini uygulayabilir. Belirli bir cihazdan alınan metrik raporu için çağrılır

Parametreler
device ITestDevice: statsd raporunun geldiği test cihazı

dataStream InputStreamSource: Giriş akışı olarak istatistik raporu

runData DeviceMetricData: İşlenen metriklerin depolanacağı hedef