/packages/modules/DnsResolver/ |
D | DnsStatsTest.cpp | 195 EXPECT_THAT(mDnsStats.getStats(PROTO_TCP), UnorderedElementsAreArray(expectedStats)); in TEST_F() 196 EXPECT_THAT(mDnsStats.getStats(PROTO_UDP), UnorderedElementsAreArray(expectedStats)); in TEST_F() 197 EXPECT_THAT(mDnsStats.getStats(PROTO_DOT), UnorderedElementsAreArray(expectedStats)); in TEST_F() 216 EXPECT_THAT(mDnsStats.getStats(PROTO_TCP), IsEmpty()); in TEST_F() 217 EXPECT_THAT(mDnsStats.getStats(PROTO_UDP), IsEmpty()); in TEST_F() 218 EXPECT_THAT(mDnsStats.getStats(PROTO_DOT), IsEmpty()); in TEST_F() 231 EXPECT_THAT(mDnsStats.getStats(PROTO_TCP), UnorderedElementsAreArray(expectedStats)); in TEST_F() 232 EXPECT_THAT(mDnsStats.getStats(PROTO_UDP), UnorderedElementsAreArray(expectedStats)); in TEST_F() 233 EXPECT_THAT(mDnsStats.getStats(PROTO_DOT), UnorderedElementsAreArray(expectedStats)); in TEST_F() 264 EXPECT_THAT(mDnsStats.getStats(PROTO_TCP), UnorderedElementsAreArray(expectedStatsForTcp)); in TEST_F() [all …]
|
D | DnsStats.h | 126 std::vector<StatsData> getStats(Protocol protocol) const;
|
D | DnsStats.cpp | 232 std::vector<StatsData> DnsStats::getStats(Protocol protocol) const { in getStats() function in android::net::DnsStats
|
/packages/services/Car/car-lib/src/android/car/storagemonitoring/ |
D | IoStats.java | 107 public List<IoStatsEntry> getStats() { in getStats() method in IoStats 117 for (IoStatsEntry stats : getStats()) { in getUserIdStats() 133 for (IoStatsEntry stats : getStats()) { in getForegroundTotals() 155 for (IoStatsEntry stats : getStats()) { in getBackgroundTotals() 186 delta.getStats().equals(getStats()); in equals() 194 for (IoStatsEntry stats : getStats()) { in toString()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | HighUsageDetector.java | 74 final BatteryStats batteryStats = mBatteryStatsHelper.getStats(); in detect() 118 BatteryInfo.parse(mBatteryStatsHelper.getStats(), mDataParser); in parseBatteryData()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarStorageMonitoringTest.java | 545 List<IoStatsEntry> delta0Stats = delta0.getStats(); in testIoStatsDeltas() 576 delta0Stats = delta0.getStats(); in testIoStatsDeltas() 588 List<IoStatsEntry> delta1Stats = delta1.getStats(); in testIoStatsDeltas() 629 event1.getStats().forEach(stats -> assertTrue(stats.representsSameMetrics(record))); in testEventDelivery()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryUtils.java | 288 batteryStatsHelper.getStats().computeBatteryRealtime(elapsedRealtimeUs, statsType)); in calculateRunningTimeBasedOnStatsType() 359 return currentTimeMs - batteryStatsHelper.getStats().getStartClockTime(); in calculateLastFullChargeTime() 449 final BatteryStats stats = statsHelper.getStats(); in getBatteryInfo()
|
D | BatteryInfo.java | 172 stats = localStatsHelper.getStats(); in getBatteryInfo() 174 stats = statsHelper.getStats(); in getBatteryInfo()
|
D | DebugEstimatesLoader.java | 56 BatteryStats stats = mStatsHelper.getStats(); in loadInBackground()
|
D | AdvancedPowerUsageDetail.java | 109 helper.getStats(); in startBatteryDetailPage()
|
D | BatteryAppListPreferenceController.java | 180 final BatteryStats stats = statsHelper.getStats(); in refreshAppListGroup()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryUtils.java | 315 batteryStatsHelper.getStats().computeBatteryRealtime(elapsedRealtimeUs, statsType)); in calculateRunningTimeBasedOnStatsType() 386 return currentTimeMs - batteryStatsHelper.getStats().getStartClockTime(); in calculateLastFullChargeTime() 476 final BatteryStats stats = statsHelper.getStats(); in getBatteryInfo()
|
D | BatteryInfo.java | 174 stats = localStatsHelper.getStats(); in getBatteryInfo() 176 stats = statsHelper.getStats(); in getBatteryInfo()
|
D | DebugEstimatesLoader.java | 58 BatteryStats stats = mStatsHelper.getStats(); in loadInBackground()
|
D | AdvancedPowerUsageDetail.java | 109 helper.getStats(); in startBatteryDetailPage()
|
D | BatteryAppListPreferenceController.java | 180 final BatteryStats stats = statsHelper.getStats(); in refreshAppListGroup()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryUtilsTest.java | 189 when(mBatteryStatsHelper.getStats().computeBatteryRealtime(anyLong(), anyInt())).thenReturn( in setUp() 241 when(mBatteryStatsHelper.getStats().getDischargeAmount(anyInt())) in setUp() 448 when(mBatteryStatsHelper.getStats().getStartClockTime()).thenReturn( in testCalculateLastFullChargeTime()
|
D | BatteryInfoLoaderTest.java | 64 doReturn(mStats).when(mHelper).getStats(); in setUp()
|
D | PowerUsageSummaryTest.java | 165 when(mBatteryHelper.getStats().computeBatteryRealtime(anyLong(), anyInt())) in setUp()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/detectors/ |
D | HighUsageDetector.java | 112 BatteryInfo.parse(mBatteryStatsHelper.getStats(), mDataParser); in parseBatteryData()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppBatteryPreferenceController.java | 147 final int dischargeAmount = mBatteryHelper.getStats().getDischargeAmount( in updateBattery()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/ |
D | AppBatteryPreferenceController.java | 147 final int dischargeAmount = mBatteryHelper.getStats().getDischargeAmount( in updateBattery()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | HighUsageDetectorTest.java | 102 when(mBatteryStatsHelper.getStats().getDischargeAmount(anyInt())).thenReturn(100); in setUp()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/storagelifetime/ |
D | StorageLifetimeFragment.java | 75 snapshot.getStats().forEach(uidIoStats -> {
|
/packages/services/Car/service/src/com/android/car/ |
D | CarStorageMonitoringService.java | 498 sample -> sample.getStats().stream() in dump()
|