DeviceInternetAccessibilityResourceMetricCollector
public
class
DeviceInternetAccessibilityResourceMetricCollector
extends Object
implements
IResourceMetricCollector
java.lang.Object | |
↳ | com.android.tradefed.monitoring.collector.DeviceInternetAccessibilityResourceMetricCollector |
Kolektor mengirim ping ke google.com untuk memeriksa apakah perangkat memiliki aksesibilitas internet atau tidak.
Ringkasan
Kolom | |
---|---|
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
|
Konstruktor publik | |
---|---|
DeviceInternetAccessibilityResourceMetricCollector()
|
Metode publik | |
---|---|
long
|
getDeviceMetricizeTimeoutMs()
Mendapatkan waktu tunggu metrikisasi perangkat dalam md. |
|
getDeviceResourceMetrics(DeviceDescriptor descriptor, IDeviceManager deviceManager)
Masalah perintah ping untuk mengumpulkan metrik aksesibilitas internet. |
Kolom
{i>AVG_PING<i}
public static final String AVG_PING
{i>AVG_PING6_TAG<i}
public static final String AVG_PING6_TAG
{i>AVG_PING_TAG<i}
public static final String AVG_PING_TAG
FAILED_VAL
public static final Float FAILED_VAL
NAMA_METRIK_INTERNET_ACCESSIBILITY_METRIC_
public static final String INTERNET_ACCESSIBILITY_METRIC_NAME
PING6_CMD
public static final String PING6_CMD
PING_CMD
public static final String PING_CMD
POLA_SUKSES
public static final Pattern SUCCESS_PATTERN
Konstruktor publik
DeviceInternetAccessibilityResourceMetricCollector
public DeviceInternetAccessibilityResourceMetricCollector ()
Metode publik
getDeviceMetricizeTimeoutMs
public long getDeviceMetricizeTimeoutMs ()
Mendapatkan waktu tunggu metrikisasi perangkat dalam md.
Hasil | |
---|---|
long |
getDeviceResourceMetrics
publicgetDeviceResourceMetrics (DeviceDescriptor descriptor, IDeviceManager deviceManager)
Masalah perintah ping untuk mengumpulkan metrik aksesibilitas internet.
Parameter | |
---|---|
descriptor |
DeviceDescriptor : DeviceDescriptor tentang perangkat metrik. |
deviceManager |
IDeviceManager : instance IDeviceManager . |
Hasil | |
---|---|
|
ERROR(/Collection) perangkat Resource . |