Searched refs:mClocks (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/ |
D | ClockOptionsProviderTest.java | 61 private List<ClockInfo> mClocks; field in ClockOptionsProviderTest 69 mClocks = new ArrayList<>(); in setUp() 70 mProvider = new ClockOptionsProvider(() -> mClocks); in setUp() 118 mClocks.add(ClockInfo.builder() in testQuery_listOptions() 123 mClocks.add(ClockInfo.builder() in testQuery_listOptions() 160 mClocks.add(ClockInfo.builder() in testOpenFile_preview() 176 mClocks.add(ClockInfo.builder() in testOpenFile_thumbnail()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 178 protected Clocks mClocks; field in BatteryStatsImpl 371 final long uptime = mClocks.uptimeMillis(); 372 final long elapsedRealtime = mClocks.elapsedRealtime(); 491 long cutOffTime = mClocks.elapsedRealtime() - mConstants.UID_REMOVE_DELAY_MS; in clearPendingRemovedUids() 1103 mClocks = clocks; in init() 1643 protected final Clocks mClocks; field in BatteryStatsImpl.Timer 1672 mClocks = clocks; in Timer() 1684 mClocks = clocks; in Timer() 2024 recomputeLastDuration(mClocks.elapsedRealtime() * 1000, false); in onTimeStopped() 2073 final long now = mClocks.elapsedRealtime() * 1000; in addDuration() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | ClockManager.java | 275 private final Map<String, ClockPlugin> mClocks = new ArrayMap<>(); field in ClockManager.AvailableClocks 329 mClocks.put(plugin.getClass().getName(), plugin); in addClockPlugin() 341 mClocks.remove(id); in removeClockPlugin() 363 plugin = mClocks.get(name); in getClockPlugin() 372 plugin = mClocks.get(name); in getClockPlugin()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsCpuTimesTest.java | 95 private MockClocks mClocks; field in BatteryStatsCpuTimesTest 103 mClocks = new MockClocks(); in setUp() 104 mBatteryStatsImpl = new MockBatteryStatsImpl(mClocks) in setUp() 1262 mClocks.realtime = mClocks.uptime = 0; in testRemoveUidCpuTimes() 1264 mBatteryStatsImpl.new UidToRemove(1, mClocks.elapsedRealtime())); in testRemoveUidCpuTimes() 1266 mBatteryStatsImpl.new UidToRemove(5, 10, mClocks.elapsedRealtime())); in testRemoveUidCpuTimes() 1270 mClocks.realtime = mClocks.uptime = 100_000; in testRemoveUidCpuTimes() 1274 mClocks.realtime = mClocks.uptime = 200_000; in testRemoveUidCpuTimes() 1276 mBatteryStatsImpl.new UidToRemove(100, mClocks.elapsedRealtime())); in testRemoveUidCpuTimes() 1280 mClocks.realtime = mClocks.uptime = 400_000; in testRemoveUidCpuTimes() [all …]
|
D | MockBatteryStatsImpl.java | 42 this.clocks = mClocks; in MockBatteryStatsImpl() 47 mBluetoothScanTimer = new StopwatchTimer(mClocks, null, -14, null, mOnBatteryTimeBase); in MockBatteryStatsImpl()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 94476 Lcom/android/internal/os/BatteryStatsImpl$Timer;->mClocks:Lcom/android/internal/os/BatteryStatsImpl… 95044 Lcom/android/internal/os/BatteryStatsImpl;->mClocks:Lcom/android/internal/os/BatteryStatsImpl$Clock…
|