Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/detectors/
DHighUsageDetector.java77 final BatterySipper batterySipper = batterySippers.get(i); in detect() local
78 if (!mBatteryUtils.shouldHideSipper(batterySipper)) { in detect()
80 BatteryUtils.StatusType.FOREGROUND, batterySipper.uidObj, in detect()
84 .setUid(batterySipper.getUid()) in detect()
86 mBatteryUtils.getPackageName(batterySipper.getUid())) in detect()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/
DHighUsageDetector.java85 for (BatterySipper batterySipper : batterySippers) { in detect()
87 batterySipper.totalSmearedPowerMah, totalPower, 0, dischargeAmount); in detect()
88 if ((percent + 0.5f < 1f) || mBatteryUtils.shouldHideSipper(batterySipper)) { in detect()
93 .setUid(batterySipper.getUid()) in detect()
95 mBatteryUtils.getPackageName(batterySipper.getUid())) in detect()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryEntryTest.java144 final BatterySipper batterySipper = mock(BatterySipper.class); in batteryEntryForAOD_containCorrectInfo() local
145 batterySipper.drainType = DrainType.AMBIENT_DISPLAY; in batteryEntryForAOD_containCorrectInfo()
147 mockUserManager, batterySipper); in batteryEntryForAOD_containCorrectInfo()