Searched refs:upperHistEntry (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHistEntry.java | 299 BatteryHistEntry upperHistEntry) { in interpolate() argument 302 upperHistEntry.mTotalPower, in interpolate() 306 upperHistEntry.mConsumePower, in interpolate() 310 upperHistEntry.mForegroundUsageTimeInMs, in interpolate() 314 upperHistEntry.mBackgroundUsageTimeInMs, in interpolate() 317 if (upperHistEntry.mConsumePower < consumePower in interpolate() 318 || upperHistEntry.mForegroundUsageTimeInMs < foregroundUsageTimeInMs in interpolate() 319 || upperHistEntry.mBackgroundUsageTimeInMs < backgroundUsageTimeInMs) { in interpolate() 323 upperHistEntry, lowerHistEntry)); in interpolate() 328 ? upperHistEntry.mBatteryLevel in interpolate() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryHistEntryTest.java | 177 final BatteryHistEntry upperHistEntry = createBatteryHistEntry( in testInterpolate_returnExpectedResult() local 192 upperHistEntry); in testInterpolate_returnExpectedResult() 195 newEntry, 3, upperHistEntry.mPercentOfTotal, in testInterpolate_returnExpectedResult() 211 final BatteryHistEntry upperHistEntry = createBatteryHistEntry( in testInterpolate_withoutLowerEntryData_returnExpectedResult() local 226 upperHistEntry); in testInterpolate_withoutLowerEntryData_returnExpectedResult() 229 newEntry, 3, upperHistEntry.mPercentOfTotal, in testInterpolate_withoutLowerEntryData_returnExpectedResult() 236 /*batteryLevel=*/ upperHistEntry.mBatteryLevel); in testInterpolate_withoutLowerEntryData_returnExpectedResult()
|