Searched refs:remainingTimeUs (Results 1 – 4 of 4) sorted by relevance
90 mBatteryInfo.remainingTimeUs = TimeUnit.DAYS.toMillis(1); in detect_lowBattery_tipNew()114 mBatteryInfo.remainingTimeUs = TimeUnit.MINUTES.toMillis(1); in detect_lowTimeEstimation_tipInvisible()121 mBatteryInfo.remainingTimeUs = TimeUnit.DAYS.toMicros(1); in detect_noEarlyWarning_tipInvisible()
58 public long remainingTimeUs = 0; field in BatteryInfo110 if (remainingTimeUs != 0) { in bindHistory()127 remainingTimeUs)), in bindHistory()152 if (remainingTimeUs != 0) { in bindHistory()156 Formatter.formatShortElapsedTime(context, remainingTimeUs / 1000)); in bindHistory()425 info.remainingTimeUs = PowerUtil.convertMsToUs(chargeTimeMs); in updateBatteryInfoCharging()543 info.remainingTimeUs = drainTimeUs; in updateBatteryInfoDischarging()
79 assertThat(info.remainingTimeUs).isEqualTo(TEST_TIME_REMAINING * 1000); in test_loadInBackground_dischargingOldEstimate_dischargingLabelNotNull()
287 assertThat(info.remainingTimeUs).isEqualTo(TEST_CHARGE_TIME_REMAINING); in getBatteryInfo_charging_usesChargeTime()