DeviceWifiResourceMetricCollector

public class DeviceWifiResourceMetricCollector
extends Object implements IResourceMetricCollector

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


يجمع المجمع قوة إشارة wifi الحالية المتصلة ومقاييس سرعة الارتباط.

ملخص

مجالات

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

المنشئون العامة

DeviceWifiResourceMetricCollector ()

الأساليب العامة

getDeviceResourceMetrics ( DeviceDescriptor descriptor, IDeviceManager deviceManager)

يصدر أمر adb shell ويوزع مقاييس WiFi.

مجالات

الضوضاء

public static final String NOISE

RSSI

public static final String RSSI

سرعة

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

المنشئون العامة

DeviceWifiResourceMetricCollector

public DeviceWifiResourceMetricCollector ()

الأساليب العامة

getDeviceResourceMetrics

public  getDeviceResourceMetrics (DeviceDescriptor descriptor, 
                IDeviceManager deviceManager)

يصدر أمر adb shell ويوزع مقاييس WiFi.

المعلمات
descriptor DeviceDescriptor : هو DeviceDescriptor حول جهاز القياس.

deviceManager IDeviceManager : مثيل IDeviceManager .

عائدات
a ERROR(/Collection) من Resource الجهاز.