/packages/modules/Connectivity/Tethering/src/android/net/util/ |
D | TetheringUtils.java | 70 public final long txPackets; field in TetheringUtils.ForwardedStats 76 txPackets = 0; in ForwardedStats() 83 this.txPackets = 0; in ForwardedStats() 86 public ForwardedStats(long rxBytes, long rxPackets, long txBytes, long txPackets) { in ForwardedStats() argument 90 this.txPackets = txPackets; in ForwardedStats() 97 txPackets = tetherStats.txPackets; in ForwardedStats() 104 txPackets = tetherStats.txPackets; in ForwardedStats() 111 txPackets = other.txPackets; in ForwardedStats() 118 txBytes + other.txBytes, txPackets + other.txPackets); in add() 128 final long txPacketsDiff = Math.max(txPackets - other.txPackets, 0); in subtract() [all …]
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | TetherStatsValue.java | 35 public final long txPackets; field in TetherStatsValue 42 final long txPackets, final long txBytes, final long txErrors) { in TetherStatsValue() argument 46 this.txPackets = txPackets; in TetherStatsValue() 63 && txPackets == that.txPackets in equals() 71 ^ Long.hashCode(txPackets) ^ Long.hashCode(txBytes) ^ Long.hashCode(txErrors); in hashCode() 77 + "txBytes: %s, txErrors: %s", rxPackets, rxBytes, rxErrors, txPackets, in toString()
|
D | BpfCoordinator.java | 1789 diff.txBytes, diff.txPackets, 0L /* operations */)); in buildNetworkStats()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsBaseTest.java | 53 long rxPackets, long txBytes, long txPackets) { in assertValues() argument 56 rxBytes, rxPackets, txBytes, txPackets, 0); in assertValues() 61 long txBytes, long txPackets, long operations) { in assertValues() argument 108 assertEquals("unexpected txPackets", txPackets, entry.txPackets); in assertValues()
|
D | NetworkStatsCollectionTest.java | 558 NetworkTemplate template, long rxBytes, long rxPackets, long txBytes, long txPackets, in assertSummaryTotal() argument 563 assertEntry(rxBytes, rxPackets, txBytes, txPackets, actual); in assertSummaryTotal() 567 NetworkTemplate template, long rxBytes, long rxPackets, long txBytes, long txPackets) { in assertSummaryTotalIncludingTags() argument 571 assertEntry(rxBytes, rxPackets, txBytes, txPackets, actual); in assertSummaryTotalIncludingTags() 574 private static void assertEntry(long rxBytes, long rxPackets, long txBytes, long txPackets, in assertEntry() argument 576 assertEntry(new NetworkStats.Entry(rxBytes, rxPackets, txBytes, txPackets, 0L), actual); in assertEntry() 579 private static void assertEntry(long rxBytes, long rxPackets, long txBytes, long txPackets, in assertEntry() argument 581 assertEntry(new NetworkStats.Entry(rxBytes, rxPackets, txBytes, txPackets, 0L), actual); in assertEntry() 587 actual.txBytes, actual.txPackets, 0L)); in assertEntry() 595 assertEquals("unexpected txPackets", expected.txPackets, actual.txPackets); in assertEntry()
|
D | NetworkStatsFactoryTest.java | 554 int tag, long rxBytes, long rxPackets, long txBytes, long txPackets) { in assertStatsEntry() argument 556 rxBytes, rxPackets, txBytes, txPackets); in assertStatsEntry() 561 long txBytes, long txPackets) { in assertStatsEntry() argument 573 assertEquals("unexpected txPackets", txPackets, entry.txPackets); in assertStatsEntry()
|
D | NetworkStatsServiceTest.java | 1608 long txBytes, long txPackets, int operations) throws Exception { 1610 txPackets, operations); 1614 long rxPackets, long txBytes, long txPackets, int operations) throws Exception { 1617 assertValues(history, start, end, rxBytes, rxPackets, txBytes, txPackets, operations); 1622 DEFAULT_NETWORK_ALL, rxBytes, rxPackets, txBytes, txPackets, operations); 1626 long txBytes, long txPackets, int operations) throws Exception { 1628 rxBytes, rxPackets, txBytes, txPackets, operations); 1633 long txPackets, int operations) throws Exception { 1638 txPackets, operations); 1644 rxBytes, rxPackets, txBytes, txPackets, operations); [all …]
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStatsHistoryTest.java | 347 entry.txPackets = nextPositiveLong(r); in testFuzzing() 575 long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { 581 assertEquals("unexpected txPackets", txPackets, entry.txPackets); 586 long rxPackets, long txBytes, long txPackets, long operations) { 588 txPackets, operations); 592 long activeTime, long rxBytes, long rxPackets, long txBytes, long txPackets, 599 assertEquals("unexpected txPackets", txPackets, entry.txPackets);
|
D | NetworkStatsTest.java | 1042 long txBytes, long txPackets, long operations) { in assertContains() argument 1046 rxBytes, rxPackets, txBytes, txPackets, operations); in assertContains() 1051 long txBytes, long txPackets, long operations) { in assertValues() argument 1054 assertValues(entry, rxBytes, rxPackets, txBytes, txPackets, operations); in assertValues() 1070 long txBytes, long txPackets, long operations) { in assertValues() argument 1074 assertEquals(txPackets, entry.txPackets); in assertValues()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ExtendedWifiInfo.java | 71 public void updatePacketRates(long txPackets, long rxPackets, long timeStamp) { in updatePacketRates() argument 72 update(SOURCE_TRAFFIC_COUNTERS, txPackets, 0, 0, rxPackets, timeStamp); in updatePacketRates()
|
/packages/modules/Connectivity/Tethering/apishim/30/com/android/networkstack/tethering/apishim/api30/ |
D | BpfCoordinatorShimImpl.java | 131 0 /* rxErrors */, p.txPackets, p.txBytes, 0 /* txErrors */)); in toTetherStatsValueSparseArray() 144 stats.txPackets, stats.txBytes, 0 /* txErrors */); in tetherOffloadGetAndClearStats()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 345 @NonNull String iface, long rxBytes, long rxPackets, long txBytes, long txPackets) { in buildTestEntry() argument 348 rxPackets, txBytes, txPackets, 0L); in buildTestEntry() 353 long rxBytes, long rxPackets, long txBytes, long txPackets) { in buildTestTetherStatsParcel() argument 359 parcel.txPackets = txPackets; in buildTestTetherStatsParcel() 367 0L /* rxErrors */, stats.txPackets, stats.txBytes, 0L /* txErrors */); in updateStatsEntryToStatsMap()
|
/packages/modules/Connectivity/Tethering/bpf_progs/ |
D | bpf_tethering.h | 86 uint64_t txPackets; member
|
D | offload.c | 264 __sync_fetch_and_add(downstream ? &stat_v->rxPackets : &stat_v->txPackets, packets); 613 __sync_fetch_and_add(downstream ? &stat_v->rxPackets : &stat_v->txPackets, packets); in do_forward4()
|
/packages/modules/Connectivity/tests/unit/java/android/app/usage/ |
D | NetworkStatsManagerTest.java | 228 assertEquals(expected.txPackets, actual.getTxPackets()); in assertBucketMatches()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | TrafficStatsTest.java | 240 assertInRange("txPackets detail", entry.txPackets, packetCount + minExpectedExtraPackets, in testTrafficStatsForLocalhost()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | RadioInfo.java | 1176 long txPackets = TrafficStats.getMobileTxPackets(); in updateDataStats2() local 1184 mSent.setText(txPackets + " " + packets + ", " + txBytes + " " + bytes); in updateDataStats2()
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 1085 Landroid/net/NetworkStatsHistory;->txPackets:[J
|