Home
last modified time | relevance | path

Searched refs:isAcceptableDegradation (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/car-lib/src/android/car/storagemonitoring/
DWearEstimateChange.java72 public final boolean isAcceptableDegradation; field in WearEstimateChange
78 boolean isAcceptableDegradation) { in WearEstimateChange() argument
86 this.isAcceptableDegradation = isAcceptableDegradation; in WearEstimateChange()
94 isAcceptableDegradation = in.readInt() == 1; in WearEstimateChange()
108 dest.writeInt(isAcceptableDegradation ? 1 : 0); in writeToParcel()
115 return wo.isAcceptableDegradation == isAcceptableDegradation in equals()
130 isAcceptableDegradation); in hashCode()
141 isAcceptableDegradation ? "yes" : "no"); in toString()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DWearEstimateRecord.java85 WearEstimateChange toWearEstimateChange(boolean isAcceptableDegradation) { in toWearEstimateChange() argument
87 mNewWearEstimate, mTotalCarServiceUptime, mUnixTimestamp, isAcceptableDegradation); in toWearEstimateChange()
DWearHistory.java120 final boolean isAcceptableDegradation = timeForChange >= acceptableWearRate; in toWearEstimateChanges()
121 result.add(currentRecord.toWearEstimateChange(isAcceptableDegradation)); in toWearEstimateChanges()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DCarStorageMonitoringTest.java337 assertThat(unknownToOne.isAcceptableDegradation).isTrue(); in testWearHistoryToChanges()
344 assertThat(oneToTwo.isAcceptableDegradation).isTrue(); in testWearHistoryToChanges()
351 assertThat(twoToThree.isAcceptableDegradation).isFalse(); in testWearHistoryToChanges()
/packages/services/Car/tests/DefaultStorageMonitoringCompanionApp/src/com/google/android/car/defaultstoragemonitoringcompanionapp/
DMainActivity.java133 if (!DEBUG && currentChange.isAcceptableDegradation) {
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarStorageMonitoringTest.java444 assertEquals(isAcceptable, actualCurrentWear.isAcceptableDegradation); in checkLastWearEvent()
/packages/services/Car/car-lib/api/
Dsystem-current.txt1251 field public final boolean isAcceptableDegradation;