Home
last modified time | relevance | path

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

/frameworks/base/tests/net/common/java/android/net/metrics/
DNetworkEventTest.kt32 var networkEvent = NetworkEvent(it) in testConstructorAndParcel() variable
33 assertEquals(it, networkEvent.eventType) in testConstructorAndParcel()
34 assertEquals(0, networkEvent.durationMs) in testConstructorAndParcel()
36 networkEvent = NetworkEvent(it, Long.MAX_VALUE) in testConstructorAndParcel()
37 assertEquals(it, networkEvent.eventType) in testConstructorAndParcel()
38 assertEquals(Long.MAX_VALUE, networkEvent.durationMs) in testConstructorAndParcel()
40 assertParcelSane(networkEvent, 2) in testConstructorAndParcel()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DNetworkLoggingHandler.java134 final NetworkEvent networkEvent = msg.getData().getParcelable(NETWORK_EVENT_KEY); in handleMessage() local
135 if (networkEvent != null) { in handleMessage()
138 mNetworkEvents.add(networkEvent); in handleMessage()
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityEventBuilder.java247 IpConnectivityLogClass.NetworkEvent networkEvent = in setNetworkEvent() local
249 networkEvent.eventType = in.eventType; in setNetworkEvent()
250 networkEvent.latencyMs = (int) in.durationMs; in setNetworkEvent()
251 out.setNetworkEvent(networkEvent); in setNetworkEvent()