Searched refs:wearInformation (Results 1 – 3 of 3) sorted by relevance
86 WearInformation wearInformation = wearInfoProvider.load(); in testEMmcWearInformationProvider() local88 assertThat(wearInformation).isNotNull(); in testEMmcWearInformationProvider()89 assertThat(wearInformation.lifetimeEstimateA).isEqualTo(40); in testEMmcWearInformationProvider()90 assertThat(wearInformation.lifetimeEstimateB) in testEMmcWearInformationProvider()92 assertThat(wearInformation.preEolInfo) in testEMmcWearInformationProvider()111 WearInformation wearInformation = wearInfoProvider.load(); in testUfsWearInformationProvider() local113 assertThat(wearInformation).isNotNull(); in testUfsWearInformationProvider()114 assertThat(wearInformation.lifetimeEstimateB).isEqualTo(90); in testUfsWearInformationProvider()115 assertThat(wearInformation.preEolInfo).isEqualTo(WearInformation.PRE_EOL_INFO_WARNING); in testUfsWearInformationProvider()116 assertThat(wearInformation.lifetimeEstimateA) in testUfsWearInformationProvider()[all …]
150 final WearInformation wearInformation; field in CarStorageMonitoringTest.TestData161 @Nullable WearInformation wearInformation, in TestData() argument164 this(uptime, wearInformation, wearHistory, ioStats, null, null); in TestData()168 @Nullable WearInformation wearInformation, in TestData() argument173 if (wearInformation == null) wearInformation = DEFAULT_WEAR_INFORMATION; in TestData()182 this.wearInformation = wearInformation; in TestData()330 mMockStorageMonitoringInterface.setWearInformation(wearData.wearInformation); in configureFakeSystemInterface()435 final WearInformation expectedCurrentWear = wearData.wearInformation; in checkLastWearEvent()815 void setWearInformation(WearInformation wearInformation) { in setWearInformation() argument816 mWearInformation = wearInformation; in setWearInformation()
207 WearInformation wearInformation = mWearInformation.get(); in addEventIfNeededLocked()209 WearEstimate currentWearEstimate = wearInformation.toWearEstimate(); in addEventIfNeededLocked()263 private static void logOnAdverseWearLevel(WearInformation wearInformation) { in logOnAdverseWearLevel() argument264 if (wearInformation.preEolInfo > WearInformation.PRE_EOL_INFO_NORMAL || in logOnAdverseWearLevel()265 Math.max(wearInformation.lifetimeEstimateA, in logOnAdverseWearLevel()266 wearInformation.lifetimeEstimateB) >= MIN_WEAR_ESTIMATE_OF_CONCERN) { in logOnAdverseWearLevel()268 + wearInformation); in logOnAdverseWearLevel()