DeviceWifiResourceMetricCollector

public class DeviceWifiResourceMetricCollector
extends Object implements IResourceMetricCollector

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


Kolektor mengumpulkan kekuatan sinyal Wi-Fi yang terhubung saat ini dan metrik kecepatan link.

Ringkasan

Kolom

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

Konstruktor publik

DeviceWifiResourceMetricCollector()

Metode publik

getDeviceResourceMetrics(DeviceDescriptor descriptor, IDeviceManager deviceManager)

Memberikan perintah shell adb dan mengurai metrik Wi-Fi.

Kolom

KEBISINGAN

public static final String NOISE

RSSI

public static final String RSSI

SPEED

public static final String SPEED

SSID

public static final String SSID

Wi-Fi_METRIC_NAME

public static final String WIFI_METRIC_NAME

Wi-Fi_SIGNAL_CMD

public static final String WIFI_SIGNAL_CMD

POLA_SIGNAL_Wi-Fi

public static final Pattern WIFI_SIGNAL_PATTERN

CMD STATUS_Wi-Fi

public static final String WIFI_STATUS_CMD

STATUS_STATUS_Wi-Fi

public static final Pattern WIFI_STATUS_PATTERN

Konstruktor publik

DeviceWifiResourceMetricCollector

public DeviceWifiResourceMetricCollector ()

Metode publik

getDeviceResourceMetrics

public  getDeviceResourceMetrics (DeviceDescriptor descriptor, 
                IDeviceManager deviceManager)

Memberikan perintah shell adb dan mengurai metrik Wi-Fi.

Parameter
descriptor DeviceDescriptor: DeviceDescriptor tentang perangkat metrik.

deviceManager IDeviceManager: instance IDeviceManager.

Hasil
ERROR(/Collection) perangkat Resource.