Searched refs:mChargeTracker (Results 1 – 2 of 2) sorted by relevance
52 private ChargingTracker mChargeTracker; field in BatteryController56 return mChargeTracker; in getTracker()61 mChargeTracker = new ChargingTracker(); in BatteryController()62 mChargeTracker.startTracking(); in BatteryController()70 taskStatus.setChargingConstraintSatisfied(mChargeTracker.isOnStablePower()); in maybeStartTrackingJobLocked()71 taskStatus.setBatteryNotLowConstraintSatisfied(mChargeTracker.isBatteryNotLow()); in maybeStartTrackingJobLocked()83 final boolean stablePower = mChargeTracker.isOnStablePower(); in maybeReportNewChargingStateLocked()84 final boolean batteryNotLow = mChargeTracker.isBatteryNotLow(); in maybeReportNewChargingStateLocked()229 pw.println("Stable power: " + mChargeTracker.isOnStablePower()); in dumpControllerStateLocked()230 pw.println("Not low: " + mChargeTracker.isBatteryNotLow()); in dumpControllerStateLocked()[all …]
412 private final ChargingTracker mChargeTracker; field in QuotaController575 mChargeTracker = new ChargingTracker(); in QuotaController()576 mChargeTracker.startTracking(); in QuotaController()774 if (mChargeTracker.isCharging() || mInParole) { in isWithinQuotaLocked()1234 final boolean isCharging = mChargeTracker.isCharging(); in handleNewChargingStateLocked()1624 && !mChargeTracker.isCharging() && mRunningBgJobs.size() == 0) { in stopTrackingJob()1682 return !mChargeTracker.isCharging() && !mForegroundUids.get(mUid); in shouldTrackLocked()2550 pw.println("Is charging: " + mChargeTracker.isCharging()); in dumpControllerStateLocked()2674 proto.write(StateControllerProto.QuotaController.IS_CHARGING, mChargeTracker.isCharging()); in dumpControllerStateLocked()