AppareilWifiRessourceMetricCollector

public class DeviceWifiResourceMetricCollector
extends Object implements IResourceMetricCollector en implements IResourceMetricCollector

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


Le collecteur collecte la force du signal wifi connecté actuel et les mesures de vitesse de liaison.

Sommaire

Des champs

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

Constructeurs publics

DeviceWifiResourceMetricCollector ()

Méthodes publiques

getDeviceResourceMetrics (DeviceDescriptor descriptor, IDeviceManager deviceManager)

Lance la commande adb shell et analyse les métriques WiFi.

Des champs

BRUIT

public static final String NOISE

RSSI

public static final String RSSI

LA VITESSE

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

Constructeurs publics

AppareilWifiRessourceMetricCollector

public DeviceWifiResourceMetricCollector ()

Méthodes publiques

getDeviceResourceMetrics

public  getDeviceResourceMetrics (DeviceDescriptor descriptor, 
                IDeviceManager deviceManager)

Lance la commande adb shell et analyse les métriques WiFi.

Paramètres
descriptor DeviceDescriptor : le DeviceDescriptor sur le dispositif de metricizing.

deviceManager IDeviceManager : le IDeviceManager exemple.

Retour
une ERROR(/Collection) du dispositif de Resource .