OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getCountLocked
(Results
1 - 10
of
10
) sorted by null
/frameworks/base/core/java/com/android/internal/os/
BluetoothPowerCalculator.java
45
final long idleTimeMs = counter.getIdleTimeCounter().
getCountLocked
(statsType);
46
final long rxTimeMs = counter.getRxTimeCounter().
getCountLocked
(statsType);
47
final long txTimeMs = counter.getTxTimeCounters()[0].
getCountLocked
(statsType);
49
double powerMah = counter.getPowerCounter().
getCountLocked
(statsType)
72
final long idleTimeMs = counter.getIdleTimeCounter().
getCountLocked
(statsType);
73
final long txTimeMs = counter.getTxTimeCounters()[0].
getCountLocked
(statsType);
74
final long rxTimeMs = counter.getRxTimeCounter().
getCountLocked
(statsType);
76
double powerMah = counter.getPowerCounter().
getCountLocked
(statsType)
WifiPowerCalculator.java
48
final long idleTime = counter.getIdleTimeCounter().
getCountLocked
(statsType);
49
final long txTime = counter.getTxTimeCounters()[0].
getCountLocked
(statsType);
50
final long rxTime = counter.getRxTimeCounter().
getCountLocked
(statsType);
79
final long idleTimeMs = counter.getIdleTimeCounter().
getCountLocked
(statsType);
80
final long txTimeMs = counter.getTxTimeCounters()[0].
getCountLocked
(statsType);
81
final long rxTimeMs = counter.getRxTimeCounter().
getCountLocked
(statsType);
86
double powerDrainMah = counter.getPowerCounter().
getCountLocked
(statsType)
BatteryStatsImpl.java
881
public int
getCountLocked
(int which) {
[
all
...]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
BatteryStatsSamplingTimerTest.java
41
assertEquals(1, timer.
getCountLocked
(BatteryStats.STATS_SINCE_CHARGED));
46
assertEquals(1, timer.
getCountLocked
(BatteryStats.STATS_SINCE_CHARGED));
51
assertEquals(1, timer.
getCountLocked
(BatteryStats.STATS_SINCE_CHARGED));
67
assertEquals(0, timer.
getCountLocked
(BatteryStats.STATS_SINCE_CHARGED));
74
assertEquals(0, timer.
getCountLocked
(BatteryStats.STATS_SINCE_CHARGED));
83
assertEquals(10, timer.
getCountLocked
(BatteryStats.STATS_SINCE_CHARGED));
90
assertEquals(15, timer.
getCountLocked
(BatteryStats.STATS_SINCE_CHARGED));
95
assertEquals(15, timer.
getCountLocked
(BatteryStats.STATS_SINCE_CHARGED));
110
assertEquals(0, timer.
getCountLocked
(BatteryStats.STATS_SINCE_CHARGED));
119
assertEquals(0, timer.
getCountLocked
(BatteryStats.STATS_SINCE_CHARGED))
[
all
...]
BatteryStatsTimerTest.java
390
* Tests
getCountLocked
412
// Timer.
getCountLocked
(STATS_SINCE_CHARGED)
414
Assert.assertEquals(10000, timer.
getCountLocked
(BatteryStats.STATS_SINCE_CHARGED));
416
// Timer.
getCountLocked
(STATS_CURRENT)
418
Assert.assertEquals(9998, timer.
getCountLocked
(BatteryStats.STATS_CURRENT));
420
// Timer.
getCountLocked
(STATS_SINCE_UNPLUGGED)
422
Assert.assertEquals(9996, timer.
getCountLocked
(BatteryStats.STATS_SINCE_UNPLUGGED));
/frameworks/base/services/core/java/com/android/server/am/
HealthStatsBatteryStatsWriter.java
163
controller.getIdleTimeCounter().
getCountLocked
(STATS_SINCE_UNPLUGGED));
166
controller.getRxTimeCounter().
getCountLocked
(STATS_SINCE_UNPLUGGED));
170
sum += counter.
getCountLocked
(STATS_SINCE_UNPLUGGED);
175
controller.getPowerCounter().
getCountLocked
(STATS_SINCE_UNPLUGGED));
182
controller.getIdleTimeCounter().
getCountLocked
(STATS_SINCE_UNPLUGGED));
185
controller.getRxTimeCounter().
getCountLocked
(STATS_SINCE_UNPLUGGED));
189
sum += counter.
getCountLocked
(STATS_SINCE_UNPLUGGED);
194
controller.getPowerCounter().
getCountLocked
(STATS_SINCE_UNPLUGGED));
201
controller.getIdleTimeCounter().
getCountLocked
(STATS_SINCE_UNPLUGGED));
204
controller.getRxTimeCounter().
getCountLocked
(STATS_SINCE_UNPLUGGED))
[
all
...]
/frameworks/base/core/java/android/os/
BatteryStats.java
268
public abstract int
getCountLocked
(int which);
287
public abstract long
getCountLocked
(int which);
339
public abstract int
getCountLocked
(int which);
[
all
...]
/external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar
android-all-5.0.0_r2-robolectric-1.jar
android-all-5.1.1_r9-robolectric-1.jar
Completed in 147 milliseconds