Searched refs:LifetimeWriteInfo (Results 1 – 9 of 9) sorted by relevance
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarStorageMonitoringTest.java | 32 import android.car.storagemonitoring.LifetimeWriteInfo; 156 final LifetimeWriteInfo[] previousLifetimeWriteInfo; 158 final LifetimeWriteInfo[] currentLifetimeWriteInfo; 171 @Nullable LifetimeWriteInfo[] previousLifetimeWriteInfo, in TestData() 172 @Nullable LifetimeWriteInfo[] currentLifetimeWriteInfo) { in TestData() 176 previousLifetimeWriteInfo = new LifetimeWriteInfo[0]; in TestData() 179 currentLifetimeWriteInfo = new LifetimeWriteInfo[0]; in TestData() 285 new LifetimeWriteInfo[] { new LifetimeWriteInfo("p1", "ext4", 120), 286 new LifetimeWriteInfo("p2", "ext4", 100), 287 new LifetimeWriteInfo("p3", "f2fs", 100)}, [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/ |
D | CarStorageMonitoringTest.java | 31 import android.car.storagemonitoring.LifetimeWriteInfo; 714 LifetimeWriteInfo expected_ext4_part1 = in testLifetimeWriteInfo() 715 new LifetimeWriteInfo("part1", "ext4", 123*1024); in testLifetimeWriteInfo() 716 LifetimeWriteInfo expected_f2fs_part1 = in testLifetimeWriteInfo() 717 new LifetimeWriteInfo("part1", "f2fs", 250*1024); in testLifetimeWriteInfo() 718 LifetimeWriteInfo expected_ext4_part2 = in testLifetimeWriteInfo() 719 new LifetimeWriteInfo("part2", "ext4", 2147483660L*1024); in testLifetimeWriteInfo() 724 LifetimeWriteInfo[] writeInfos = sysfsLifetimeWriteInfoProvider.load(); in testLifetimeWriteInfo() 742 LifetimeWriteInfo writeInfo = new LifetimeWriteInfo("part1", "ext4", 123); in testLifetimeWriteInfoEquality() 743 LifetimeWriteInfo writeInfoEq = new LifetimeWriteInfo("part1", "ext4", 123); in testLifetimeWriteInfoEquality() [all …]
|
/packages/services/Car/car-lib/src/android/car/storagemonitoring/ |
D | LifetimeWriteInfo.java | 35 public final class LifetimeWriteInfo implements Parcelable { class 52 public LifetimeWriteInfo(String partition, String fstype, long writtenBytes) { in LifetimeWriteInfo() method in LifetimeWriteInfo 61 public LifetimeWriteInfo(Parcel in) { in LifetimeWriteInfo() method in LifetimeWriteInfo 70 public LifetimeWriteInfo(JSONObject in) throws JSONException { in LifetimeWriteInfo() method in LifetimeWriteInfo 103 if (other instanceof LifetimeWriteInfo) { in equals() 104 LifetimeWriteInfo lifetime = (LifetimeWriteInfo) other; in equals()
|
D | LifetimeWriteInfo.aidl | 19 parcelable LifetimeWriteInfo;
|
/packages/services/Car/service/src/com/android/car/storagemonitoring/ |
D | SysfsLifetimeWriteInfoProvider.java | 20 import android.car.storagemonitoring.LifetimeWriteInfo; 62 private LifetimeWriteInfo tryParse(File dir) { in tryParse() 87 return new LifetimeWriteInfo( in tryParse() 100 public LifetimeWriteInfo[] load() { in load() 101 List<LifetimeWriteInfo> writeInfos = new ArrayList<>(); in load() 117 return writeInfos.toArray(new LifetimeWriteInfo[0]); in load()
|
D | LifetimeWriteInfoProvider.java | 19 import android.car.storagemonitoring.LifetimeWriteInfo; 23 LifetimeWriteInfo[] load(); in load()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarStorageMonitoringService.java | 26 import android.car.storagemonitoring.LifetimeWriteInfo; 404 List<LifetimeWriteInfo> shutdownWrites = loadLifetimeWrites(); in computeShutdownCostLocked() 410 List<LifetimeWriteInfo> currentWrites = in computeShutdownCostLocked() 426 LifetimeWriteInfo li = currentWrites.get(i); in computeShutdownCostLocked() 453 private List<LifetimeWriteInfo> loadLifetimeWrites() { in loadLifetimeWrites() 464 List<LifetimeWriteInfo> result = new ArrayList<>(); in loadLifetimeWrites() 466 result.add(new LifetimeWriteInfo(jsonArray.getJSONObject(i))); in loadLifetimeWrites() 477 LifetimeWriteInfo[] lifetimeWriteInfos = in logLifetimeWrites() 482 for (LifetimeWriteInfo writeInfo : lifetimeWriteInfos) { in logLifetimeWrites()
|
/packages/services/Car/car-lib/api/ |
D | system-lint-baseline.txt | 58 EqualsAndHashCode: android.car.storagemonitoring.LifetimeWriteInfo#equals(Object): 59 …t override both equals and hashCode; missing one in android.car.storagemonitoring.LifetimeWriteInfo 513 MissingNullability: android.car.storagemonitoring.LifetimeWriteInfo#CREATOR: 514 …ing nullability on field `CREATOR` in class `class android.car.storagemonitoring.LifetimeWriteInfo` 515 MissingNullability: android.car.storagemonitoring.LifetimeWriteInfo#LifetimeWriteInfo(String, Strin… 516 Missing nullability on parameter `partition` in method `LifetimeWriteInfo` 517 MissingNullability: android.car.storagemonitoring.LifetimeWriteInfo#LifetimeWriteInfo(String, Strin… 518 Missing nullability on parameter `fstype` in method `LifetimeWriteInfo` 519 MissingNullability: android.car.storagemonitoring.LifetimeWriteInfo#LifetimeWriteInfo(android.os.Pa… 520 Missing nullability on parameter `in` in method `LifetimeWriteInfo` [all …]
|
D | system-current.txt | 1207 public final class LifetimeWriteInfo implements android.os.Parcelable { 1208 ctor public LifetimeWriteInfo(String, String, long); 1209 ctor public LifetimeWriteInfo(android.os.Parcel);
|