Home
last modified time | relevance | path

Searched refs:batteryData (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageAdvanced.java206 final PowerUsageData batteryData = dataList.get(i); in refreshPowerUsageDataList() local
207 if (shouldHideCategory(batteryData)) { in refreshPowerUsageDataList()
212 pref.setKey(String.valueOf(batteryData.usageType)); in refreshPowerUsageDataList()
213 pref.setTitle(batteryData.titleResId); in refreshPowerUsageDataList()
214 pref.setSummary(batteryData.summary); in refreshPowerUsageDataList()
215 pref.setPercent(batteryData.percentage); in refreshPowerUsageDataList()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerUsageAdvancedTest.java197 List<PowerUsageData> batteryData = in testParsePowerUsageData_PercentageCalculatedCorrectly() local
199 for (PowerUsageData data : batteryData) { in testParsePowerUsageData_PercentageCalculatedCorrectly()