/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/ |
D | IoStatsTrackerTest.java | 52 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/ |
D | ChartDataUsagePreferenceTest.java | 84 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/ |
D | RkpdPoolStatsAtomTests.java | 45 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/ |
D | SourceLatency.java | 78 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/ |
D | NetworkStats.java | 986 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/ |
D | PermissionGroup.java | 70 public int getTotal() { in getTotal() method in PermissionGroup
|
D | PermissionGroups.java | 300 && group.getTotal() == 0) { in getPermissionGroups()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | MergeDataHelper.java | 179 return getTotal(); in readCursor() 211 private double getTotal() { in getTotal() method in MergeDataHelper
|
/packages/services/Car/service/src/com/android/car/storagemonitoring/ |
D | IoStatsTracker.java | 139 public SparseArray<IoStatsEntry> getTotal() { in getTotal() method in IoStatsTracker
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStatsTest.java | 452 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()
|
D | NetworkStatsCollectionTest.java | 682 .getTotal(null); in assertSummaryTotal()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarStorageMonitoringService.java | 531 + SparseArrayStream.valueStream(mIoStatsTracker.getTotal()) in dump() 636 mIoStatsTracker.getTotal()).collect(Collectors.toList())); in getAggregateIoStats()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | TrafficStatsTest.java | 236 final NetworkStats.Entry entry = testStats.getTotal(null, Process.myUid()); in testTrafficStatsForLocalhost()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | ChartDataUsagePreference.java | 92 mNetworkCycleChartData != null ? mNetworkCycleChartData.getTotal().getUsage() : 0; in getTop()
|
/packages/modules/Connectivity/framework-t/src/android/app/usage/ |
D | NetworkStats.java | 673 mSummary.getTotal(mRecycledSummaryEntry); in getSummaryAggregate()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsRecorder.java | 168 NetworkStatsAccess.Level.DEVICE, Binder.getCallingUid()).getTotal(null); in getTotalSinceBootLocked()
|
D | NetworkStatsService.java | 2218 return providerSnapshot.getTotal(null, limitIfaces);
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 986 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…
|