Searched refs:ConnectivityMetricsEvent (Results 1 – 12 of 12) sorted by relevance
29 public final class ConnectivityMetricsEvent implements Parcelable { class42 public ConnectivityMetricsEvent() { in ConnectivityMetricsEvent() method in ConnectivityMetricsEvent45 private ConnectivityMetricsEvent(Parcel in) { in ConnectivityMetricsEvent() method in ConnectivityMetricsEvent54 …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];
20 import android.net.ConnectivityMetricsEvent;30 int logEvent(in ConnectivityMetricsEvent event); in logEvent()
20 parcelable ConnectivityMetricsEvent;
27 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 …]
22 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()
20 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 …]
29 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()
19 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()
33 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 …]
30 import android.net.ConnectivityMetricsEvent;290 ConnectivityMetricsEvent ev = new ConnectivityMetricsEvent(); in testEndToEndLogging()
24 import android.net.ConnectivityMetricsEvent;92 public int logEvent(ConnectivityMetricsEvent connectivityMetricsEvent) in logEvent()
5400 …/server/connectivity/IpConnectivityMetrics$Impl;->logEvent(Landroid/net/ConnectivityMetricsEvent;)I5404 …android/server/connectivity/IpConnectivityMetrics;->append(Landroid/net/ConnectivityMetricsEvent;)I