Searched refs:batterySipper (Results 1 – 3 of 3) sorted by relevance
77 final BatterySipper batterySipper = batterySippers.get(i); in detect() local78 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()
85 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()
144 final BatterySipper batterySipper = mock(BatterySipper.class); in batteryEntryForAOD_containCorrectInfo() local145 batterySipper.drainType = DrainType.AMBIENT_DISPLAY; in batteryEntryForAOD_containCorrectInfo()147 mockUserManager, batterySipper); in batteryEntryForAOD_containCorrectInfo()