Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarStorageMonitoringTest.java33 import android.car.storagemonitoring.UidIoRecord;
154 final UidIoRecord[] ioStats;
163 @Nullable UidIoRecord[] ioStats) { in TestData()
170 @Nullable UidIoRecord[] ioStats, in TestData()
174 if (ioStats == null) ioStats = new UidIoRecord[0]; in TestData()
254 new UidIoRecord[]{
255 new UidIoRecord(0, 5000, 6000, 3000, 1000, 1,
257 new UidIoRecord(1000, 200, 5000, 0, 4000, 0,
264 new UidIoRecord[]{
265 new UidIoRecord(0, 5000, 6000, 3000, 1000, 1,
[all …]
/packages/services/Car/car-lib/src/android/car/storagemonitoring/
DUidIoRecord.java26 public final class UidIoRecord { class
42 public UidIoRecord(int uid, in UidIoRecord() method in UidIoRecord
69 public UidIoRecord delta(IoStatsEntry other) { in delta()
74 return new UidIoRecord(uid, in delta()
88 public UidIoRecord delta(UidIoRecord other) { in delta()
93 return new UidIoRecord(uid, in delta()
DIoStatsEntry.java102 public IoStatsEntry(UidIoRecord record, long runtimeMillis) { in IoStatsEntry()
201 public boolean representsSameMetrics(UidIoRecord record) { in representsSameMetrics()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DIoStatsTrackerTest.java20 import android.car.storagemonitoring.UidIoRecord;
62 UidIoRecord process0 = user0.updateSystemState(mockSystemStateInterface); in testNewUsersAppear()
63 UidIoRecord process1 = user1.updateSystemState(mockSystemStateInterface); in testNewUsersAppear()
91 UidIoRecord process0 = user0.updateSystemState(mockSystemStateInterface); in testUserMetricsChange()
152 UidIoRecord record0 = user0.updateSystemState(mockSystemStateInterface); in testUpdateNoIoProcessInactive()
176 UidIoRecord record0 = user0.updateSystemState(mockSystemStateInterface); in testUpdateIoHappens()
274 UidIoRecord updateSystemState(MockSystemStateInterface systemState) { in updateSystemState()
275 UidIoRecord uidIoRecord = new UidIoRecord(mUid, in updateSystemState()
306 private final SparseArray<UidIoRecord> mIoRecords = new SparseArray<>();
358 void addIoRecord(UidIoRecord record) { in addIoRecord()
DCarStorageMonitoringTest.java32 import android.car.storagemonitoring.UidIoRecord;
364 SparseArray<UidIoRecord> entries = statsProvider.load(); in testUidIoStatEntry()
410 SparseArray<UidIoRecord> entries = statsProvider.load(); in testUidIoStatEntryMissingFields()
425 SparseArray<UidIoRecord> entries = statsProvider.load(); in testUidIoStatEntryNonNumericFields()
532 UidIoRecord statRecord = new UidIoRecord(10, in testUidIoStatsRecordDelta()
536 UidIoRecord delta = statRecord.delta(statEntry); in testUidIoStatsRecordDelta()
553 statRecord = new UidIoRecord(30, in testUidIoStatsRecordDelta()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DProcfsUidIoStatsProvider.java20 import android.car.storagemonitoring.UidIoRecord;
55 public SparseArray<UidIoRecord> load() { in load()
57 SparseArray<UidIoRecord> result = new SparseArray<>(); in load()
85 result.append(uid, new UidIoRecord(uid, in load()
DUidIoStatsProvider.java19 import android.car.storagemonitoring.UidIoRecord;
24 SparseArray<UidIoRecord> load(); in load()
DIoStatsTracker.java20 import android.car.storagemonitoring.UidIoRecord;
74 public void update(SparseArray<UidIoRecord> newMetrics) { in update()
88 UidIoRecord newRecord = newMetrics.valueAt(i); in update()
/packages/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java30 import android.car.storagemonitoring.UidIoRecord;
272 private SparseArray<UidIoRecord> loadNewIoStats() { in loadNewIoStats()
273 SparseArray<UidIoRecord> ioRecords = mUidIoStatsProvider.load(); in loadNewIoStats()
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.2.txt557 android.car.storagemonitoring IoStatsEntry boolean representsSameMetrics(UidIoRecord record)
561 android.car.storagemonitoring UidIoRecord UidIoRecord delta(IoStatsEntry other)
562 android.car.storagemonitoring UidIoRecord UidIoRecord delta(UidIoRecord other)
Dcar_hidden_apis_release_33.1.txt549 android.car.storagemonitoring IoStatsEntry boolean representsSameMetrics(UidIoRecord record)
553 android.car.storagemonitoring UidIoRecord UidIoRecord delta(IoStatsEntry other)
554 android.car.storagemonitoring UidIoRecord UidIoRecord delta(UidIoRecord other)
Dcar_hidden_apis.txt663 android.car.storagemonitoring IoStatsEntry boolean representsSameMetrics(UidIoRecord record)
668 android.car.storagemonitoring UidIoRecord UidIoRecord delta(IoStatsEntry other)
669 android.car.storagemonitoring UidIoRecord UidIoRecord delta(UidIoRecord other)
Dcar_hidden_apis_release_33.3.txt619 android.car.storagemonitoring IoStatsEntry boolean representsSameMetrics(UidIoRecord record)
625 android.car.storagemonitoring UidIoRecord UidIoRecord delta(IoStatsEntry other)
626 android.car.storagemonitoring UidIoRecord UidIoRecord delta(UidIoRecord other)
/packages/services/Car/car-lib/api/
Dsystem-lint-baseline.txt576 …ragemonitoring.IoStatsEntry#IoStatsEntry(android.car.storagemonitoring.UidIoRecord, long) paramete…
4120 …d.car.storagemonitoring.IoStatsEntry#IoStatsEntry(android.car.storagemonitoring.UidIoRecord, long):
4121 …structor android.car.storagemonitoring.IoStatsEntry(android.car.storagemonitoring.UidIoRecord,long)
4178 UnflaggedApi: android.car.storagemonitoring.UidIoRecord:
4179 New API must be flagged with @FlaggedApi: class android.car.storagemonitoring.UidIoRecord
4180 UnflaggedApi: android.car.storagemonitoring.UidIoRecord#UidIoRecord(int, long, long, long, long, lo…
4181 …New API must be flagged with @FlaggedApi: constructor android.car.storagemonitoring.UidIoRecord(in…
4182 UnflaggedApi: android.car.storagemonitoring.UidIoRecord#background_fsync:
4183 …New API must be flagged with @FlaggedApi: field android.car.storagemonitoring.UidIoRecord.backgrou…
4184 UnflaggedApi: android.car.storagemonitoring.UidIoRecord#background_rchar:
[all …]
Dsystem-current.txt2340 ctor @Deprecated public IoStatsEntry(android.car.storagemonitoring.UidIoRecord, long);
2374 public final class UidIoRecord {
2375 ctor public UidIoRecord(int, long, long, long, long, long, long, long, long, long, long);
Dtest-current.txt2421 ctor @Deprecated public IoStatsEntry(android.car.storagemonitoring.UidIoRecord, long);
2455 public final class UidIoRecord {
2456 ctor public UidIoRecord(int, long, long, long, long, long, long, long, long, long, long);
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt878 method TIRAMISU_0 @hiddenOnly boolean representsSameMetrics(UidIoRecord record);
936 class @hide @SystemApi UidIoRecord package android.car.storagemonitoring
948 method TIRAMISU_0 @hiddenOnly UidIoRecord delta(IoStatsEntry other);
949 method TIRAMISU_0 @hiddenOnly UidIoRecord delta(UidIoRecord other);
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt2340 ctor @Deprecated public IoStatsEntry(android.car.storagemonitoring.UidIoRecord, long);
2374 public final class UidIoRecord {
2375 ctor public UidIoRecord(int, long, long, long, long, long, long, long, long, long, long);