Searched refs:getConsumedPower (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | HighUsageDetector.java | 74 final double totalPower = mBatteryUsageStats.getConsumedPower(); in detect() 80 (consumer1, consumer2) -> Double.compare(consumer2.getConsumedPower(), in detect() 81 consumer1.getConsumedPower())); in detect() 84 consumer.getConsumedPower(), totalPower, dischargeAmount); in detect()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryAppListPreferenceController.java | 217 final double totalPower = batteryUsageStats.getConsumedPower(); in refreshAppListGroup() 223 entry.getConsumedPower(), totalPower, dischargePercentage); in refreshAppListGroup() 276 final double totalPower = batteryUsageStats.getConsumedPower(); in getBatteryEntryList() 280 entry.getConsumedPower(), totalPower, dischargePercentage); in getBatteryEntryList() 353 deviceConsumer.getConsumedPower(componentId), in getCoalescedUsageList() 354 appsConsumer.getConsumedPower(componentId), in getCoalescedUsageList()
|
D | BatteryEntry.java | 158 (a, b) -> Double.compare(b.getConsumedPower(), a.getConsumedPower()); 204 mConsumedPower = batteryConsumer.getConsumedPower(); in BatteryEntry() 235 mConsumedPower = batteryConsumer.getConsumedPower(); in BatteryEntry() 523 public double getConsumedPower() { in getConsumedPower() method in BatteryEntry 532 mConsumedPower += batteryConsumer.getConsumedPower(); in add()
|
D | ConvertUtils.java | 112 Double.valueOf(batteryUsageStats.getConsumedPower())); in convert() 114 Double.valueOf(entry.getConsumedPower())); in convert()
|
D | AdvancedPowerUsageDetail.java | 169 launchArgs.mConsumedPower = (int) entry.getConsumedPower(); in startBatteryDetailPage()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | HighUsageDetectorTest.java | 107 doReturn(POWER_HIGH).when(mHighBatteryConsumer).getConsumedPower(); in setUp() 108 doReturn(POWER_LOW).when(mLowBatteryConsumer).getConsumedPower(); in setUp() 112 when(mBatteryUsageStats.getConsumedPower()).thenReturn(POWER_HIGH + POWER_LOW); in setUp()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppBatteryPreferenceController.java | 275 mUidBatteryConsumer.getConsumedPower(), mBatteryUsageStats.getConsumedPower(),
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryHistEntryTest.java | 58 when(mBatteryUsageStats.getConsumedPower()).thenReturn(5.1); in testConstructor_contentValues_returnsExpectedResult() 59 when(mockBatteryEntry.getConsumedPower()).thenReturn(1.1); in testConstructor_contentValues_returnsExpectedResult()
|
D | ConvertUtilsTest.java | 75 when(mBatteryUsageStats.getConsumedPower()).thenReturn(5.1); in testConvert_returnsExpectedContentValues() 76 when(mockBatteryEntry.getConsumedPower()).thenReturn(1.1); in testConvert_returnsExpectedContentValues()
|