/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | MonotonicClockTest.java | 57 MonotonicClock monotonicClock = new MonotonicClock(mFile, 1000, mClock); in persistence() 65 MonotonicClock newMonotonicClock = new MonotonicClock(mFile, 0, mClock); in persistence() 73 MonotonicClock monotonicClock = new MonotonicClock(null, 1000, mClock); in constructor() 87 MonotonicClock monotonicClock = new MonotonicClock(mFile, 1000, mClock); in corruptedFile()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | MonotonicClock.java | 44 public class MonotonicClock { class 56 public MonotonicClock(File file) { in MonotonicClock() method in MonotonicClock 60 public MonotonicClock(long monotonicTime, @NonNull Clock clock) { in MonotonicClock() method in MonotonicClock 64 public MonotonicClock(@Nullable File file, long monotonicTime, @NonNull Clock clock) { in MonotonicClock() method in MonotonicClock
|
D | BatteryStatsHistory.java | 209 private final MonotonicClock mMonotonicClock; 249 private final MonotonicClock mMonotonicClock; 255 BatteryHistoryDirectory(File directory, MonotonicClock monotonicClock, in BatteryHistoryDirectory() 601 MonotonicClock monotonicClock, TraceDelegate tracer, EventLogger eventLogger) { in BatteryStatsHistory() 609 @NonNull MonotonicClock monotonicClock, @NonNull TraceDelegate tracer, in BatteryStatsHistory()
|
D | BatteryStatsHistoryIterator.java | 53 mEndTimeMs = (endTimeMs != MonotonicClock.UNDEFINED) ? endTimeMs : Long.MAX_VALUE; in BatteryStatsHistoryIterator()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | PowerStatsScheduler.java | 27 import com.android.internal.os.MonotonicClock; 50 private final MonotonicClock mMonotonicClock; 72 AlarmScheduler alarmScheduler, Clock clock, MonotonicClock monotonicClock, in PowerStatsScheduler() 157 MonotonicClock.UNDEFINED, in aggregateAndDumpPowerStats()
|
D | BatteryStatsImpl.java | 136 import com.android.internal.os.MonotonicClock; 235 private final MonotonicClock mMonotonicClock; 964 long mMonotonicEndTime = MonotonicClock.UNDEFINED; 11219 @NonNull MonotonicClock monotonicClock, @Nullable File systemDir, in BatteryStatsImpl() 11232 @NonNull MonotonicClock monotonicClock, @Nullable File systemDir, in BatteryStatsImpl() 16404 mMonotonicEndTime = MonotonicClock.UNDEFINED;
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | PowerStatsAggregatorTest.java | 33 import com.android.internal.os.MonotonicClock; 54 private final MonotonicClock mMonotonicClock = new MonotonicClock(START_TIME, mClock); 122 mAggregator.aggregatePowerStats(0, MonotonicClock.UNDEFINED, stats -> { in stateUpdates() 221 mAggregator.aggregatePowerStats(0, MonotonicClock.UNDEFINED, stats -> { in incompatiblePowerStats()
|
D | BatteryStatsHistoryIteratorTest.java | 30 import com.android.internal.os.MonotonicClock; 88 mBatteryStats.iterateBatteryStatsHistory(0, MonotonicClock.UNDEFINED); in unconstrainedIteration() 126 assertIncludedEvents(mBatteryStats.iterateBatteryStatsHistory(0, MonotonicClock.UNDEFINED), in constrainedIteration() 129 mBatteryStats.iterateBatteryStatsHistory(2000_000, MonotonicClock.UNDEFINED), in constrainedIteration() 191 mBatteryStats.iterateBatteryStatsHistory(0, MonotonicClock.UNDEFINED); in tagsLongHistory() 259 mBatteryStats.iterateBatteryStatsHistory(0, MonotonicClock.UNDEFINED); in cpuSuspendHistoryEvents()
|
D | BatteryStatsHistoryTest.java | 45 import com.android.internal.os.MonotonicClock; 75 private final MonotonicClock mMonotonicClock = new MonotonicClock(0, mClock); 285 mHistory.iterate(0, MonotonicClock.UNDEFINED); in unconstrainedIteration() 416 BatteryStatsHistoryIterator iterator = mHistory.iterate(0, MonotonicClock.UNDEFINED); in recordPowerStats() 446 BatteryStatsHistoryIterator iterator = mHistory.iterate(0, MonotonicClock.UNDEFINED); in testNrState_dump() 487 BatteryStatsHistoryIterator iterator = mHistory.iterate(0, MonotonicClock.UNDEFINED); in testNrState_checkin() 570 mHistory.iterate(0, MonotonicClock.UNDEFINED); iterator.hasNext(); ) { in largeTagPool() 626 BatteryStatsHistoryIterator iterator = mHistory.iterate(0, MonotonicClock.UNDEFINED); in recordProcStateChange()
|
D | PowerStatsSchedulerTest.java | 35 import com.android.internal.os.MonotonicClock; 62 private MonotonicClock mMonotonicClock = new MonotonicClock(0, mClock);
|
D | BinaryStatePowerStatsProcessorTest.java | 41 import com.android.internal.os.MonotonicClock; 60 private final MonotonicClock mMonotonicClock = new MonotonicClock(0, mClock);
|
D | PowerStatsExporterTest.java | 40 import com.android.internal.os.MonotonicClock; 76 private MonotonicClock mMonotonicClock = new MonotonicClock(0, mClock);
|
D | MockBatteryStatsImpl.java | 38 import com.android.internal.os.MonotonicClock; 82 super(config, clock, new MonotonicClock(0, clock), historyDirectory, handler, in MockBatteryStatsImpl()
|
D | BatteryExternalStatsWorkerTest.java | 50 import com.android.internal.os.MonotonicClock; 81 new MonotonicClock(0, Clock.SYSTEM_CLOCK), null, in setUp()
|
D | BatteryStatsNoteTest.java | 65 import com.android.internal.os.MonotonicClock; 286 bi.iterateBatteryStatsHistory(0, MonotonicClock.UNDEFINED); in testNoteLongPartialWakelockStart_isolatedUid() 344 bi.iterateBatteryStatsHistory(0, MonotonicClock.UNDEFINED); in testNoteLongPartialWakelockStart_isolatedUidRace() 959 bi.iterateBatteryStatsHistory(0, MonotonicClock.UNDEFINED); in testAlarmStartAndFinishLocked() 999 bi.iterateBatteryStatsHistory(0, MonotonicClock.UNDEFINED); in testAlarmStartAndFinishLocked_workSource()
|
/frameworks/base/libs/hwui/thread/ |
D | WorkQueue.h | 33 struct MonotonicClock { struct 41 using clock = MonotonicClock; argument
|
/frameworks/base/ravenwood/texts/ |
D | ravenwood-annotation-allowed-classes.txt | 19 com.android.internal.os.MonotonicClock 323 com.android.internal.os.MonotonicClock
|
/frameworks/base/core/java/android/os/ |
D | BatteryUsageStats.java | 29 import com.android.internal.os.MonotonicClock; 328 return new BatteryStatsHistoryIterator(mBatteryStatsHistory, 0, MonotonicClock.UNDEFINED); in iterateBatteryStatsHistory()
|
D | BatteryStats.java | 61 import com.android.internal.os.MonotonicClock; 7519 iterateBatteryStatsHistory(0, MonotonicClock.UNDEFINED)) { in dumpHistory() 8445 iterateBatteryStatsHistory(0, MonotonicClock.UNDEFINED)) { in dumpProtoHistoryLocked()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 109 import com.android.internal.os.MonotonicClock; 188 private final MonotonicClock mMonotonicClock; 412 mMonotonicClock = new MonotonicClock(new File(systemDir, "monotonic_clock.xml")); in BatteryStatsService()
|
/frameworks/base/services/ |
D | art-profile | 3146 …id/internal/os/Clock$1;]Lcom/android/internal/os/MonotonicClock;Lcom/android/internal/os/Monotonic…
|
D | art-wear-profile | 22074 …yStatsConfig;Lcom/android/internal/os/Clock;Lcom/android/internal/os/MonotonicClock;Ljava/io/File;… 22280 …armScheduler;Lcom/android/internal/os/Clock;Lcom/android/internal/os/MonotonicClock;Ljava/util/fun…
|