Home
last modified time | relevance | path

Searched refs:mClockManager (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DClockManagerTest.java68 private ClockManager mClockManager; field in ClockManagerTest
94 mClockManager = new ClockManager(getContext(), mMockInjectionInflationController, in setUp()
98 mClockManager.addBuiltinClock(() -> new BubbleClockController( in setUp()
100 mClockManager.addOnClockChangedListener(mMockListener1); in setUp()
101 mClockManager.addOnClockChangedListener(mMockListener2); in setUp()
104 mContentObserver = mClockManager.getContentObserver(); in setUp()
109 mClockManager.removeOnClockChangedListener(mMockListener1); in tearDown()
110 mClockManager.removeOnClockChangedListener(mMockListener2); in tearDown()
116 assertThat(mClockManager.isDocked()).isTrue(); in dockEvent()
122 assertThat(mClockManager.isDocked()).isFalse(); in undockEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java74 private final ClockManager mClockManager; field in KeyguardClockSwitch
168 mClockManager = clockManager; in KeyguardClockSwitch()
204 mClockManager.addOnClockChangedListener(mClockChangedListener); in onAttachedToWindow()
215 mClockManager.removeOnClockChangedListener(mClockChangedListener); in onDetachedFromWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java304 @Inject Lazy<ClockManager> mClockManager; field in Dependency
493 mProviders.put(ClockManager.class, mClockManager::get); in start()