/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsTimerTest.java | 94 MockClock clocks = new MockClock(); in testRunning() 115 MockClock clocks = new MockClock(); in testParceling() 160 MockClock clocks = new MockClock(); in testResetNoDetach() 183 MockClock clocks = new MockClock(); in testResetDetach() 211 MockClock clocks = new MockClock(); in testSummaryParceling() 253 MockClock clocks = new MockClock(); in testGetTotalTimeLocked() 278 MockClock clocks = new MockClock(); in testGetCountLocked() 299 MockClock clocks = new MockClock(); in testGetTimeSinceMarked() 316 MockClock clocks = new MockClock(); in testLogState()
|
D | BatteryStatsSamplingTimerTest.java | 33 final MockClock clocks = new MockClock(); in testSettingStalePreservesData() 60 final MockClock clocks = new MockClock(); in testEndSampleAndContinueWhenTimeOrCountDecreases() 110 final MockClock clocks = new MockClock(); in testFirstUpdateIsAbsorbed() 149 final MockClock clocks = new MockClock(); in testSampleTimerSummaryParceling()
|
D | BatteryStatsDurationTimerTest.java | 36 final MockClock clocks = new MockClock(); in testStartStop() 108 final MockClock clocks = new MockClock(); in testReset() 144 final MockClock clocks = new MockClock(); in testResetAndDetach() 171 final MockClock clocks = new MockClock(); in testParceling()
|
D | BatteryStatsSensorTest.java | 50 final MockClock clocks = new MockClock(); in testSensorStartStop() 87 final MockClock clocks = new MockClock(); in testCountingWhileOffBattery() 123 final MockClock clocks = new MockClock(); in testCountingWhileOnBattery() 158 final MockClock clocks = new MockClock(); in testBatteryStatusOnToOff() 204 final MockClock clocks = new MockClock(); in testBatteryStatusOffToOn() 255 final MockClock clocks = new MockClock(); in testPooledBackgroundUsage() 392 final MockClock clocks = new MockClock(); in testSensorReset() 436 final MockClock clocks = new MockClock(); in testSensorResetTimes()
|
D | BatteryStatsCounterTest.java | 33 final MockClock clocks = new MockClock(); // holds realtime and uptime in ms in testCounter() 73 final MockClock clocks = new MockClock(); // holds realtime and uptime in ms in testParceling()
|
D | BatteryStatsBackgroundStatsTest.java | 53 final MockClock clocks = new MockClock(); // holds realtime and uptime in ms in testBgTimeBase() 122 final MockClock clocks = new MockClock(); // holds realtime and uptime in ms in testScreenOffBgTimeBase() 171 final MockClock clocks = new MockClock(); in testWifiScan() 226 final MockClock clocks = new MockClock(); in doTestAppBluetoothScanInternal() 296 final MockClock clocks = new MockClock(); in testJob() 358 final MockClock clocks = new MockClock(); in testSyncs()
|
D | BatteryStatsNoteTest.java | 112 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(new MockClock()); in testNoteBluetoothScanResultLocked() 141 final MockClock clocks = new MockClock(); // holds realtime and uptime in ms in testNoteStartWakeLocked() 171 final MockClock clocks = new MockClock(); // holds realtime and uptime in ms in testNoteStartWakeLocked_isolatedUid() 213 final MockClock clocks = new MockClock(); // holds realtime and uptime in ms in testNoteStartWakeLocked_isolatedUidRace() 257 final MockClock clocks = new MockClock(); // holds realtime and uptime in ms in testNoteLongPartialWakelockStart_isolatedUid() 312 final MockClock clocks = new MockClock(); // holds realtime and uptime in ms in testNoteLongPartialWakelockStart_isolatedUidRace() 370 final MockClock clocks = new MockClock(); in testNoteUidProcessStateLocked() 457 final MockClock clocks = new MockClock(); // holds realtime and uptime in ms in testUpdateTimeBasesLocked() 481 final MockClock clocks = new MockClock(); // holds realtime and uptime in ms in testNoteScreenStateLocked() 528 final MockClock clocks = new MockClock(); // holds realtime and uptime in ms in testNoteScreenStateLocked_multiDisplay() [all …]
|
D | BatteryStatsBinderCallStatsTest.java | 57 final MockClock clocks = new MockClock(); // holds realtime and uptime in ms in testNoteBinderCallStats() 99 final MockClock clocks = new MockClock(); // holds realtime and uptime in ms in testProportionalSystemServiceUsage_noStatsForSomeMethods()
|
D | BatteryStatsDualTimerTest.java | 32 final MockClock clocks = new MockClock(); in testResetDetach()
|
D | BatteryStatsStopwatchTimerTest.java | 34 final MockClock clocks = new MockClock(); // holds realtime and uptime in ms in testCount() 145 private static long updateTime(MockClock clocks, long time) { in updateTime()
|
D | MockClock.java | 21 public class MockClock extends Clock { class
|
D | PowerStatsCollectorTest.java | 59 private final MockClock mMockClock = new MockClock();
|
D | BatteryUsageStatsRule.java | 67 private final MockClock mMockClock = new MockClock(); 143 public MockClock getMockClock() { in getMockClock()
|
D | BatteryStatsResetTest.java | 52 private MockClock mMockClock; 96 mMockClock = new MockClock(); in setUp()
|
D | PowerStatsSchedulerTest.java | 61 private MockClock mClock = new MockClock();
|
D | PowerStatsAggregatorTest.java | 53 private final MockClock mClock = new MockClock();
|
D | BatteryUsageStatsTest.java | 266 final MockClock clocks = new MockClock(); in buildBatteryUsageStats1() 310 final MockClock clocks = new MockClock(); in buildBatteryUsageStats2()
|
D | BinaryStatePowerStatsProcessorTest.java | 59 private final MockClock mClock = new MockClock();
|
D | PowerStatsExporterTest.java | 75 private MockClock mClock = new MockClock();
|
/frameworks/base/services/tests/selinux/src/com/android/server/selinux/ |
D | RateLimiterTest.java | 33 private final MockClock mMockClock = new MockClock(); 104 private static final class MockClock extends Clock { class in RateLimiterTest
|
D | SelinuxAuditLogsCollectorTest.java | 57 private final MockClock mClock = new MockClock(); 637 private static final class MockClock extends Clock { class in SelinuxAuditLogsCollectorTest
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | MonotonicClockTest.java | 43 private final MockClock mClock = new MockClock();
|
D | MockClock.java | 19 public class MockClock extends Clock { class
|
D | KernelCpuUidUserSysTimeReaderTest.java | 76 private final MockClock mMockClock = new MockClock();
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncReactorTest.cpp | 47 class MockClock : public Clock { class 104 mMockClock(std::make_shared<NiceMock<MockClock>>()), in VSyncReactorTest() 113 std::shared_ptr<MockClock> mMockClock;
|