Searched refs:ioStats (Results 1 – 9 of 9) sorted by relevance
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarStorageMonitoringTest.java | 154 final UidIoRecord[] ioStats; field in CarStorageMonitoringTest.TestData 163 @Nullable UidIoRecord[] ioStats) { in TestData() argument 164 this(uptime, wearInformation, wearHistory, ioStats, null, null); in TestData() 170 @Nullable UidIoRecord[] ioStats, in TestData() argument 174 if (ioStats == null) ioStats = new UidIoRecord[0]; in TestData() 184 this.ioStats = ioStats; in TestData() 364 Arrays.stream(wearData.ioStats).forEach( in configureFakeSystemInterface() 464 final UidIoRecord[] bootIoRecords = PER_TEST_DATA.get(getName()).ioStats; in testBootIoStats()
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | UidStatsCollectorTest.cpp | 61 uidStats.ioStats.toString().c_str(), uidStats.procStats.toString().c_str()); in toString() 79 Field("ioStats", &UidStats::ioStats, Eq(expected.ioStats)), 133 .ioStats = UidIoStats{/*fgRdBytes=*/3'000, /*bgRdBytes=*/0, /*fgWrBytes=*/500, in sampleUidStats() 142 .ioStats = UidIoStats{/*fgRdBytes=*/30, /*bgRdBytes=*/100, /*fgWrBytes=*/50, in sampleUidStats() 332 expected[0].ioStats = {}; in TEST_F()
|
D | PerformanceProfilerTest.cpp | 409 .ioStats = {/*fgRdBytes=*/0, in sampleUidStats() 435 .ioStats = {/*fgRdBytes=*/0, in sampleUidStats() 471 .ioStats = {/*fgRdBytes=*/int64Multiplier(1'000), in sampleUidStats() 497 .ioStats = {/*fgRdBytes=*/0, in sampleUidStats() 1470 .ioStats = {/*fgRdBytes=*/0, in TEST_F()
|
D | IoOveruseMonitorTest.cpp | 268 .ioStats = {/*fgRdBytes=*/989'000, in constructUidStats()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarStorageMonitoringService.java | 280 IoStats ioStats; in collectNewIoMetrics() local 284 ioStats = new IoStats( in collectNewIoMetrics() 287 mIoStatsSamples.add(ioStats); in collectNewIoMetrics() 291 dispatchNewIoEvent(ioStats); in collectNewIoMetrics()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | UidStatsCollector.h | 48 UidIoStats ioStats = {}; member
|
D | PerformanceProfiler.cpp | 292 const UidIoStats& ioStats = uidStats.ioStats; in UserPackageStats() local 296 IoStatsView{.bytes = {ioStats.metrics[metricType][UidState::FOREGROUND], in UserPackageStats() 297 ioStats.metrics[metricType][UidState::BACKGROUND]}, in UserPackageStats() 298 .fsync = {ioStats.metrics[MetricType::FSYNC_COUNT][UidState::FOREGROUND], in UserPackageStats() 299 ioStats.metrics[MetricType::FSYNC_COUNT][UidState::BACKGROUND]}}; in UserPackageStats() 1194 addUidIoStats(curUidStats.ioStats.metrics, userPackageSummaryStats->totalIoStats); in processUidStatsLocked()
|
D | UidStatsCollector.cpp | 105 curUidStats.ioStats = it->second; in process()
|
D | IoOveruseMonitor.cpp | 289 if (curUidStats.ioStats.sumWriteBytes() == 0 || !curUidStats.hasPackageInfo()) { in onPeriodicCollection() 298 UserPackageIoUsage curUsage(curUidStats.packageInfo, curUidStats.ioStats, in onPeriodicCollection()
|