BluetoothConnectionStateCollector
public
class
BluetoothConnectionStateCollector
extends BluetoothConnectionLatencyCollector
java.lang.Object | ||||
↳ | com.android.tradefed.device.metric.BaseDeviceMetricCollector | |||
↳ | com.android.tradefed.device.metric.HostStatsdMetricCollector | |||
↳ | com.android.tradefed.device.metric.BluetoothConnectionLatencyCollector | |||
↳ | com.android.tradefed.device.metric.BluetoothConnectionStateCollector |
This collector will collect BluetoothConnectionStateChanged metrics and record connection state number for each profile.
Summary
Public constructors | |
---|---|
BluetoothConnectionStateCollector()
|
Protected methods | |
---|---|
void
|
processStatsReport(ITestDevice device, InputStreamSource dataStream, DeviceMetricData runData)
Subclasses can implement the method to process Statsd metric report if needed. |
Public constructors
BluetoothConnectionStateCollector
public BluetoothConnectionStateCollector ()
Protected methods
processStatsReport
protected void processStatsReport (ITestDevice device, InputStreamSource dataStream, DeviceMetricData runData)
Subclasses can implement the method to process Statsd metric report if needed. It is called for metric report from a particular device
Parameters | |
---|---|
device |
ITestDevice : Test device where the statsd report is coming from |
dataStream |
InputStreamSource : Stats report as input stream |
runData |
DeviceMetricData : The destination where the processed metrics will be stored |