Home
last modified time | relevance | path

Searched refs:getTotal (Results 1 – 18 of 18) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DIoStatsTrackerTest.java52 assertEquals(0, ioStatsTracker.getTotal().size()); in testNewUsersAppear()
68 assertEquals(2, ioStatsTracker.getTotal().size()); in testNewUsersAppear()
73 assertTrue(ioStatsTracker.getTotal().get(0).representsSameMetrics(process0)); in testNewUsersAppear()
74 assertTrue(ioStatsTracker.getTotal().get(1).representsSameMetrics(process1)); in testNewUsersAppear()
95 assertEquals(1, ioStatsTracker.getTotal().size()); in testUserMetricsChange()
98 IoStatsEntry total0 = ioStatsTracker.getTotal().get(0); in testUserMetricsChange()
127 assertEquals(1, ioStatsTracker.getTotal().size()); in testUpdateNoIoProcessActive()
130 IoStatsEntry total0 = ioStatsTracker.getTotal().get(0); in testUpdateNoIoProcessActive()
156 assertEquals(1, ioStatsTracker.getTotal().size()); in testUpdateNoIoProcessInactive()
158 IoStatsEntry total0 = ioStatsTracker.getTotal().get(0); in testUpdateNoIoProcessInactive()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DChartDataUsagePreferenceTest.java84 mNetworkCycleChartData.getTotal().getStartTime(), in calcPoints_dataAvailableFromCycleStart_shouldAddDataPointsOnly()
85 mNetworkCycleChartData.getTotal().getEndTime()); in calcPoints_dataAvailableFromCycleStart_shouldAddDataPointsOnly()
104 mNetworkCycleChartData.getTotal().getStartTime(), in calcPoints_dataNotAvailableAtCycleStart_shouldIndicateStartOfData()
105 mNetworkCycleChartData.getTotal().getEndTime()); in calcPoints_dataNotAvailableAtCycleStart_shouldIndicateStartOfData()
176 mNetworkCycleChartData.getTotal().getStartTime(), in calcPoints_shouldNotDrawPointForFutureDate()
177 mNetworkCycleChartData.getTotal().getEndTime()); in calcPoints_shouldNotDrawPointForFutureDate()
206 mNetworkCycleChartData.getTotal().getStartTime(), in notifyChange_nonEmptyDataUsage_shouldHaveSingleContentDescription()
207 mNetworkCycleChartData.getTotal().getEndTime()); in notifyChange_nonEmptyDataUsage_shouldHaveSingleContentDescription()
/packages/modules/RemoteKeyProvisioning/app/tests/hosttest/src/com/android/rkpdapp/hosttest/
DRkpdPoolStatsAtomTests.java45 final int totalKeyCount = atoms.get(0).getTotal(); in testKeyConsumed()
53 assertThat(atoms.get(1).getTotal()).isEqualTo(totalKeyCount); in testKeyConsumed()
65 final int totalKeyCount = atoms.get(0).getTotal(); in testExpiryTracking()
73 assertThat(atoms.get(1).getTotal()).isEqualTo(totalKeyCount - 1); in testExpiryTracking()
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
DSourceLatency.java78 public synchronized long getTotal() { in getTotal() method in SourceLatency.ElapsedTime
119 + " (average), " + formatTime(time.getTotal()) + " (total)"); in checkSourceConcurrent()
130 + " (average), " + formatTime(time.getTotal()) + " (total)"); in checkSource()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStats.java986 final Entry entry = getTotal(null); in getTotalBytes()
995 public Entry getTotal(Entry recycle) { in getTotal() method
996 return getTotal(recycle, null, UID_ALL, false); in getTotal()
1005 public Entry getTotal(Entry recycle, int limitUid) { in getTotal() method
1006 return getTotal(recycle, null, limitUid, false); in getTotal()
1014 public Entry getTotal(Entry recycle, HashSet<String> limitIface) { in getTotal() method
1015 return getTotal(recycle, limitIface, UID_ALL, false); in getTotal()
1021 return getTotal(recycle, null, UID_ALL, true); in getTotalIncludingTags()
1031 private Entry getTotal( in getTotal() method
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/
DPermissionGroup.java70 public int getTotal() { in getTotal() method in PermissionGroup
DPermissionGroups.java300 && group.getTotal() == 0) { in getPermissionGroups()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DMergeDataHelper.java179 return getTotal(); in readCursor()
211 private double getTotal() { in getTotal() method in MergeDataHelper
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DIoStatsTracker.java139 public SparseArray<IoStatsEntry> getTotal() { in getTotal() method in IoStatsTracker
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsTest.java452 assertValues(stats.getTotal(null), 1408L, 88L, 0L, 2L, 20L); in testGetTotal()
453 assertValues(stats.getTotal(null, 100), 1280L, 80L, 0L, 2L, 20L); in testGetTotal()
454 assertValues(stats.getTotal(null, 101), 128L, 8L, 0L, 0L, 0L); in testGetTotal()
457 assertValues(stats.getTotal(null, ifaces), 0L, 0L, 0L, 0L, 0L); in testGetTotal()
460 assertValues(stats.getTotal(null, ifaces), 1024L, 64L, 0L, 0L, 0L); in testGetTotal()
DNetworkStatsCollectionTest.java682 .getTotal(null); in assertSummaryTotal()
/packages/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java531 + SparseArrayStream.valueStream(mIoStatsTracker.getTotal()) in dump()
636 mIoStatsTracker.getTotal()).collect(Collectors.toList())); in getAggregateIoStats()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DTrafficStatsTest.java236 final NetworkStats.Entry entry = testStats.getTotal(null, Process.myUid()); in testTrafficStatsForLocalhost()
/packages/apps/Settings/src/com/android/settings/datausage/
DChartDataUsagePreference.java92 mNetworkCycleChartData != null ? mNetworkCycleChartData.getTotal().getUsage() : 0; in getTop()
/packages/modules/Connectivity/framework-t/src/android/app/usage/
DNetworkStats.java673 mSummary.getTotal(mRecycledSummaryEntry); in getSummaryAggregate()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsRecorder.java168 NetworkStatsAccess.Level.DEVICE, Binder.getCallingUid()).getTotal(null); in getTotalSinceBootLocked()
DNetworkStatsService.java2218 return providerSnapshot.getTotal(null, limitIfaces);
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt986 Landroid/net/NetworkStats;->getTotal(Landroid/net/NetworkStats$Entry;Ljava/util/HashSet;)Landroid/n…
987 Landroid/net/NetworkStats;->getTotal(Landroid/net/NetworkStats$Entry;Ljava/util/HashSet;IZ)Landroid…