OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getCurrentDurationMsLocked
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
BatteryStatsDurationTimerTest.java
48
assertEquals(0, timer.
getCurrentDurationMsLocked
(300));
54
assertEquals(800, timer.
getCurrentDurationMsLocked
(1500));
60
assertEquals(0, timer.
getCurrentDurationMsLocked
(6300));
67
assertEquals(100, timer.
getCurrentDurationMsLocked
(12800));
73
assertEquals(0, timer.
getCurrentDurationMsLocked
(13000));
79
assertEquals(0, timer.
getCurrentDurationMsLocked
(27000));
85
assertEquals(28100, timer.
getCurrentDurationMsLocked
(110100)); // Why 28100 and not 28000?
92
assertEquals(28300, timer.
getCurrentDurationMsLocked
(220300)); // extra 100 from above??
119
assertEquals(401, timer.
getCurrentDurationMsLocked
(701));
133
assertEquals(0, summary.
getCurrentDurationMsLocked
(6300))
[
all
...]
/frameworks/base/core/java/android/os/
BatteryStats.java
373
public long
getCurrentDurationMsLocked
(long elapsedRealtimeMs) {
[
all
...]
/frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java
[
all
...]
Completed in 4096 milliseconds