Home
last modified time | relevance | path

Searched refs:historyEntry (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/android/net/netstats/
DNetworkStatsDataMigrationUtilsTest.kt79 for (historyEntry in history.entries) { in assertValues() constant
80 txBytes += historyEntry.txBytes in assertValues()
81 txPackets += historyEntry.txPackets in assertValues()
82 rxBytes += historyEntry.rxBytes in assertValues()
83 rxPackets += historyEntry.rxPackets in assertValues()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkStatsManagerTest.java894 for (final NetworkStatsHistory.Entry historyEntry : entry.getValue().getEntries()) { in testDataMigrationUtils()
896 assertTrue(historyEntry.getBucketStart() <= now); in testDataMigrationUtils()
897 assertTrue(historyEntry.getActiveTime() <= duration); in testDataMigrationUtils()
898 assertTrue(historyEntry.getRxBytes() >= 0); in testDataMigrationUtils()
899 assertTrue(historyEntry.getRxPackets() >= 0); in testDataMigrationUtils()
900 assertTrue(historyEntry.getTxBytes() >= 0); in testDataMigrationUtils()
901 assertTrue(historyEntry.getTxPackets() >= 0); in testDataMigrationUtils()
902 assertTrue(historyEntry.getOperations() >= 0); in testDataMigrationUtils()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStatsCollection.java398 NetworkStatsHistory.Entry historyEntry = null; in getSummary() local
406 historyEntry = value.getValues(start, end, now, historyEntry); in getSummary()
416 entry.rxBytes = historyEntry.rxBytes; in getSummary()
417 entry.rxPackets = historyEntry.rxPackets; in getSummary()
418 entry.txBytes = historyEntry.txBytes; in getSummary()
419 entry.txPackets = historyEntry.txPackets; in getSummary()
420 entry.operations = historyEntry.operations; in getSummary()