Home
last modified time | relevance | path

Searched refs:mNetdListener (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityMetrics.java92 NetdEventListenerService mNetdListener; field in IpConnectivityMetrics
139 mNetdListener = new NetdEventListenerService(getContext()); in onBootPhase()
142 publishBinderService(mNetdListener.SERVICE_NAME, mNetdListener); in onBootPhase()
200 if (mNetdListener != null) { in flushEncodedOutput()
201 mNetdListener.flushStatistics(protoEvents); in flushEncodedOutput()
234 if (mNetdListener != null) { in cmdList()
235 mNetdListener.list(pw); in cmdList()
249 if (mNetdListener != null) { in cmdListAsProto()
250 mNetdListener.listAsProtos(pw); in cmdListAsProto()
325 if (mNetdListener == null) { in addNetdEventCallback()
[all …]
/frameworks/base/tests/net/java/com/android/server/connectivity/
DIpConnectivityMetricsTest.java82 NetdEventListenerService mNetdListener; field in IpConnectivityMetricsTest
88 mNetdListener = new NetdEventListenerService(mCm); in setUp()
89 mService.mNetdListener = mNetdListener; in setUp()
572 mNetdListener.onConnectEvent(netid, error, latencyMs, ipAddr, 80, 1); in connectEvent()
576 mNetdListener.onDnsEvent(netId, type, result, latency, "", null, 0, 0); in dnsEvent()
582 mNetdListener.onWakeupEvent(prefix, uid, ether, ip, mac, srcIp, dstIp, sport, dport, now); in wakeupEvent()
DNetdEventListenerServiceTest.java506 metricsService.mNetdListener = mService;