public class DnsEventListenerService
extends IDnsEventListener.Stub
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Constructor and Description |
---|
DnsEventListenerService(ConnectivityManager cm,
IpConnectivityLog log) |
DnsEventListenerService(Context context) |
Modifier and Type | Method and Description |
---|---|
void |
dump(PrintWriter writer) |
void |
onDnsEvent(int netId,
int eventType,
int returnCode,
int latencyMs) |
public static final String SERVICE_NAME
public DnsEventListenerService(Context context)
public DnsEventListenerService(ConnectivityManager cm, IpConnectivityLog log)
public void onDnsEvent(int netId, int eventType, int returnCode, int latencyMs)
public void dump(PrintWriter writer)