DispositivoWifiResourceMetricCollector
public class DeviceWifiResourceMetricCollector
extends Object
implements IResourceMetricCollector
java.lang.Objeto | |
↳ | com.android.tradefed.monitoring.collector.DeviceWifiResourceMetricCollector |
El recopilador recopila métricas de intensidad de la señal wifi conectada actual y de velocidad del enlace.
Resumen
Campos | |
---|---|
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
|
Constructores públicos | |
---|---|
DeviceWifiResourceMetricCollector () |
Métodos públicos | |
---|---|
getDeviceResourceMetrics (DeviceDescriptor descriptor, IDeviceManager deviceManager) Emite el comando adb shell y analiza las métricas de WiFi. |
Campos
RUIDO
public static final String NOISE
RSSI
public static final String RSSI
VELOCIDAD
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
Constructores públicos
DispositivoWifiResourceMetricCollector
public DeviceWifiResourceMetricCollector ()
Métodos públicos
getDeviceResourceMetrics
publicgetDeviceResourceMetrics (DeviceDescriptor descriptor, IDeviceManager deviceManager)
Emite el comando adb shell y analiza las métricas de WiFi.
Parámetros | |
---|---|
descriptor | DeviceDescriptor : el DeviceDescriptor sobre el dispositivo de métrica. |
deviceManager | IDeviceManager : la instancia IDeviceManager . |
Devoluciones | |
---|---|
un ERROR(/Collection) del Resource del dispositivo. |