DeviceWifiResourceMetricCollector

public class DeviceWifiResourceMetricCollector
extends Object implements IResourceMetricCollector

java.lang.Object
? com.android.tradefed.monitoring.collector.DeviceWifiResourceMetricCollector


Il raccoglitore raccoglie la potenza del segnale Wi-Fi connesso corrente e le metriche della velocità del collegamento.

Riepilogo

Campi

public static final String NOISE

public static final String RSSI

public static final String SPEED

public static final String SSID

public static final String WIFI_METRIC_NAME

public static final String WIFI_SIGNAL_CMD

public static final Pattern WIFI_SIGNAL_PATTERN

public static final String WIFI_STATUS_CMD

public static final Pattern WIFI_STATUS_PATTERN

Costruttori pubblici

DeviceWifiResourceMetricCollector ()

Metodi pubblici

getDeviceResourceMetrics (DeviceDescriptor descriptor, IDeviceManager deviceManager)

Emette il comando adb shell e analizza le metriche WiFi.

Campi

RUMORE

public static final String NOISE

RSSI

public static final String RSSI

VELOCITÀ

public static final String SPEED

SSID

public static final String SSID

WIFI_METRIC_NAME

public static final String WIFI_METRIC_NAME

WIFI_SIGNAL_CMD

public static final String WIFI_SIGNAL_CMD

WIFI_SIGNAL_PATTERN

public static final Pattern WIFI_SIGNAL_PATTERN

WIFI_STATUS_CMD

public static final String WIFI_STATUS_CMD

WIFI_STATUS_PATTERN

public static final Pattern WIFI_STATUS_PATTERN

Costruttori pubblici

DeviceWifiResourceMetricCollector

public DeviceWifiResourceMetricCollector ()

Metodi pubblici

getDeviceResourceMetrics

public  getDeviceResourceMetrics (DeviceDescriptor descriptor, 
                IDeviceManager deviceManager)

Emette il comando adb shell e analizza le metriche WiFi.

Parametri
descriptor DeviceDescriptor : il DeviceDescriptor sul dispositivo metricizing.

deviceManager IDeviceManager : IDeviceManager istanza.

ritorna
un ERROR(/Collection) del dispositivo Resource .