Searched refs:drainType (Results 1 – 5 of 5) 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 BatterySipper136 public BatterySipper(DrainType drainType, Uid uid, double value) { in BatterySipper() argument138 this.drainType = drainType; in BatterySipper()150 if (drainType != other.drainType) { in compareTo()151 if (drainType == DrainType.OVERCOUNTED) { in compareTo()154 } else if (other.drainType == DrainType.OVERCOUNTED) { in compareTo()
776 private BatterySipper addEntry(DrainType drainType, long time, double power) { in addEntry() argument777 BatterySipper bs = new BatterySipper(drainType, null, 0); in addEntry()866 if (sipper.drainType != DrainType.OVERCOUNTED in removeHiddenBatterySippers()867 && sipper.drainType != DrainType.SCREEN in removeHiddenBatterySippers()868 && sipper.drainType != DrainType.AMBIENT_DISPLAY in removeHiddenBatterySippers()869 && sipper.drainType != DrainType.UNACCOUNTED in removeHiddenBatterySippers()870 && sipper.drainType != DrainType.BLUETOOTH in removeHiddenBatterySippers()871 && sipper.drainType != DrainType.WIFI in removeHiddenBatterySippers()872 && sipper.drainType != DrainType.IDLE) { in removeHiddenBatterySippers()878 if (sipper.drainType == BatterySipper.DrainType.SCREEN) { in removeHiddenBatterySippers()[all …]
3819 switch (bs.drainType) { in dumpCheckinLocked()4982 switch (bs.drainType) { in dumpLocked()7137 if (bs.drainType != BatterySipper.DrainType.APP) { in dumpProtoAppsLocked()7919 switch (bs.drainType) { in dumpProtoSystemLocked()
7645 Lcom/android/internal/os/BatterySipper;->drainType:Lcom/android/internal/os/BatterySipper$DrainType;