Home
last modified time | relevance | path

Searched refs:lifetimeEstimateA (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/service/src/com/android/car/storagemonitoring/
DWearInformation.java38 public final int lifetimeEstimateA; field in WearInformation
51 lifetimeEstimateA = lifetimeA; in WearInformation()
58 return hash(lifetimeEstimateA, lifetimeEstimateB, preEolInfo); in hashCode()
65 return (wi.lifetimeEstimateA == lifetimeEstimateA) && in equals()
82 lifetimeToString(lifetimeEstimateA), in toString()
88 return new WearEstimate(lifetimeEstimateA, lifetimeEstimateB); in toWearEstimate()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DCarStorageMonitoringTest.java89 assertThat(wearInformation.lifetimeEstimateA).isEqualTo(40); in testEMmcWearInformationProvider()
116 assertThat(wearInformation.lifetimeEstimateA) in testUfsWearInformationProvider()
143 assertThat(wearInformation.lifetimeEstimateA).isEqualTo(20); in testHealthServiceWearInformationProvider()
/packages/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java265 Math.max(wearInformation.lifetimeEstimateA, in logOnAdverseWearLevel()
586 new WearEstimate(wi.lifetimeEstimateA, wi.lifetimeEstimateB)).orElse( in getWearEstimate()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarStorageMonitoringTest.java403 assertEquals(DEFAULT_WEAR_INFORMATION.lifetimeEstimateA, wearEstimate.typeA); in testReadWearEstimate()