DeviceWifiResourceMetricCollector
public
class
DeviceWifiResourceMetricCollector
extends Object
implements
IResourceMetricCollector
java.lang.Object | |
↳ | com.android.tradefed.monitoring.collector.DeviceWifiResourceMetricCollector |
收集器會收集目前連線的 Wi-Fi 訊號強度和連結速度指標。
摘要
欄位 | |
---|---|
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 殼層指令並剖析 Wi-Fi 指標。 |
欄位
噪音
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
publicgetDeviceResourceMetrics (DeviceDescriptor descriptor, IDeviceManager deviceManager)
發出 ADB 殼層指令並剖析 Wi-Fi 指標。
參數 | |
---|---|
descriptor |
DeviceDescriptor :有關指標化裝置的 DeviceDescriptor 。 |
deviceManager |
IDeviceManager :IDeviceManager 例項。 |
傳回 | |
---|---|
|
裝置 ERROR(/Collection) (Resource )。 |