DeviceInternetAccessibilityResourceMetricCollector)
public
class
DeviceInternetAccessibilityResourceMetricCollector
extends Object
implements
IResourceMetricCollector
Objeto java.lang. | |
↳ | com.android.tradefed.monitoring.collector.DeviceInternetAccessibilityResourceMetricCollector |
El recopilador hace ping a google.com para verificar si el dispositivo tiene accesibilidad a Internet o no.
Resumen
Campos | |
---|---|
public
static
final
String |
AVG_PING
|
public
static
final
String |
AVG_PING6_TAG
|
public
static
final
String |
AVG_PING_TAG
|
public
static
final
Float |
FAILED_VAL
|
public
static
final
String |
INTERNET_ACCESSIBILITY_METRIC_NAME
|
public
static
final
String |
PING6_CMD
|
public
static
final
String |
PING_CMD
|
public
static
final
Pattern |
SUCCESS_PATTERN
|
Constructores públicos | |
---|---|
DeviceInternetAccessibilityResourceMetricCollector()
|
Métodos públicos | |
---|---|
long
|
getDeviceMetricizeTimeoutMs()
Obtiene el tiempo de espera de metricize del dispositivo en ms. |
|
getDeviceResourceMetrics(DeviceDescriptor descriptor, IDeviceManager deviceManager)
Problemas con el comando de ping para recopilar métricas de accesibilidad a Internet. |
Campos
PING_PROMEDIO
public static final String AVG_PING
AVG_PING6_TAG
public static final String AVG_PING6_TAG
AVG_PING_TAG
public static final String AVG_PING_TAG
FALLIDO_VAL
public static final Float FAILED_VAL
NOMBRE DE MÉTRICA DE INTERNET_ACCESSIBILITY_METRIC_NAME
public static final String INTERNET_ACCESSIBILITY_METRIC_NAME
PING6_CMD
public static final String PING6_CMD
PING_CMD
public static final String PING_CMD
ÉXITO_PATTERN
public static final Pattern SUCCESS_PATTERN
Constructores públicos
DeviceInternetAccessibilityResourceMetricCollector)
public DeviceInternetAccessibilityResourceMetricCollector ()
Métodos públicos
getDeviceMetricizeTimeoutMs
public long getDeviceMetricizeTimeoutMs ()
Obtiene el tiempo de espera de metricize del dispositivo en ms.
Muestra | |
---|---|
long |
getDeviceResourceMetrics.
publicgetDeviceResourceMetrics (DeviceDescriptor descriptor, IDeviceManager deviceManager)
Problemas con el comando de ping para recopilar métricas de accesibilidad a Internet.
Parámetros | |
---|---|
descriptor |
DeviceDescriptor : Es el DeviceDescriptor sobre el dispositivo de métrica. |
deviceManager |
IDeviceManager : Es la instancia IDeviceManager . |
Muestra | |
---|---|
|
un ERROR(/Collection) del dispositivo Resource . |