OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:STATS_SINCE_CHARGED
(Results
1 - 11
of
11
) sorted by null
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
BatteryStatsSamplingTimerTest.java
41
assertEquals(1, timer.getCountLocked(BatteryStats.
STATS_SINCE_CHARGED
));
42
assertEquals(10, timer.getTotalTimeLocked(200, BatteryStats.
STATS_SINCE_CHARGED
));
46
assertEquals(1, timer.getCountLocked(BatteryStats.
STATS_SINCE_CHARGED
));
47
assertEquals(10, timer.getTotalTimeLocked(200, BatteryStats.
STATS_SINCE_CHARGED
));
51
assertEquals(1, timer.getCountLocked(BatteryStats.
STATS_SINCE_CHARGED
));
52
assertEquals(10, timer.getTotalTimeLocked(200, BatteryStats.
STATS_SINCE_CHARGED
));
67
assertEquals(0, timer.getCountLocked(BatteryStats.
STATS_SINCE_CHARGED
));
68
assertEquals(0, timer.getTotalTimeLocked(200, BatteryStats.
STATS_SINCE_CHARGED
));
74
assertEquals(0, timer.getCountLocked(BatteryStats.
STATS_SINCE_CHARGED
));
75
assertEquals(0, timer.getTotalTimeLocked(200, BatteryStats.
STATS_SINCE_CHARGED
));
[
all
...]
BatteryStatsTimeBaseTest.java
283
tb.computeUptime(666, BatteryStats.
STATS_SINCE_CHARGED
));
302
tb.computeRealtime(6666, BatteryStats.
STATS_SINCE_CHARGED
));
BatteryStatsTimerTest.java
372
// Timer.getTotalTimeLocked(
STATS_SINCE_CHARGED
)
375
timer.getTotalTimeLocked(66, BatteryStats.
STATS_SINCE_CHARGED
));
412
// Timer.getCountLocked(
STATS_SINCE_CHARGED
)
414
Assert.assertEquals(10000, timer.getCountLocked(BatteryStats.
STATS_SINCE_CHARGED
));
BatteryStatsServTest.java
601
Assert.assertEquals(8085, serv.getLaunches(BatteryStats.
STATS_SINCE_CHARGED
));
638
serv.getStartTime(20000, BatteryStats.
STATS_SINCE_CHARGED
));
677
serv.getStartTime(20000, BatteryStats.
STATS_SINCE_CHARGED
));
713
Assert.assertEquals(4042, serv.getStarts(BatteryStats.
STATS_SINCE_CHARGED
));
/packages/apps/Settings/src/com/android/settings/fuelgauge/
PowerUsageBase.java
124
mStatsHelper.refreshStats(BatteryStats.
STATS_SINCE_CHARGED
, mUm.getUserProfiles());
PowerUsageSummary.java
75
private int mStatsType = BatteryStats.
STATS_SINCE_CHARGED
;
152
if (mStatsType == BatteryStats.
STATS_SINCE_CHARGED
) {
155
mStatsType = BatteryStats.
STATS_SINCE_CHARGED
;
BatteryHistoryChart.java
497
BatteryStats.
STATS_SINCE_CHARGED
);
[
all
...]
/packages/apps/Settings/src/com/android/settings/applications/
InstalledAppDetails.java
607
BatteryStats.
STATS_SINCE_CHARGED
);
[
all
...]
/frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java
709
case
STATS_SINCE_CHARGED
:
721
case
STATS_SINCE_CHARGED
:
793
out.writeLong(computeUptime(uptime,
STATS_SINCE_CHARGED
));
794
out.writeLong(computeRealtime(realtime,
STATS_SINCE_CHARGED
));
885
} else if (which !=
STATS_SINCE_CHARGED
) {
[
all
...]
BatteryStatsHelper.java
95
private int mStatsType = BatteryStats.
STATS_SINCE_CHARGED
;
/frameworks/base/core/java/android/os/
BatteryStats.java
162
public static final int
STATS_SINCE_CHARGED
= 0;
266
* @param which one of
STATS_SINCE_CHARGED
, STATS_SINCE_UNPLUGGED, or STATS_CURRENT
285
* @param which one of
STATS_SINCE_CHARGED
, STATS_SINCE_UNPLUGGED, or STATS_CURRENT
337
* @param which one of
STATS_SINCE_CHARGED
, STATS_SINCE_UNPLUGGED, or STATS_CURRENT
346
* @param which one of
STATS_SINCE_CHARGED
, STATS_SINCE_UNPLUGGED, or STATS_CURRENT
575
* @param which one of
STATS_SINCE_CHARGED
, STATS_SINCE_UNPLUGGED, or STATS_CURRENT.
584
* @param which one of
STATS_SINCE_CHARGED
, STATS_SINCE_UNPLUGGED, or STATS_CURRENT.
591
* @param which one of
STATS_SINCE_CHARGED
, STATS_SINCE_UNPLUGGED, or STATS_CURRENT.
637
* @param which one of
STATS_SINCE_CHARGED
, STATS_SINCE_UNPLUGGED, or STATS_CURRENT.
644
* @param which one of
STATS_SINCE_CHARGED
, STATS_SINCE_UNPLUGGED, or STATS_CURRENT
[
all
...]
Completed in 446 milliseconds