Searched refs:PowerUtil (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/ |
D | PowerUtilTest.java | 61 String info = PowerUtil.getBatteryRemainingStringFormatted(mContext, in testGetBatteryRemainingStringFormatted_moreThanFifteenMinutes_withPercentage() 65 String info2 = PowerUtil.getBatteryRemainingStringFormatted(mContext, in testGetBatteryRemainingStringFormatted_moreThanFifteenMinutes_withPercentage() 87 String info = PowerUtil.getBatteryRemainingStringFormatted(mContext, in testGetBatteryRemainingStringFormatted_moreThanFifteenMinutes_noPercentage() 91 String info2 = PowerUtil.getBatteryRemainingStringFormatted(mContext, in testGetBatteryRemainingStringFormatted_moreThanFifteenMinutes_noPercentage() 113 String info = PowerUtil.getBatteryRemainingStringFormatted(mContext, in testGetBatteryRemainingStringFormatted_lessThanSevenMinutes_usesCorrectString() 117 String info2 = PowerUtil.getBatteryRemainingStringFormatted(mContext, in testGetBatteryRemainingStringFormatted_lessThanSevenMinutes_usesCorrectString() 130 String info = PowerUtil.getBatteryRemainingStringFormatted(mContext, in testGetBatteryRemainingStringFormatted_betweenSevenAndFifteenMinutes_usesCorrectString() 134 String info2 = PowerUtil.getBatteryRemainingStringFormatted(mContext, in testGetBatteryRemainingStringFormatted_betweenSevenAndFifteenMinutes_usesCorrectString() 147 String info = PowerUtil.getBatteryRemainingStringFormatted(mContext, in testGetBatteryRemainingStringFormatted_betweenOneAndTwoDays_usesCorrectString() 151 String info2 = PowerUtil.getBatteryRemainingStringFormatted(mContext, in testGetBatteryRemainingStringFormatted_betweenOneAndTwoDays_usesCorrectString() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerImpl.java | 35 import com.android.settingslib.utils.PowerUtil; 238 return PowerUtil.getBatteryRemainingShortStringFormatted( in generateTimeRemainingString()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | PowerUtil.java | 37 public class PowerUtil { class
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerNotificationWarnings.java | 57 import com.android.settingslib.utils.PowerUtil; 328 return PowerUtil.getBatteryRemainingStringFormatted( in getHybridContentString()
|