Home
last modified time | relevance | path

Searched refs:ValidationProbeEvent (Results 1 – 12 of 12) 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.txt1859 public final class ValidationProbeEvent implements android.net.metrics.IpConnectivityLog.Event {
1871 public static final class ValidationProbeEvent.Builder {
1872 ctor public ValidationProbeEvent.Builder();
1873 method @NonNull public android.net.metrics.ValidationProbeEvent build();
1874 method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setDurationMs(long);
1875 …method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setProbeType(int, boolean);
1876 method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setReturnCode(int);
Dtest-lint-baseline.txt324 EqualsAndHashCode: android.net.metrics.ValidationProbeEvent#equals(Object):
2463 ParcelCreator: android.net.metrics.ValidationProbeEvent:
Dsystem-current.txt5050 public final class ValidationProbeEvent implements android.net.metrics.IpConnectivityLog.Event {
5062 public static final class ValidationProbeEvent.Builder {
5063 ctor public ValidationProbeEvent.Builder();
5064 method @NonNull public android.net.metrics.ValidationProbeEvent build();
5065 method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setDurationMs(long);
5066 …method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setProbeType(int, boolean);
5067 method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setReturnCode(int);
/frameworks/base/non-updatable-api/
Dsystem-current.txt4956 public final class ValidationProbeEvent implements android.net.metrics.IpConnectivityLog.Event {
4968 public static final class ValidationProbeEvent.Builder {
4969 ctor public ValidationProbeEvent.Builder();
4970 method @NonNull public android.net.metrics.ValidationProbeEvent build();
4971 method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setDurationMs(long);
4972 …method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setProbeType(int, boolean);
4973 method @NonNull public android.net.metrics.ValidationProbeEvent.Builder setReturnCode(int);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44130 Landroid/net/metrics/ValidationProbeEvent$Decoder;-><init>()V
44131 Landroid/net/metrics/ValidationProbeEvent$Decoder;->constants:Landroid/util/SparseArray;
44132 Landroid/net/metrics/ValidationProbeEvent;-><init>()V
44133 Landroid/net/metrics/ValidationProbeEvent;-><init>(Landroid/os/Parcel;)V
44134 Landroid/net/metrics/ValidationProbeEvent;->CREATOR:Landroid/os/Parcelable$Creator;
44135 Landroid/net/metrics/ValidationProbeEvent;->DNS_FAILURE:I
44136 Landroid/net/metrics/ValidationProbeEvent;->DNS_SUCCESS:I
44137 Landroid/net/metrics/ValidationProbeEvent;->durationMs:J
44138 Landroid/net/metrics/ValidationProbeEvent;->FIRST_VALIDATION:I
44139 Landroid/net/metrics/ValidationProbeEvent;->getProbeName(I)Ljava/lang/String;
[all …]
Dboot-image-profile.txt10744 HSPLandroid/net/metrics/ValidationProbeEvent$1;-><init>()V
10745 HSPLandroid/net/metrics/ValidationProbeEvent$1;->createFromParcel(Landroid/os/Parcel;)Landroid/net/…
10746 HSPLandroid/net/metrics/ValidationProbeEvent$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Ob…
25442 HPLcom/android/server/connectivity/metrics/nano/IpConnectivityLogClass$ValidationProbeEvent;->compu…
25443 HPLcom/android/server/connectivity/metrics/nano/IpConnectivityLogClass$ValidationProbeEvent;->write…