Searched refs:sipper (Results 1 – 5 of 5) sorted by relevance
202 BatterySipper sipper = sippers.get(i); in getCoalescedUsageList() local203 if (sipper.getUid() > 0) { in getCoalescedUsageList()204 int realUid = sipper.getUid(); in getCoalescedUsageList()208 if (isSharedGid(sipper.getUid())) { in getCoalescedUsageList()210 UserHandle.getAppIdFromSharedAppGid(sipper.getUid())); in getCoalescedUsageList()215 && !"mediaserver".equals(sipper.packageWithHighestDrain)) { in getCoalescedUsageList()222 if (realUid != sipper.getUid()) { in getCoalescedUsageList()224 BatterySipper newSipper = new BatterySipper(sipper.drainType, in getCoalescedUsageList()226 newSipper.add(sipper); in getCoalescedUsageList()227 newSipper.packageWithHighestDrain = sipper.packageWithHighestDrain; in getCoalescedUsageList()[all …]
94 ((entry.sipper.totalPowerMah * dischargeAmount / helper.getTotalPower()) + .5)); in startBatteryDetailPage()96 Math.ceil(entry.sipper.totalPowerMah * 100 / helper.getMaxPower())); in startBatteryDetailPage()100 args.putDouble(PowerUsageDetail.EXTRA_NO_COVERAGE, entry.sipper.noCoveragePercent); in startBatteryDetailPage()101 if (entry.sipper.uidObj != null) { in startBatteryDetailPage()102 args.putInt(PowerUsageDetail.EXTRA_UID, entry.sipper.uidObj.getUid()); in startBatteryDetailPage()104 args.putSerializable(PowerUsageDetail.EXTRA_DRAIN_TYPE, entry.sipper.drainType); in startBatteryDetailPage()111 switch (entry.sipper.drainType) { in startBatteryDetailPage()115 BatteryStats.Uid uid = entry.sipper.uidObj; in startBatteryDetailPage()134 entry.sipper.cpuTimeMs, in startBatteryDetailPage()135 entry.sipper.cpuFgTimeMs, in startBatteryDetailPage()[all …]
116 public final BatterySipper sipper; field in BatteryEntry129 public BatteryEntry(Context context, Handler handler, UserManager um, BatterySipper sipper) { in BatteryEntry() argument132 this.sipper = sipper; in BatteryEntry()133 switch (sipper.drainType) { in BatteryEntry()163 name = sipper.packageWithHighestDrain; in BatteryEntry()166 UserInfo info = um.getUserInfo(sipper.userId); in BatteryEntry()192 if ((name == null || iconId == 0) && this.sipper.uidObj != null) { in BatteryEntry()193 getQuickNameIconForUid(this.sipper.uidObj.getUid()); in BatteryEntry()243 if (sipper.uidObj == null) { in loadNameAndIcon()248 final int uid = sipper.uidObj.getUid(); in loadNameAndIcon()[all …]
1131 BatterySipper sipper = usageList.get(i);1132 if (sipper.getUid() == mPackageInfo.applicationInfo.uid) {1133 mSipper = sipper;