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.java93 NetdEventListenerService mNetdListener; field in IpConnectivityMetrics
140 mNetdListener = new NetdEventListenerService(getContext()); in onBootPhase()
143 publishBinderService(mNetdListener.SERVICE_NAME, mNetdListener); in onBootPhase()
201 if (mNetdListener != null) { in flushEncodedOutput()
202 mNetdListener.flushStatistics(protoEvents); in flushEncodedOutput()
235 if (mNetdListener != null) { in cmdList()
236 mNetdListener.list(pw); in cmdList()
250 if (mNetdListener != null) { in cmdListAsProto()
251 mNetdListener.listAsProtos(pw); in cmdListAsProto()
339 if (mNetdListener == null) { in addNetdEventCallback()
[all …]
/frameworks/base/tests/net/java/com/android/server/connectivity/
DIpConnectivityMetricsTest.java89 NetdEventListenerService mNetdListener; field in IpConnectivityMetricsTest
95 mNetdListener = new NetdEventListenerService(mCm); in setUp()
96 mService.mNetdListener = mNetdListener; in setUp()
616 mNetdListener.onConnectEvent(netid, error, latencyMs, ipAddr, 80, 1); in connectEvent()
620 mNetdListener.onDnsEvent(netId, type, result, latency, "", null, 0, 0); in dnsEvent()
626 mNetdListener.onWakeupEvent(prefix, uid, ether, ip, mac, srcIp, dstIp, sport, dport, now); in wakeupEvent()
DNetdEventListenerServiceTest.java512 metricsService.mNetdListener = mService;