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.java66 private ClockManager mClockManager; field in ClockManagerTest
92 mClockManager = new ClockManager(getContext(), mMockInjectionInflationController, in setUp()
96 mClockManager.addOnClockChangedListener(mMockListener1); in setUp()
97 mClockManager.addOnClockChangedListener(mMockListener2); in setUp()
100 mContentObserver = mClockManager.getContentObserver(); in setUp()
105 mClockManager.removeOnClockChangedListener(mMockListener1); in tearDown()
106 mClockManager.removeOnClockChangedListener(mMockListener2); in tearDown()
112 assertThat(mClockManager.isDocked()).isTrue(); in dockEvent()
118 assertThat(mClockManager.isDocked()).isFalse(); in undockEvent()
129 assertThat(mClockManager.getCurrentClock()).isNull(); in getCurrentClock_default()
[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.java288 @Inject Lazy<ClockManager> mClockManager; field in Dependency
476 mProviders.put(ClockManager.class, mClockManager::get); in start()