Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHelperTest.java162 final List<BatterySipper> sippers = new ArrayList<>(); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue() local
163 sippers.add(mNormalBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
164 sippers.add(mScreenBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
165 sippers.add(mSystemBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
166 sippers.add(mOvercountedBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
167 sippers.add(mUnaccountedBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
171 final double totalUsage = mBatteryStatsHelper.removeHiddenBatterySippers(sippers); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
190 final List<BatterySipper> sippers = new ArrayList<>(); in testSmearScreenBatterySipper() local
191 sippers.add(sipperNull); in testSmearScreenBatterySipper()
192 sippers.add(sipperBg); in testSmearScreenBatterySipper()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java834 public double removeHiddenBatterySippers(List<BatterySipper> sippers) { in removeHiddenBatterySippers() argument
837 for (int i = sippers.size() - 1; i >= 0; i--) { in removeHiddenBatterySippers()
838 final BatterySipper sipper = sippers.get(i); in removeHiddenBatterySippers()
854 smearScreenBatterySipper(sippers, screenSipper); in removeHiddenBatterySippers()
863 public void smearScreenBatterySipper(List<BatterySipper> sippers, BatterySipper screenSipper) { in smearScreenBatterySipper() argument
867 for (int i = 0, size = sippers.size(); i < size; i++) { in smearScreenBatterySipper()
868 final BatteryStats.Uid uid = sippers.get(i).uidObj; in smearScreenBatterySipper()
878 for (int i = 0, size = sippers.size(); i < size; i++) { in smearScreenBatterySipper()
879 final BatterySipper sipper = sippers.get(i); in smearScreenBatterySipper()
/frameworks/base/core/java/android/os/
DBatteryStats.java3282 final List<BatterySipper> sippers = helper.getUsageList(); in dumpCheckinLocked() local
3283 if (sippers != null && sippers.size() > 0) { in dumpCheckinLocked()
3289 for (int i=0; i<sippers.size(); i++) { in dumpCheckinLocked()
3290 final BatterySipper bs = sippers.get(i); in dumpCheckinLocked()
4261 List<BatterySipper> sippers = helper.getUsageList(); in dumpLocked() local
4262 if (sippers != null && sippers.size() > 0) { in dumpLocked()
4272 for (int i=0; i<sippers.size(); i++) { in dumpLocked()
4273 final BatterySipper bs = sippers.get(i); in dumpLocked()
4393 sippers = helper.getMobilemsppList(); in dumpLocked()
4394 if (sippers != null && sippers.size() > 0) { in dumpLocked()
[all …]