Home
last modified time | relevance | path

Searched refs:MockBatteryStatsImpl (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsServTest.java34 TestServ(MockBatteryStatsImpl bsi) { in TestServ()
95 MockBatteryStatsImpl bsi = new MockBatteryStatsImpl(); in testConstructAndDetach()
109 MockBatteryStatsImpl bsi = new MockBatteryStatsImpl(); in testParceling()
138 MockBatteryStatsImpl bsi = new MockBatteryStatsImpl(); in testLaunchTimeToNow()
156 MockBatteryStatsImpl bsi = new MockBatteryStatsImpl(); in testStartTimeToNow()
173 MockBatteryStatsImpl bsi = new MockBatteryStatsImpl() { in testStartLaunchedLockedWhileLaunched()
202 MockBatteryStatsImpl bsi = new MockBatteryStatsImpl() { in testStartLaunchedLockedWhileNotLaunched()
229 MockBatteryStatsImpl bsi = new MockBatteryStatsImpl() { in testStopLaunchedLockedWhileNotLaunched()
259 MockBatteryStatsImpl bsi = new MockBatteryStatsImpl() { in testStopLaunchedLockedWhileLaunchedNormal()
288 MockBatteryStatsImpl bsi = new MockBatteryStatsImpl() { in testStopLaunchedLockedWhileLaunchedTooQuick()
[all …]
DMockBatteryStatsImpl.java36 public class MockBatteryStatsImpl extends BatteryStatsImpl { class
40 MockBatteryStatsImpl(Clocks clocks) { in MockBatteryStatsImpl() method in MockBatteryStatsImpl
60 MockBatteryStatsImpl() { in MockBatteryStatsImpl() method in MockBatteryStatsImpl
98 public MockBatteryStatsImpl setPowerProfile(PowerProfile powerProfile) { in setPowerProfile()
103 public MockBatteryStatsImpl setKernelCpuUidFreqTimeReader(KernelCpuUidFreqTimeReader reader) { in setKernelCpuUidFreqTimeReader()
108 public MockBatteryStatsImpl setKernelCpuUidActiveTimeReader( in setKernelCpuUidActiveTimeReader()
114 public MockBatteryStatsImpl setKernelCpuUidClusterTimeReader( in setKernelCpuUidClusterTimeReader()
120 public MockBatteryStatsImpl setKernelCpuUidUserSysTimeReader( in setKernelCpuUidUserSysTimeReader()
126 public MockBatteryStatsImpl setKernelSingleUidTimeReader(KernelSingleUidTimeReader reader) { in setKernelSingleUidTimeReader()
131 public MockBatteryStatsImpl setKernelCpuSpeedReaders(KernelCpuSpeedReader[] readers) { in setKernelCpuSpeedReaders()
[all …]
DBatteryStatsNoteTest.java61 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(new MockClocks()); in testNoteBluetoothScanResultLocked()
91 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testNoteStartWakeLocked()
122 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testNoteUidProcessStateLocked()
207 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testUpdateTimeBasesLocked()
231 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testNoteScreenStateLocked()
260 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testNoteScreenStateTimersLocked()
298 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testAlarmStartAndFinishLocked()
335 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testAlarmStartAndFinishLocked_workSource()
379 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testNoteWakupAlarmLocked()
397 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testNoteWakupAlarmLocked_workSource_uid()
[all …]
DBatteryStatsSensorTest.java38 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testSensorStartStop()
75 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testCountingWhileOffBattery()
111 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testCountingWhileOnBattery()
146 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testBatteryStatusOnToOff()
192 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testBatteryStatusOffToOn()
244 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testPooledBackgroundUsage()
381 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testSensorReset()
425 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testSensorResetTimes()
DBatteryStatsBackgroundStatsTest.java42 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testBgTimeBase()
110 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testScreenOffBgTimeBase()
158 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testWifiScan()
211 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in doTestAppBluetoothScanInternal()
280 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testJob()
341 MockBatteryStatsImpl bi = new MockBatteryStatsImpl(clocks); in testSyncs()
DBatteryStatsHistoryTest.java48 private final BatteryStatsImpl mBatteryStatsImpl = new MockBatteryStatsImpl();
DBatteryStatsImplTest.java62 private MockBatteryStatsImpl mBatteryStatsImpl;
70 mBatteryStatsImpl = new MockBatteryStatsImpl() in setUp()
DBatteryStatsCpuTimesTest.java96 private MockBatteryStatsImpl mBatteryStatsImpl;
104 mBatteryStatsImpl = new MockBatteryStatsImpl(mClocks) in setUp()