Searched refs:usageTimeMs (Results 1 – 10 of 10) sorted by relevance
231 if (sipper.usageTimeMs == 0 && sipper.drainType == DrainType.APP) { in refreshAppListGroup()232 sipper.usageTimeMs = mBatteryUtils.getProcessTimeMs( in refreshAppListGroup()341 final long usageTimeMs = sipper.usageTimeMs; in setUsageSummary() local342 if (usageTimeMs >= DateUtils.MINUTE_IN_MILLIS) { in setUsageSummary()344 StringUtil.formatElapsedTime(mContext, usageTimeMs, false); in setUsageSummary()
117 BatteryUtils.StatusType.FOREGROUND, uid, which) : sipper.usageTimeMs; in startBatteryDetailPage()
372 return sipper != null ? sipper.usageTimeMs : 0; in calculateScreenUsageTime()
399 return sipper != null ? sipper.usageTimeMs : 0; in calculateScreenUsageTime()
146 mNormalBatterySipper.usageTimeMs = 59 * DateUtils.SECOND_IN_MILLIS; in testSetUsageSummary_timeLessThanOneMinute_DoNotSetSummary()154 mNormalBatterySipper.usageTimeMs = 2 * DateUtils.MINUTE_IN_MILLIS; in testSetUsageSummary_timeMoreThanOneMinute_normalApp_setScreenSummary()166 mNormalBatterySipper.usageTimeMs = 2 * DateUtils.MINUTE_IN_MILLIS; in testSetUsageSummary_timeMoreThanOneMinute_hiddenApp_setUsedSummary()177 mNormalBatterySipper.usageTimeMs = 2 * DateUtils.MINUTE_IN_MILLIS; in testSetUsageSummary_timeMoreThanOneMinute_notApp_setUsedSummary()
182 mScreenBatterySipper.usageTimeMs = USAGE_TIME_MS; in setUp()
280 mBatterySipper.usageTimeMs = PHONE_FOREGROUND_TIME_MS; in testStartBatteryDetailPage_typeNotApp_hasBasicData()
548 mScreenBatterySipper.usageTimeMs = TIME_EXPECTED_FOREGROUND; in testCalculateScreenUsageTime_returnCorrectTime()