Home
last modified time | relevance | path

Searched refs:ApfProgramEvent (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tests/net/common/java/android/net/metrics/
DApfProgramEventTest.kt35 val apfProgramEvent = ApfProgramEvent.Builder() in hasFlag()
49 assertEquals(ApfProgramEvent.flagsFor(true, true), apfProgramEvent.flags) in hasFlag()
56 var flags = ApfProgramEvent.flagsFor(false, false) in testFlagsFor()
57 assertFalse(flags hasFlag ApfProgramEvent.FLAG_HAS_IPV4_ADDRESS) in testFlagsFor()
58 assertFalse(flags hasFlag ApfProgramEvent.FLAG_MULTICAST_FILTER_ON) in testFlagsFor()
60 flags = ApfProgramEvent.flagsFor(true, false) in testFlagsFor()
61 assertTrue(flags hasFlag ApfProgramEvent.FLAG_HAS_IPV4_ADDRESS) in testFlagsFor()
62 assertFalse(flags hasFlag ApfProgramEvent.FLAG_MULTICAST_FILTER_ON) in testFlagsFor()
64 flags = ApfProgramEvent.flagsFor(false, true) in testFlagsFor()
65 assertFalse(flags hasFlag ApfProgramEvent.FLAG_HAS_IPV4_ADDRESS) in testFlagsFor()
[all …]
/frameworks/base/core/java/android/net/metrics/
DApfProgramEvent.java45 public final class ApfProgramEvent implements IpConnectivityLog.Event { class
78 private ApfProgramEvent(long lifetime, long actualLifetime, int filteredRas, int currentRas, in ApfProgramEvent() method in ApfProgramEvent
88 private ApfProgramEvent(Parcel in) { in ApfProgramEvent() method in ApfProgramEvent
166 public ApfProgramEvent build() { in build()
167 return new ApfProgramEvent(mLifetime, mActualLifetime, mFilteredRas, mCurrentRas, in build()
199 if (obj == null || !(obj.getClass().equals(ApfProgramEvent.class))) return false; in equals()
200 final ApfProgramEvent other = (ApfProgramEvent) obj; in equals()
210 public static final @android.annotation.NonNull Parcelable.Creator<ApfProgramEvent> CREATOR
211 = new Parcelable.Creator<ApfProgramEvent>() {
212 public ApfProgramEvent createFromParcel(Parcel in) {
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityEventBuilder.java30 import android.net.metrics.ApfProgramEvent;
200 if (in instanceof ApfProgramEvent) { in setEvent()
201 setApfProgramEvent(out, (ApfProgramEvent) in); in setEvent()
263 private static void setApfProgramEvent(IpConnectivityEvent out, ApfProgramEvent in) { in setApfProgramEvent()
264 IpConnectivityLogClass.ApfProgramEvent apfProgramEvent = in setApfProgramEvent()
265 new IpConnectivityLogClass.ApfProgramEvent(); in setApfProgramEvent()
271 if (isBitSet(in.flags, ApfProgramEvent.FLAG_MULTICAST_FILTER_ON)) { in setApfProgramEvent()
274 if (isBitSet(in.flags, ApfProgramEvent.FLAG_HAS_IPV4_ADDRESS)) { in setApfProgramEvent()
DIpConnectivityMetrics.java24 import android.net.metrics.ApfProgramEvent;
351 map.put(ApfProgramEvent.class, new TokenBucket((int)DateUtils.MINUTE_IN_MILLIS, 50)); in makeRateLimitingBuckets()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DIpConnectivityMetricsTest.java38 import android.net.metrics.ApfProgramEvent;
108 final ApfProgramEvent ev = new ApfProgramEvent.Builder().build(); in testRateLimiting()
DIpConnectivityEventBuilderTest.java34 import android.net.metrics.ApfProgramEvent;
383 aType(ApfProgramEvent.class), in testApfProgramEventSerialization()
/frameworks/base/proto/src/
Dipconnectivity.proto325 message ApfProgramEvent { message
604 ApfProgramEvent apf_program_event = 9;
/frameworks/base/api/
Dtest-current.txt1726 public final class ApfProgramEvent implements android.net.metrics.IpConnectivityLog.Event {
1729 public static final class ApfProgramEvent.Builder {
1730 ctor public ApfProgramEvent.Builder();
1731 method @NonNull public android.net.metrics.ApfProgramEvent build();
1732 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setActualLifetime(long);
1733 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setCurrentRas(int);
1734 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setFilteredRas(int);
1735 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setFlags(boolean, boolean);
1736 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setLifetime(long);
1737 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setProgramLength(int);
Dsystem-current.txt4917 public final class ApfProgramEvent implements android.net.metrics.IpConnectivityLog.Event {
4920 public static final class ApfProgramEvent.Builder {
4921 ctor public ApfProgramEvent.Builder();
4922 method @NonNull public android.net.metrics.ApfProgramEvent build();
4923 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setActualLifetime(long);
4924 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setCurrentRas(int);
4925 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setFilteredRas(int);
4926 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setFlags(boolean, boolean);
4927 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setLifetime(long);
4928 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setProgramLength(int);
Dtest-lint-baseline.txt310 EqualsAndHashCode: android.net.metrics.ApfProgramEvent#equals(Object):
2445 ParcelCreator: android.net.metrics.ApfProgramEvent:
/frameworks/base/non-updatable-api/
Dsystem-current.txt4823 public final class ApfProgramEvent implements android.net.metrics.IpConnectivityLog.Event {
4826 public static final class ApfProgramEvent.Builder {
4827 ctor public ApfProgramEvent.Builder();
4828 method @NonNull public android.net.metrics.ApfProgramEvent build();
4829 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setActualLifetime(long);
4830 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setCurrentRas(int);
4831 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setFilteredRas(int);
4832 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setFlags(boolean, boolean);
4833 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setLifetime(long);
4834 method @NonNull public android.net.metrics.ApfProgramEvent.Builder setProgramLength(int);
/frameworks/base/config/
Dboot-image-profile.txt10702 HSPLandroid/net/metrics/ApfProgramEvent$1;-><init>()V
10703 PLandroid/net/metrics/ApfProgramEvent$1;->createFromParcel(Landroid/os/Parcel;)Landroid/net/metrics…
10704 PLandroid/net/metrics/ApfProgramEvent$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
10705 HPLandroid/net/metrics/ApfProgramEvent;-><init>(Landroid/os/Parcel;)V
25408 PLcom/android/server/connectivity/metrics/nano/IpConnectivityLogClass$ApfProgramEvent;->computeSeri…
25409 PLcom/android/server/connectivity/metrics/nano/IpConnectivityLogClass$ApfProgramEvent;->writeTo(Lco…
34979 Landroid/net/metrics/ApfProgramEvent;
42193 HSPLandroid/net/metrics/ApfProgramEvent;->flagsFor(ZZ)I
Dhiddenapi-greylist-max-o.txt43958 Landroid/net/metrics/ApfProgramEvent$Decoder;-><init>()V
43959 Landroid/net/metrics/ApfProgramEvent$Decoder;->constants:Landroid/util/SparseArray;
43960 Landroid/net/metrics/ApfProgramEvent;-><init>(Landroid/os/Parcel;)V
43961 Landroid/net/metrics/ApfProgramEvent;->CREATOR:Landroid/os/Parcelable$Creator;
43962 Landroid/net/metrics/ApfProgramEvent;->FLAG_HAS_IPV4_ADDRESS:I
43963 Landroid/net/metrics/ApfProgramEvent;->FLAG_MULTICAST_FILTER_ON:I
43964 Landroid/net/metrics/ApfProgramEvent;->namesOf(I)Ljava/lang/String;
/frameworks/base/services/
Dart-profile5389 …ity/metrics/nano/IpConnectivityLogClass$IpConnectivityEvent;Landroid/net/metrics/ApfProgramEvent;)V