DeviceWifiResourceMetricCollector
public
class
DeviceWifiResourceMetricCollector
extends Object
implements
IResourceMetricCollector
| java.lang.Object | |
| ↳ | com.android.tradefed.monitoring.collector.DeviceWifiResourceMetricCollector |
Zbiera on aktualną siłę sygnału i dane o szybkości połączenia Wi-Fi.
Podsumowanie
Fieldsem | |
|---|---|
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
|
Konstruktory publiczne | |
|---|---|
DeviceWifiResourceMetricCollector()
|
|
Metody publiczne | |
|---|---|
|
getDeviceResourceMetrics(DeviceDescriptor descriptor, IDeviceManager deviceManager)
Wyślij polecenie adb shell i przeanalizuj dane o Wi-Fi. |
Fieldsem
SZUM
public static final String NOISE
RSSI
public static final String RSSI
SZYBKOŚĆ
public static final String SPEED
identyfikatora 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
Konstruktory publiczne
DeviceWifiResourceMetricCollector
public DeviceWifiResourceMetricCollector ()
Metody publiczne
getDeviceResourceMetrics
publicgetDeviceResourceMetrics (DeviceDescriptor descriptor, IDeviceManager deviceManager)
Wyślij polecenie adb shell i przeanalizuj dane o Wi-Fi.
| Parametry | |
|---|---|
descriptor |
DeviceDescriptor: DeviceDescriptor na temat urządzenia zbierającego dane. |
deviceManager |
IDeviceManager: instancja IDeviceManager. |
| Zwroty | |
|---|---|
|
ERROR(/Collection) z urządzenia Resource. |