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.java187 final List<BatterySipper> sippers = new ArrayList<>(); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue() local
188 sippers.add(mNormalBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
189 sippers.add(mScreenBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
190 sippers.add(mSystemBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
191 sippers.add(mOvercountedBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
192 sippers.add(mUnaccountedBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
193 sippers.add(mWifiBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
194 sippers.add(mBluetoothBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
195 sippers.add(mIdleBatterySipper); in testRemoveHiddenBatterySippers_ContainsHiddenSippers_RemoveAndReturnValue()
199 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.java3960 final List<BatterySipper> sippers = helper.getUsageList(); in dumpCheckinLocked() local
3961 if (sippers != null && sippers.size() > 0) { in dumpCheckinLocked()
3968 for (int i=0; i<sippers.size(); i++) { in dumpCheckinLocked()
3969 final BatterySipper bs = sippers.get(i); in dumpCheckinLocked()
5108 List<BatterySipper> sippers = helper.getUsageList(); in dumpLocked()
5109 if (sippers != null && sippers.size() > 0) { in dumpLocked()
5119 for (int i=0; i<sippers.size(); i++) { in dumpLocked()
5120 final BatterySipper bs = sippers.get(i); in dumpLocked()
5243 sippers = helper.getMobilemsppList(); in dumpLocked()
5244 if (sippers != null && sippers.size() > 0) { in dumpLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java2866 final List<BatterySipper> sippers = getBatteryStatsHelper().getUsageList();
2867 if (sippers == null) {
2871 for (BatterySipper bs : sippers) {
2897 final List<BatterySipper> sippers = getBatteryStatsHelper().getUsageList();
2898 if (sippers == null) {
2902 for (BatterySipper bs : sippers) {
/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