Searched refs:TEST_CHARGE_TIME_REMAINING (Results 1 – 1 of 1) sorted by relevance
83 private static final long TEST_CHARGE_TIME_REMAINING = TimeUnit.MINUTES.toMicros(1); field in BatteryInfoTest183 doReturn(TEST_CHARGE_TIME_REMAINING / 1000) in getBatteryInfo_pluggedInUsingShortString_usesCorrectData()274 doReturn(TEST_CHARGE_TIME_REMAINING / 1000) in getBatteryInfo_charging_usesChargeTime()287 assertThat(info.remainingTimeUs).isEqualTo(TEST_CHARGE_TIME_REMAINING); in getBatteryInfo_charging_usesChargeTime()310 doReturn(TEST_CHARGE_TIME_REMAINING).when(mBatteryUsageStats).getChargeTimeRemainingMs(); in getBatteryInfo_chargingWithDefender_updateChargeLabel()333 doReturn(TEST_CHARGE_TIME_REMAINING).when(mBatteryUsageStats).getChargeTimeRemainingMs(); in getBatteryInfo_getChargeTimeRemaining_updateSettingsGlobal()344 .isEqualTo(TEST_CHARGE_TIME_REMAINING); in getBatteryInfo_getChargeTimeRemaining_updateSettingsGlobal()349 doReturn(TEST_CHARGE_TIME_REMAINING).when(mBatteryUsageStats).getChargeTimeRemainingMs(); in getBatteryInfo_differentChargeTimeRemaining_updateSettingsGlobal()366 doReturn(TEST_CHARGE_TIME_REMAINING / 1000) in getBatteryInfo_dockDefenderActive_updateChargeString()