Home
last modified time | relevance | path

Searched refs:Counter (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java129 public static enum Counter { enum in ApfFilter
171 return (Counter.class.getEnumConstants().length - 1) * 4; in totalSize()
178 private void maybeSetupCounter(ApfGenerator gen, Counter c) { in maybeSetupCounter()
937 maybeSetupCounter(gen, Counter.DROPPED_RA); in generateFilterLocked()
1022 maybeSetupCounter(gen, Counter.DROPPED_IPV4_NATT_KEEPALIVE); in generateFilterLocked()
1140 maybeSetupCounter(gen, Counter.DROPPED_IPV4_KEEPALIVE_ACK); in generateFilterLocked()
1238 maybeSetupCounter(gen, Counter.PASSED_ARP_NON_IPV4); in generateArpFilterLocked()
1244 maybeSetupCounter(gen, Counter.PASSED_ARP_UNKNOWN); in generateArpFilterLocked()
1249 maybeSetupCounter(gen, Counter.DROPPED_ARP_REPLY_SPA_NO_HOST); in generateArpFilterLocked()
1254 maybeSetupCounter(gen, Counter.PASSED_ARP_UNICAST_REPLY); in generateArpFilterLocked()
[all …]
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/
DNetdUtilsTest.java65 final Counter myCounter = new Counter(); in setNetworkAddInterfaceOutcome()
78 class Counter { class in NetdUtilsTest
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DFakeUid.java20 import android.os.BatteryStats.Counter;
336 public Counter getBluetoothScanResultCounter() { in getBluetoothScanResultCounter()
341 public Counter getBluetoothScanResultBgCounter() { in getBluetoothScanResultBgCounter()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DFakeUid.java20 import android.os.BatteryStats.Counter;
336 public Counter getBluetoothScanResultCounter() { in getBluetoothScanResultCounter()
341 public Counter getBluetoothScanResultBgCounter() { in getBluetoothScanResultBgCounter()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java925 byte[] data = new byte[ApfFilter.Counter.totalSize()]; in testApfFilterPcapFile()