Searched refs:sippers (Results 1 – 5 of 5) sorted by relevance
287 final List<BatterySipper> sippers = new ArrayList<>(); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue() local288 sippers.add(mNormalBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()289 sippers.add(mScreenBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()290 sippers.add(mSystemBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()291 sippers.add(mOvercountedBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()292 sippers.add(mUnaccountedBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()293 sippers.add(mWifiBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()294 sippers.add(mBluetoothBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()295 sippers.add(mIdleBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()299 final double totalUsage = mBatteryUtils.removeHiddenBatterySippers(sippers); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()[all …]
176 public double removeHiddenBatterySippers(List<BatterySipper> sippers) { in removeHiddenBatterySippers() argument179 for (int i = sippers.size() - 1; i >= 0; i--) { in removeHiddenBatterySippers()180 final BatterySipper sipper = sippers.get(i); in removeHiddenBatterySippers()182 sippers.remove(i); in removeHiddenBatterySippers()199 smearScreenBatterySipper(sippers, screenSipper); in removeHiddenBatterySippers()209 void smearScreenBatterySipper(List<BatterySipper> sippers, BatterySipper screenSipper) { in smearScreenBatterySipper() argument212 for (int i = 0, size = sippers.size(); i < size; i++) { in smearScreenBatterySipper()213 final BatteryStats.Uid uid = sippers.get(i).uidObj; in smearScreenBatterySipper()229 for (int i = 0, size = sippers.size(); i < size; i++) { in smearScreenBatterySipper()230 final BatterySipper sipper = sippers.get(i); in smearScreenBatterySipper()
259 private List<BatterySipper> getCoalescedUsageList(final List<BatterySipper> sippers) { in getCoalescedUsageList() argument263 final int numSippers = sippers.size(); in getCoalescedUsageList()265 BatterySipper sipper = sippers.get(i); in getCoalescedUsageList()
181 public double removeHiddenBatterySippers(List<BatterySipper> sippers) { in removeHiddenBatterySippers() argument184 for (int i = sippers.size() - 1; i >= 0; i--) { in removeHiddenBatterySippers()185 final BatterySipper sipper = sippers.get(i); in removeHiddenBatterySippers()187 sippers.remove(i); in removeHiddenBatterySippers()206 smearScreenBatterySipper(sippers, screenSipper); in removeHiddenBatterySippers()216 void smearScreenBatterySipper(List<BatterySipper> sippers, BatterySipper screenSipper) { in smearScreenBatterySipper() argument219 for (int i = 0, size = sippers.size(); i < size; i++) { in smearScreenBatterySipper()220 final BatteryStats.Uid uid = sippers.get(i).uidObj; in smearScreenBatterySipper()236 for (int i = 0, size = sippers.size(); i < size; i++) { in smearScreenBatterySipper()237 final BatterySipper sipper = sippers.get(i); in smearScreenBatterySipper()