Home
last modified time | relevance | path

Searched refs:fsyncCalls (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/car-lib/src/android/car/storagemonitoring/
DIoStatsEntry.java198 record.foreground_fsync == foreground.fsyncCalls && in representsSameMetrics()
203 record.background_fsync == background.fsyncCalls; in representsSameMetrics()
249 public final long fsyncCalls; field in IoStatsEntry.Metrics
252 long bytesWrittenToStorage, long fsyncCalls) { in Metrics() argument
257 this.fsyncCalls = fsyncCalls; in Metrics()
271 dest.writeLong(fsyncCalls); in writeToParcel()
283 jsonWriter.name("fsyncCalls").value(fsyncCalls); in writeToJson()
292 fsyncCalls = in.readLong(); in Metrics()
303 fsyncCalls = in.getLong("fsyncCalls"); in Metrics()
320 fsyncCalls-other.fsyncCalls); in delta()
[all …]
DIoStats.java131 long fsyncCalls = 0; in getForegroundTotals() local
138 fsyncCalls += stats.foreground.fsyncCalls; in getForegroundTotals()
145 fsyncCalls); in getForegroundTotals()
153 long fsyncCalls = 0; in getBackgroundTotals() local
160 fsyncCalls += stats.background.fsyncCalls; in getBackgroundTotals()
167 fsyncCalls); in getBackgroundTotals()
178 foreground.fsyncCalls + background.fsyncCalls); in getTotals()
DUidIoRecord.java79 foreground_fsync - other.foreground.fsyncCalls, in delta()
84 background_fsync - other.background.fsyncCalls); in delta()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/storagelifetime/
DStorageLifetimeFragment.java78 final long fsyncCalls = uidIoStats.foreground.fsyncCalls +
79 uidIoStats.background.fsyncCalls;
80 if (bytesWrittenToStorage > 0 || fsyncCalls > 0) {
86 fsyncCalls));
96 .mapToLong(stats -> stats.foreground.fsyncCalls +
97 stats.background.fsyncCalls)
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DCarStorageMonitoringTest.java350 assertEquals(250, entry.foreground.fsyncCalls); in testUidIoStatEntry()
355 assertEquals(0, entry.background.fsyncCalls); in testUidIoStatEntry()
365 assertEquals(1, entry.foreground.fsyncCalls); in testUidIoStatEntry()
370 assertEquals(1, entry.background.fsyncCalls); in testUidIoStatEntry()
476 assertEquals(100, delta21.foreground.fsyncCalls); in testUidIoStatEntryDelta()
482 assertEquals(10, delta21.background.fsyncCalls); in testUidIoStatEntryDelta()
588 assertEquals(1, foregroundTotals.fsyncCalls); in testUidIoStatsTotals()
595 assertEquals(3, backgroundTotals.fsyncCalls); in testUidIoStatsTotals()
601 assertEquals(4, overallTotals.fsyncCalls); in testUidIoStatsTotals()
DIoStatsTrackerTest.java242 assertEquals(1, sample0.foreground.fsyncCalls); in testUpdateGoAwayComeBackIo()
/packages/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java297 (total.fsyncCalls > mConfiguration.acceptableFsyncCallsPerSample); in needsExcessiveIoBroadcast()
/packages/services/Car/car-lib/api/
Dsystem-current.txt929 field public final long fsyncCalls;