| /packages/modules/NetworkStack/src/com/android/networkstack/metrics/ |
| D | ApfSessionInfoMetrics.java | 19 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_802_3_FRAME; 20 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_NON_IPV4; 21 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_OTHER_HOST; 22 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_REPLY_SPA_NO_HOST; 23 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_REQUEST_REPLIED; 24 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_UNKNOWN; 25 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_V6_ONLY; 26 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_ETHERTYPE_NOT_ALLOWED; 27 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_ETHER_OUR_SRC_MAC; 28 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_ETH_BROADCAST; [all …]
|
| /packages/modules/NetworkStack/src/android/net/apf/ |
| D | ApfV4GeneratorBase.java | 22 import static android.net.apf.ApfCounterTracker.Counter.PASSED_IPV6_ICMP; 294 public abstract Type addCountAndDropIfR0Equals(long val, ApfCounterTracker.Counter cnt) in addCountAndDropIfR0Equals() 302 public abstract Type addCountAndPassIfR0Equals(long val, ApfCounterTracker.Counter cnt) in addCountAndPassIfR0Equals() 318 public abstract Type addCountAndDropIfR0NotEquals(long val, ApfCounterTracker.Counter cnt) in addCountAndDropIfR0NotEquals() 326 public abstract Type addCountAndPassIfR0NotEquals(long val, ApfCounterTracker.Counter cnt) in addCountAndPassIfR0NotEquals() 342 public abstract Type addCountAndDropIfR0GreaterThan(long val, ApfCounterTracker.Counter cnt) in addCountAndDropIfR0GreaterThan() 350 public abstract Type addCountAndPassIfR0GreaterThan(long val, ApfCounterTracker.Counter cnt) in addCountAndPassIfR0GreaterThan() 366 public abstract Type addCountAndDropIfR0LessThan(long val, ApfCounterTracker.Counter cnt) in addCountAndDropIfR0LessThan() 374 public abstract Type addCountAndPassIfR0LessThan(long val, ApfCounterTracker.Counter cnt) in addCountAndPassIfR0LessThan() 390 public abstract Type addCountAndDropIfR0AnyBitsSet(long val, ApfCounterTracker.Counter cnt) in addCountAndDropIfR0AnyBitsSet() [all …]
|
| D | ApfV4Generator.java | 89 public ApfV4Generator addCountAndPass(ApfCounterTracker.Counter counter) { in addCountAndPass() 103 public ApfV4Generator addCountAndDrop(ApfCounterTracker.Counter counter) { in addCountAndDrop() 109 public ApfV4Generator addCountAndDropIfR0Equals(long val, ApfCounterTracker.Counter cnt) { in addCountAndDropIfR0Equals() 115 public ApfV4Generator addCountAndPassIfR0Equals(long val, ApfCounterTracker.Counter cnt) { in addCountAndPassIfR0Equals() 121 public ApfV4Generator addCountAndDropIfR0NotEquals(long val, ApfCounterTracker.Counter cnt) { in addCountAndDropIfR0NotEquals() 127 public ApfV4Generator addCountAndPassIfR0NotEquals(long val, ApfCounterTracker.Counter cnt) { in addCountAndPassIfR0NotEquals() 133 public ApfV4Generator addCountAndDropIfR0AnyBitsSet(long val, ApfCounterTracker.Counter cnt) { in addCountAndDropIfR0AnyBitsSet() 139 public ApfV4Generator addCountAndPassIfR0AnyBitsSet(long val, ApfCounterTracker.Counter cnt) { in addCountAndPassIfR0AnyBitsSet() 145 public ApfV4Generator addCountAndDropIfR0LessThan(long val, ApfCounterTracker.Counter cnt) { in addCountAndDropIfR0LessThan() 154 public ApfV4Generator addCountAndPassIfR0LessThan(long val, ApfCounterTracker.Counter cnt) { in addCountAndPassIfR0LessThan() [all …]
|
| D | ApfV61GeneratorBase.java | 47 public final Type addCountAndDropIfR0Equals(long val, ApfCounterTracker.Counter cnt) { in addCountAndDropIfR0Equals() 52 public final Type addCountAndPassIfR0Equals(long val, ApfCounterTracker.Counter cnt) { in addCountAndPassIfR0Equals() 57 public final Type addCountAndDropIfR0NotEquals(long val, ApfCounterTracker.Counter cnt) { in addCountAndDropIfR0NotEquals() 62 public final Type addCountAndPassIfR0NotEquals(long val, ApfCounterTracker.Counter cnt) { in addCountAndPassIfR0NotEquals() 67 public Type addCountAndDropIfR0AnyBitsSet(long val, ApfCounterTracker.Counter cnt) { in addCountAndDropIfR0AnyBitsSet() 72 public Type addCountAndPassIfR0AnyBitsSet(long val, ApfCounterTracker.Counter cnt) { in addCountAndPassIfR0AnyBitsSet() 77 public final Type addCountAndDropIfR0LessThan(long val, ApfCounterTracker.Counter cnt) { in addCountAndDropIfR0LessThan() 85 public final Type addCountAndPassIfR0LessThan(long val, ApfCounterTracker.Counter cnt) { in addCountAndPassIfR0LessThan() 93 public Type addCountAndDropIfR0GreaterThan(long val, ApfCounterTracker.Counter cnt) { in addCountAndDropIfR0GreaterThan() 101 public Type addCountAndPassIfR0GreaterThan(long val, ApfCounterTracker.Counter cnt) { in addCountAndPassIfR0GreaterThan() [all …]
|
| D | ApfV6Generator.java | 60 public ApfV6Generator addCountAndDropIfR0Equals(long val, ApfCounterTracker.Counter cnt) in addCountAndDropIfR0Equals() 67 public ApfV6Generator addCountAndPassIfR0Equals(long val, ApfCounterTracker.Counter cnt) in addCountAndPassIfR0Equals() 74 public ApfV6Generator addCountAndDropIfR0NotEquals(long val, ApfCounterTracker.Counter cnt) in addCountAndDropIfR0NotEquals() 81 public ApfV6Generator addCountAndPassIfR0NotEquals(long val, ApfCounterTracker.Counter cnt) in addCountAndPassIfR0NotEquals() 88 public ApfV6Generator addCountAndDropIfR0AnyBitsSet(long val, ApfCounterTracker.Counter cnt) in addCountAndDropIfR0AnyBitsSet() 100 public ApfV6Generator addCountAndPassIfR0AnyBitsSet(long val, ApfCounterTracker.Counter cnt) in addCountAndPassIfR0AnyBitsSet() 112 public ApfV6Generator addCountAndDropIfR0LessThan(long val, ApfCounterTracker.Counter cnt) in addCountAndDropIfR0LessThan() 122 public ApfV6Generator addCountAndPassIfR0LessThan(long val, ApfCounterTracker.Counter cnt) in addCountAndPassIfR0LessThan() 132 public ApfV6Generator addCountAndDropIfR0GreaterThan(long val, ApfCounterTracker.Counter cnt) in addCountAndDropIfR0GreaterThan() 142 public ApfV6Generator addCountAndPassIfR0GreaterThan(long val, ApfCounterTracker.Counter cnt) in addCountAndPassIfR0GreaterThan() [all …]
|
| D | ApfFilter.java | 128 import static android.net.apf.ApfCounterTracker.Counter.APF_PROGRAM_ID; 129 import static android.net.apf.ApfCounterTracker.Counter.APF_VERSION; 130 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_802_3_FRAME; 131 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_NON_IPV4; 132 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_OTHER_HOST; 133 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_REPLY_SPA_NO_HOST; 134 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_REQUEST_REPLIED; 135 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_UNKNOWN; 136 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_V6_ONLY; 137 import static android.net.apf.ApfCounterTracker.Counter.DROPPED_ETHERTYPE_NOT_ALLOWED; [all …]
|
| D | ApfV6GeneratorBase.java | 67 mRamSize - ApfCounterTracker.Counter.totalSize() - programSize); in updateExceptionBufferSize() 405 @NonNull List<byte[]> bytesList, ApfCounterTracker.Counter cnt) in addCountAndDropIfBytesAtOffsetEqualsAnyOf() 415 @NonNull List<byte[]> bytesList, ApfCounterTracker.Counter cnt) in addCountAndPassIfBytesAtOffsetEqualsAnyOf() 424 @NonNull List<byte[]> bytesList, ApfCounterTracker.Counter cnt) in addCountAndDropIfBytesAtOffsetEqualsNoneOf() 434 @NonNull List<byte[]> bytesList, ApfCounterTracker.Counter cnt) in addCountAndPassIfBytesAtOffsetEqualsNoneOf() 693 public final Type addCountAndPass(ApfCounterTracker.Counter counter) { in addCountAndPass() 705 public final Type addCountAndDrop(ApfCounterTracker.Counter counter) { in addCountAndDrop() 711 public final Type addLoadCounter(Register register, ApfCounterTracker.Counter counter) in addLoadCounter() 717 public final Type addStoreCounter(ApfCounterTracker.Counter counter, Register register) in addStoreCounter()
|
| D | ApfCounterTracker.java | 33 public class ApfCounterTracker { class 178 private static final String TAG = ApfCounterTracker.class.getSimpleName(); 184 public ApfCounterTracker() { in ApfCounterTracker() method in ApfCounterTracker
|
| D | BaseApfGenerator.java | 797 void checkPassCounterRange(ApfCounterTracker.Counter cnt) { in checkPassCounterRange() 802 void checkDropCounterRange(ApfCounterTracker.Counter cnt) { in checkDropCounterRange()
|
| /packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
| D | ApfFilterTest.kt | 27 import android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_NON_IPV4 in <lambda>() 28 import android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_OTHER_HOST in <lambda>() 29 import android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_REPLY_SPA_NO_HOST in <lambda>() 30 import android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_REQUEST_REPLIED in <lambda>() 31 import android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_UNKNOWN in <lambda>() 32 import android.net.apf.ApfCounterTracker.Counter.DROPPED_ARP_V6_ONLY in <lambda>() 33 import android.net.apf.ApfCounterTracker.Counter.DROPPED_ETHERTYPE_NOT_ALLOWED in <lambda>() 34 import android.net.apf.ApfCounterTracker.Counter.DROPPED_ETHER_OUR_SRC_MAC in <lambda>() 35 import android.net.apf.ApfCounterTracker.Counter.DROPPED_GARP_REPLY in <lambda>() 36 import android.net.apf.ApfCounterTracker.Counter.DROPPED_IGMP_INVALID in <lambda>() [all …]
|
| D | ApfTestHelpers.kt | 18 import android.net.apf.ApfCounterTracker.Counter 19 import android.net.apf.ApfCounterTracker.Counter.APF_PROGRAM_ID 20 import android.net.apf.ApfCounterTracker.Counter.APF_VERSION 21 import android.net.apf.ApfCounterTracker.Counter.TOTAL_PACKETS 80 val value = ApfCounterTracker.getCounterValue(counterBytes, c) in decodeCountersIntoMap()
|
| D | ApfGeneratorTest.kt | 18 import android.net.apf.ApfCounterTracker.Counter 19 import android.net.apf.ApfCounterTracker.Counter.CORRUPT_DNS_PACKET 20 import android.net.apf.ApfCounterTracker.Counter.DROPPED_ETHERTYPE_NOT_ALLOWED 21 import android.net.apf.ApfCounterTracker.Counter.DROPPED_ETH_BROADCAST 22 import android.net.apf.ApfCounterTracker.Counter.DROPPED_RA 23 import android.net.apf.ApfCounterTracker.Counter.PASSED_ALLOCATE_FAILURE 24 import android.net.apf.ApfCounterTracker.Counter.PASSED_ARP_REQUEST 25 import android.net.apf.ApfCounterTracker.Counter.PASSED_MDNS 26 import android.net.apf.ApfCounterTracker.Counter.PASSED_TRANSMIT_FAILURE 27 import android.net.apf.ApfCounterTracker.Counter.TOTAL_PACKETS [all …]
|
| D | ApfTest.java | 19 import static android.net.apf.ApfCounterTracker.Counter.getCounterEnumFromOffset; 69 import android.net.apf.ApfCounterTracker.Counter;
|
| /packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
| D | ApfIntegrationTest.kt | 38 import android.net.apf.ApfCounterTracker in <lambda>() 39 import android.net.apf.ApfCounterTracker.Counter.DROPPED_IPV6_NS_INVALID in <lambda>() 40 import android.net.apf.ApfCounterTracker.Counter.DROPPED_IPV6_NS_REPLIED_NON_DAD in <lambda>() 41 import android.net.apf.ApfCounterTracker.Counter.FILTER_AGE_16384THS in <lambda>() 42 import android.net.apf.ApfCounterTracker.Counter.PASSED_IPV6_ICMP in <lambda>() 541 val counterBefore = ApfCounterTracker.getCounterValue( in <lambda>() 547 val counterAfter = ApfCounterTracker.getCounterValue( in <lambda>() 700 ApfCounterTracker.getCounterValue(apfRam, FILTER_AGE_16384THS) in <lambda>() 708 val filterAge16384thSeconds = ApfCounterTracker.getCounterValue(apfRam, FILTER_AGE_16384THS) in <lambda>() 807 val counterBefore = ApfCounterTracker.getCounterValue( in <lambda>() [all …]
|
| /packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/ |
| D | ApfSessionInfoMetricsTest.java | 21 import android.net.apf.ApfCounterTracker.Counter;
|
| /packages/modules/NetworkStack/ |
| D | Android.bp | 377 "src/android/net/apf/ApfCounterTracker.java",
|