Home
last modified time | relevance | path

Searched refs:ValidationProbeEvent (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/net/metrics/
DValidationProbeEvent.java39 public final class ValidationProbeEvent implements IpConnectivityLog.Event { class
71 private ValidationProbeEvent(long durationMs, int probeType, int returnCode) { in ValidationProbeEvent() method in ValidationProbeEvent
77 private ValidationProbeEvent(Parcel in) { in ValidationProbeEvent() method in ValidationProbeEvent
122 public ValidationProbeEvent build() { in build()
123 return new ValidationProbeEvent(mDurationMs, mProbeType, mReturnCode); in build()
142 public static final @android.annotation.NonNull Parcelable.Creator<ValidationProbeEvent> CREATOR
143 = new Parcelable.Creator<ValidationProbeEvent>() {
144 public ValidationProbeEvent createFromParcel(Parcel in) {
145 return new ValidationProbeEvent(in);
148 public ValidationProbeEvent[] newArray(int size) {
[all …]
/frameworks/base/tests/net/common/java/android/net/metrics/
DValidationProbeEventTest.kt38 var validationProbeEvent = ValidationProbeEvent.Builder() in hasType()
39 .setProbeType(ValidationProbeEvent.PROBE_DNS, false).build() in hasType()
43 validationProbeEvent = ValidationProbeEvent.Builder() in hasType()
45 .setProbeType(ValidationProbeEvent.PROBE_DNS, true) in hasType()
46 .setReturnCode(ValidationProbeEvent.DNS_SUCCESS) in hasType()
50 assertTrue(validationProbeEvent.probeType hasType ValidationProbeEvent.PROBE_DNS) in hasType()
52 assertEquals(ValidationProbeEvent.DNS_SUCCESS, validationProbeEvent.returnCode) in hasType()
59 val probeFields = ValidationProbeEvent::class.java.declaredFields.filter { in testGetProbeName()
67 val stringValue = ValidationProbeEvent.getProbeName(intValue) in testGetProbeName()
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityEventBuilder.java41 import android.net.metrics.ValidationProbeEvent;
195 if (in instanceof ValidationProbeEvent) { in setEvent()
196 setValidationProbeEvent(out, (ValidationProbeEvent) in); in setEvent()
254 private static void setValidationProbeEvent(IpConnectivityEvent out, ValidationProbeEvent in) { in setValidationProbeEvent()
255 IpConnectivityLogClass.ValidationProbeEvent validationProbeEvent = in setValidationProbeEvent()
256 new IpConnectivityLogClass.ValidationProbeEvent(); in setValidationProbeEvent()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DIpConnectivityMetricsTest.java45 import android.net.metrics.ValidationProbeEvent;
271 final ValidationProbeEvent validationEv = new ValidationProbeEvent.Builder() in testEndToEndLogging()
273 .setProbeType(ValidationProbeEvent.PROBE_HTTP, true) in testEndToEndLogging()
DIpConnectivityEventBuilderTest.java43 import android.net.metrics.ValidationProbeEvent;
356 aType(ValidationProbeEvent.class), in testValidationProbeEventSerialization()
358 anInt(ValidationProbeEvent.PROBE_HTTP), in testValidationProbeEventSerialization()
/frameworks/base/proto/src/
Dipconnectivity.proto165 // This message is associated to android.net.metrics.ValidationProbeEvent.
167 message ValidationProbeEvent { message
176 // android.net.metrics.ValidationProbeEvent.
601 ValidationProbeEvent validation_probe_event = 8;
/frameworks/base/api/
Dtest-current.txt2452 public final class ValidationProbeEvent implements android.net.metrics.IpConnectivityLog.Event {
2464 public static final class ValidationProbeEvent.Builder {
2465 ctor public ValidationProbeEvent.Builder();
2466 method @NonNull public android.net.metrics.ValidationProbeEvent build();
2467 method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setDurationMs(long);
2468 …method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setProbeType(int, boolean);
2469 method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setReturnCode(int);
Dtest-lint-baseline.txt322 EqualsAndHashCode: android.net.metrics.ValidationProbeEvent#equals(Object):
2390 ParcelCreator: android.net.metrics.ValidationProbeEvent:
Dsystem-current.txt6727 public final class ValidationProbeEvent implements android.net.metrics.IpConnectivityLog.Event {
6739 public static final class ValidationProbeEvent.Builder {
6740 ctor public ValidationProbeEvent.Builder();
6741 method @NonNull public android.net.metrics.ValidationProbeEvent build();
6742 method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setDurationMs(long);
6743 …method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setProbeType(int, boolean);
6744 method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setReturnCode(int);
/frameworks/base/non-updatable-api/
Dsystem-current.txt6581 public final class ValidationProbeEvent implements android.net.metrics.IpConnectivityLog.Event {
6593 public static final class ValidationProbeEvent.Builder {
6594 ctor public ValidationProbeEvent.Builder();
6595 method @NonNull public android.net.metrics.ValidationProbeEvent build();
6596 method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setDurationMs(long);
6597 …method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setProbeType(int, boolean);
6598 method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setReturnCode(int);
/frameworks/base/config/
Dpreloaded-classes4384 android.net.metrics.ValidationProbeEvent$1
4385 android.net.metrics.ValidationProbeEvent$Decoder
4386 android.net.metrics.ValidationProbeEvent
9943 com.android.server.connectivity.metrics.nano.IpConnectivityLogClass$ValidationProbeEvent
Dboot-image-profile.txt14731 HPLandroid/net/metrics/ValidationProbeEvent$1;->createFromParcel(Landroid/os/Parcel;)Landroid/net/m…
14732 HPLandroid/net/metrics/ValidationProbeEvent$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Obj…
14733 HPLandroid/net/metrics/ValidationProbeEvent;-><init>(Landroid/os/Parcel;)V
14734 HPLandroid/net/metrics/ValidationProbeEvent;-><init>(Landroid/os/Parcel;Landroid/net/metrics/Valida…
14735 HSPLandroid/net/metrics/ValidationProbeEvent;->getProbeName(I)Ljava/lang/String;
31742 …m/android/server/connectivity/metrics/nano/IpConnectivityLogClass$ValidationProbeEvent;)Lcom/andro…
31755 HPLcom/android/server/connectivity/metrics/nano/IpConnectivityLogClass$ValidationProbeEvent;-><init…
31756 HPLcom/android/server/connectivity/metrics/nano/IpConnectivityLogClass$ValidationProbeEvent;->compu…
31757 HPLcom/android/server/connectivity/metrics/nano/IpConnectivityLogClass$ValidationProbeEvent;->write…
44581 Landroid/net/metrics/ValidationProbeEvent$1;
[all …]
/frameworks/base/services/
Dart-profile12526 …etrics/nano/IpConnectivityLogClass$IpConnectivityEvent;Landroid/net/metrics/ValidationProbeEvent;)V