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.java3929 final List<BatterySipper> sippers = helper.getUsageList(); in dumpCheckinLocked() local
3930 if (sippers != null && sippers.size() > 0) { in dumpCheckinLocked()
3937 for (int i=0; i<sippers.size(); i++) { in dumpCheckinLocked()
3938 final BatterySipper bs = sippers.get(i); in dumpCheckinLocked()
5075 List<BatterySipper> sippers = helper.getUsageList(); in dumpLocked()
5076 if (sippers != null && sippers.size() > 0) { in dumpLocked()
5086 for (int i=0; i<sippers.size(); i++) { in dumpLocked()
5087 final BatterySipper bs = sippers.get(i); in dumpLocked()
5210 sippers = helper.getMobilemsppList(); in dumpLocked()
5211 if (sippers != null && sippers.size() > 0) { in dumpLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1746 final List<BatterySipper> sippers = getBatteryStatsHelper().getUsageList(); in pullDeviceCalculatedPowerBlameUid() local
1747 if (sippers == null) { in pullDeviceCalculatedPowerBlameUid()
1750 for (BatterySipper bs : sippers) { in pullDeviceCalculatedPowerBlameUid()
1763 final List<BatterySipper> sippers = getBatteryStatsHelper().getUsageList(); in pullDeviceCalculatedPowerBlameOther() local
1764 if (sippers == null) { in pullDeviceCalculatedPowerBlameOther()
1767 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