Home
last modified time | relevance | path

Searched refs:WearEstimateChange (Results 1 – 12 of 12) sorted by relevance

/packages/services/Car/car-lib/src/android/car/storagemonitoring/
DWearEstimateChange.java37 public final class WearEstimateChange implements Parcelable { class
38 public static final Parcelable.Creator<WearEstimateChange> CREATOR =
39 new Parcelable.Creator<WearEstimateChange>() {
40 public WearEstimateChange createFromParcel(Parcel in) {
41 return new WearEstimateChange(in);
44 public WearEstimateChange[] newArray(int size) {
45 return new WearEstimateChange[size];
74 public WearEstimateChange(WearEstimate oldEstimate, in WearEstimateChange() method in WearEstimateChange
89 public WearEstimateChange(Parcel in) { in WearEstimateChange() method in WearEstimateChange
113 if (other instanceof WearEstimateChange) { in equals()
[all …]
DICarStorageMonitoring.aidl23 import android.car.storagemonitoring.WearEstimateChange;
40 List<WearEstimateChange> getWearEstimateHistory() = 3; in getWearEstimateHistory()
DWearEstimateChange.aidl19 parcelable WearEstimateChange;
DCarStorageMonitoringManager.java159 public List<WearEstimateChange> getWearEstimateHistory() { in getWearEstimateHistory()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DCarStorageMonitoringTest.java34 import android.car.storagemonitoring.WearEstimateChange;
174 WearEstimateChange wearEstimateChange1 = new WearEstimateChange( in testWearEstimateChangeEquality()
180 WearEstimateChange wearEstimateChange2 = new WearEstimateChange( in testWearEstimateChangeEquality()
188 WearEstimateChange wearEstimateChange3 = new WearEstimateChange( in testWearEstimateChangeEquality()
199 WearEstimateChange originalWearEstimateChange = new WearEstimateChange( in testWearEstimateChangeParcel()
208 WearEstimateChange newWearEstimateChange = new WearEstimateChange(p); in testWearEstimateChangeParcel()
325 List<WearEstimateChange> wearEstimateChanges = wearHistory.toWearEstimateChanges(1); in testWearHistoryToChanges()
328 WearEstimateChange unknownToOne = wearEstimateChanges.get(0); in testWearHistoryToChanges()
329 WearEstimateChange oneToTwo = wearEstimateChanges.get(1); in testWearHistoryToChanges()
330 WearEstimateChange twoToThree = wearEstimateChanges.get(2); in testWearHistoryToChanges()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DWearEstimateRecord.java21 import android.car.storagemonitoring.WearEstimateChange;
85 WearEstimateChange toWearEstimateChange(boolean isAcceptableDegradation) { in toWearEstimateChange()
86 return new WearEstimateChange(mOldWearEstimate, in toWearEstimateChange()
112 public boolean isSameAs(@NonNull WearEstimateChange wearEstimateChange) { in isSameAs()
DWearHistory.java19 import android.car.storagemonitoring.WearEstimateChange;
101 public List<WearEstimateChange> toWearEstimateChanges( in toWearEstimateChanges()
111 List<WearEstimateChange> result = new ArrayList<>(); in toWearEstimateChanges()
/packages/services/Car/tests/DefaultStorageMonitoringCompanionApp/src/com/google/android/car/defaultstoragemonitoringcompanionapp/
DMainActivity.java22 import android.car.storagemonitoring.WearEstimateChange;
86 private String wearChangeToString(WearEstimateChange wearEstimateChange) {
123 List<WearEstimateChange> wearEstimateChanges =
130 WearEstimateChange currentChange =
/packages/services/Car/car-lib/api/
Dsystem-lint-baseline.txt533 MissingNullability: android.car.storagemonitoring.WearEstimateChange#CREATOR:
534 …ng nullability on field `CREATOR` in class `class android.car.storagemonitoring.WearEstimateChange`
535 MissingNullability: android.car.storagemonitoring.WearEstimateChange#WearEstimateChange(android.car…
536 Missing nullability on parameter `oldEstimate` in method `WearEstimateChange`
537 MissingNullability: android.car.storagemonitoring.WearEstimateChange#WearEstimateChange(android.car…
538 Missing nullability on parameter `newEstimate` in method `WearEstimateChange`
539 MissingNullability: android.car.storagemonitoring.WearEstimateChange#WearEstimateChange(android.car…
540 Missing nullability on parameter `dateAtChange` in method `WearEstimateChange`
541 MissingNullability: android.car.storagemonitoring.WearEstimateChange#WearEstimateChange(android.os.…
542 Missing nullability on parameter `in` in method `WearEstimateChange`
[all …]
Dsystem-current.txt1152 …GE_MONITORING) public java.util.List<android.car.storagemonitoring.WearEstimateChange> getWearEsti…
1244 public final class WearEstimateChange implements android.os.Parcelable {
1245 …ctor public WearEstimateChange(android.car.storagemonitoring.WearEstimate, android.car.storagemoni…
1246 ctor public WearEstimateChange(android.os.Parcel);
1249 …atic final android.os.Parcelable.Creator<android.car.storagemonitoring.WearEstimateChange> CREATOR;
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarStorageMonitoringTest.java35 import android.car.storagemonitoring.WearEstimateChange;
412 final List<WearEstimateChange> wearEstimateChanges = in testReadWearHistory()
423 final WearEstimateChange actual = wearEstimateChanges.get(i); in testReadWearHistory()
430 final List<WearEstimateChange> wearEstimateChanges = in checkLastWearEvent()
441 final WearEstimateChange actualCurrentWear = in checkLastWearEvent()
/packages/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java29 import android.car.storagemonitoring.WearEstimateChange;
119 private List<WearEstimateChange> mWearEstimateChanges;
514 .map(WearEstimateChange::toString) in dump()
568 public List<WearEstimateChange> getWearEstimateHistory() { in getWearEstimateHistory()