Home
last modified time | relevance | path

Searched refs:sippers (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHelperTest.java186 final List<BatterySipper> sippers = new ArrayList<>(); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue() local
187 sippers.add(mNormalBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
188 sippers.add(mScreenBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
189 sippers.add(mSystemBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
190 sippers.add(mOvercountedBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
191 sippers.add(mUnaccountedBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
192 sippers.add(mWifiBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
193 sippers.add(mBluetoothBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
194 sippers.add(mIdleBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
198 final double totalUsage = mBatteryStatsHelper.removeHiddenBatterySippers(sippers); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java884 public double removeHiddenBatterySippers(List<BatterySipper> sippers) { in removeHiddenBatterySippers() argument
887 for (int i = sippers.size() - 1; i >= 0; i--) { in removeHiddenBatterySippers()
888 final BatterySipper sipper = sippers.get(i); in removeHiddenBatterySippers()
908 smearScreenBatterySipper(sippers, screenSipper); in removeHiddenBatterySippers()
917 public void smearScreenBatterySipper(List<BatterySipper> sippers, BatterySipper screenSipper) { in smearScreenBatterySipper() argument
920 for (int i = 0, size = sippers.size(); i < size; i++) { in smearScreenBatterySipper()
921 final BatteryStats.Uid uid = sippers.get(i).uidObj; in smearScreenBatterySipper()
932 for (int i = 0, size = sippers.size(); i < size; i++) { in smearScreenBatterySipper()
933 final BatterySipper sipper = sippers.get(i); in smearScreenBatterySipper()
/frameworks/base/core/java/android/os/
DBatteryStats.java3981 final List<BatterySipper> sippers = helper.getUsageList(); in dumpCheckinLocked() local
3982 if (sippers != null && sippers.size() > 0) { in dumpCheckinLocked()
3989 for (int i=0; i<sippers.size(); i++) { in dumpCheckinLocked()
3990 final BatterySipper bs = sippers.get(i); in dumpCheckinLocked()
5127 List<BatterySipper> sippers = helper.getUsageList(); in dumpLocked()
5128 if (sippers != null && sippers.size() > 0) { in dumpLocked()
5138 for (int i=0; i<sippers.size(); i++) { in dumpLocked()
5139 final BatterySipper bs = sippers.get(i); in dumpLocked()
5262 sippers = helper.getMobilemsppList(); in dumpLocked()
5263 if (sippers != null && sippers.size() > 0) { in dumpLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1786 final List<BatterySipper> sippers = getBatteryStatsHelper().getUsageList(); in pullDeviceCalculatedPowerBlameUid() local
1787 if (sippers == null) { in pullDeviceCalculatedPowerBlameUid()
1790 for (BatterySipper bs : sippers) { in pullDeviceCalculatedPowerBlameUid()
1803 final List<BatterySipper> sippers = getBatteryStatsHelper().getUsageList(); in pullDeviceCalculatedPowerBlameOther() local
1804 if (sippers == null) { in pullDeviceCalculatedPowerBlameOther()
1807 for (BatterySipper bs : sippers) { in pullDeviceCalculatedPowerBlameOther()
/frameworks/base/core/proto/android/os/
Dbatterystats.proto366 // Smeared power using proportional method. Power usage from hidden sippers
703 // Smeared power using proportional method. Power usage from hidden sippers