Searched refs:drainType (Results 1 – 4 of 4) sorted by relevance
106 mNormalBatterySipper.drainType = BatterySipper.DrainType.APP; in setUp()112 mScreenBatterySipper.drainType = BatterySipper.DrainType.SCREEN; in setUp()115 mSystemBatterySipper.drainType = BatterySipper.DrainType.APP; in setUp()120 mOvercountedBatterySipper.drainType = BatterySipper.DrainType.OVERCOUNTED; in setUp()123 mUnaccountedBatterySipper.drainType = BatterySipper.DrainType.UNACCOUNTED; in setUp()126 mWifiBatterySipper.drainType = BatterySipper.DrainType.WIFI; in setUp()129 mBluetoothBatterySipper.drainType = BatterySipper.DrainType.BLUETOOTH; in setUp()132 mIdleBatterySipper.drainType = BatterySipper.DrainType.IDLE; in setUp()142 mNormalBatterySipper.drainType = BatterySipper.DrainType.UNACCOUNTED; in testShouldHideSipper_TypeUnAccounted_ReturnTrue()148 mNormalBatterySipper.drainType = BatterySipper.DrainType.OVERCOUNTED; in testShouldHideSipper_TypeOverAccounted_ReturnTrue()[all …]
28 public DrainType drainType; field in BatterySipper131 public BatterySipper(DrainType drainType, Uid uid, double value) { in BatterySipper() argument133 this.drainType = drainType; in BatterySipper()145 if (drainType != other.drainType) { in compareTo()146 if (drainType == DrainType.OVERCOUNTED) { in compareTo()149 } else if (other.drainType == DrainType.OVERCOUNTED) { in compareTo()
751 private BatterySipper addEntry(DrainType drainType, long time, double power) { in addEntry() argument752 BatterySipper bs = new BatterySipper(drainType, null, 0); in addEntry()841 if (sipper.drainType != BatterySipper.DrainType.OVERCOUNTED in removeHiddenBatterySippers()842 && sipper.drainType != BatterySipper.DrainType.SCREEN in removeHiddenBatterySippers()843 && sipper.drainType != BatterySipper.DrainType.UNACCOUNTED in removeHiddenBatterySippers()844 && sipper.drainType != BatterySipper.DrainType.BLUETOOTH in removeHiddenBatterySippers()845 && sipper.drainType != BatterySipper.DrainType.WIFI in removeHiddenBatterySippers()846 && sipper.drainType != BatterySipper.DrainType.IDLE) { in removeHiddenBatterySippers()852 if (sipper.drainType == BatterySipper.DrainType.SCREEN) { in removeHiddenBatterySippers()893 final BatterySipper.DrainType drainType = sipper.drainType; in shouldHideSipper() local[all …]
3440 switch (bs.drainType) { in dumpCheckinLocked()4471 switch (bs.drainType) { in dumpLocked()