Home
last modified time | relevance | path

Searched refs:ConnectivityMetricsEvent (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/net/
DConnectivityMetricsEvent.java29 public final class ConnectivityMetricsEvent implements Parcelable { class
42 public ConnectivityMetricsEvent() { in ConnectivityMetricsEvent() method in ConnectivityMetricsEvent
45 private ConnectivityMetricsEvent(Parcel in) { in ConnectivityMetricsEvent() method in ConnectivityMetricsEvent
54 …public static final @android.annotation.NonNull Parcelable.Creator<ConnectivityMetricsEvent> CREAT…
55 = new Parcelable.Creator<ConnectivityMetricsEvent> (){
56 public ConnectivityMetricsEvent createFromParcel(Parcel source) {
57 return new ConnectivityMetricsEvent(source);
60 public ConnectivityMetricsEvent[] newArray(int size) {
61 return new ConnectivityMetricsEvent[size];
DIIpConnectivityMetrics.aidl20 import android.net.ConnectivityMetricsEvent;
30 int logEvent(in ConnectivityMetricsEvent event); in logEvent()
DConnectivityMetricsEvent.aidl20 parcelable ConnectivityMetricsEvent;
/frameworks/base/tests/net/common/java/android/net/metrics/
DIpConnectivityLogTest.java27 import android.net.ConnectivityMetricsEvent;
77 List<ConnectivityMetricsEvent> got = verifyEvents(6); in testLoggingEvents()
111 List<ConnectivityMetricsEvent> got = verifyEvents(nCallers * nEvents, 200); in testLoggingEventsWithMultipleCallers()
113 Iterator<ConnectivityMetricsEvent> iter = got.iterator(); in testLoggingEventsWithMultipleCallers()
126 private List<ConnectivityMetricsEvent> verifyEvents(int n, int timeoutMs) throws Exception { in verifyEvents()
127 ArgumentCaptor<ConnectivityMetricsEvent> captor = in verifyEvents()
128 ArgumentCaptor.forClass(ConnectivityMetricsEvent.class); in verifyEvents()
133 private List<ConnectivityMetricsEvent> verifyEvents(int n) throws Exception { in verifyEvents()
138 private ConnectivityMetricsEvent makeExpectedEvent(long timestamp, int netId, long transports, in makeExpectedEvent()
140 ConnectivityMetricsEvent ev = new ConnectivityMetricsEvent(); in makeExpectedEvent()
[all …]
/frameworks/base/core/java/android/net/metrics/
DIpConnectivityLog.java22 import android.net.ConnectivityMetricsEvent;
87 public boolean log(@NonNull ConnectivityMetricsEvent ev) { in log()
114 ConnectivityMetricsEvent ev = makeEv(data); in log()
126 ConnectivityMetricsEvent ev = makeEv(data); in log()
152 ConnectivityMetricsEvent ev = makeEv(data); in log()
167 private static ConnectivityMetricsEvent makeEv(Event data) { in makeEv()
168 ConnectivityMetricsEvent ev = new ConnectivityMetricsEvent(); in makeEv()
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityMetrics.java20 import android.net.ConnectivityMetricsEvent;
97 private final RingBuffer<ConnectivityMetricsEvent> mEventLog =
98 new RingBuffer(ConnectivityMetricsEvent.class, DEFAULT_LOG_SIZE);
103 private ArrayList<ConnectivityMetricsEvent> mBuffer;
161 private int append(ConnectivityMetricsEvent event) { in append()
182 private boolean isRateLimited(ConnectivityMetricsEvent event) { in isRateLimited()
188 final ArrayList<ConnectivityMetricsEvent> events; in flushEncodedOutput()
229 final List<ConnectivityMetricsEvent> events = getEvents(); in cmdList()
230 for (ConnectivityMetricsEvent ev : events) { in cmdList()
245 final List<ConnectivityMetricsEvent> events = getEvents(); in cmdListAsProto()
[all …]
DIpConnectivityEventBuilder.java29 import android.net.ConnectivityMetricsEvent;
72 public static List<IpConnectivityEvent> toProto(List<ConnectivityMetricsEvent> eventsIn) { in toProto()
74 for (ConnectivityMetricsEvent in : eventsIn) { in toProto()
84 public static IpConnectivityEvent toProto(ConnectivityMetricsEvent ev) { in toProto()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DMetricsTestUtil.java19 import android.net.ConnectivityMetricsEvent;
30 static ConnectivityMetricsEvent ev(Parcelable p) { in ev()
31 ConnectivityMetricsEvent ev = new ConnectivityMetricsEvent(); in ev()
37 static ConnectivityMetricsEvent describeIpEvent(Consumer<Parcel>... fs) { in describeIpEvent()
DIpConnectivityEventBuilderTest.java33 import android.net.ConnectivityMetricsEvent;
64 ConnectivityMetricsEvent ev = describeIpEvent( in testLinkLayerInferrence()
229 ConnectivityMetricsEvent ev = describeIpEvent( in testDhcpClientEventSerialization()
255 ConnectivityMetricsEvent ev = describeIpEvent( in testDhcpErrorEventSerialization()
280 ConnectivityMetricsEvent ev = describeIpEvent( in testIpManagerEventSerialization()
306 ConnectivityMetricsEvent ev = describeIpEvent( in testIpReachabilityEventSerialization()
330 ConnectivityMetricsEvent ev = describeIpEvent( in testNetworkEventSerialization()
355 ConnectivityMetricsEvent ev = describeIpEvent( in testValidationProbeEventSerialization()
382 ConnectivityMetricsEvent ev = describeIpEvent( in testApfProgramEventSerialization()
416 ConnectivityMetricsEvent ev = describeIpEvent( in testApfStatsSerialization()
[all …]
DIpConnectivityMetricsTest.java30 import android.net.ConnectivityMetricsEvent;
290 ConnectivityMetricsEvent ev = new ConnectivityMetricsEvent(); in testEndToEndLogging()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DNetworkWatchlistServiceTests.java24 import android.net.ConnectivityMetricsEvent;
92 public int logEvent(ConnectivityMetricsEvent connectivityMetricsEvent) in logEvent()
/frameworks/base/services/
Dart-profile5400 …/server/connectivity/IpConnectivityMetrics$Impl;->logEvent(Landroid/net/ConnectivityMetricsEvent;)I
5404 …android/server/connectivity/IpConnectivityMetrics;->append(Landroid/net/ConnectivityMetricsEvent;)I