Home
last modified time | relevance | path

Searched refs:mClockManager (Results 1 – 4 of 4) 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/tests/src/com/android/keyguard/
DKeyguardClockSwitchControllerTest.java73 private ClockManager mClockManager; field in KeyguardClockSwitchControllerTest
136 mClockManager, in setup()
205 verify(mClockManager).addOnClockChangedListener(listenerArgumentCaptor.capture()); in testPluginPassesStatusBarState()
251 verify(mClockManager, times).addOnClockChangedListener( in verifyAttachment()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitchController.java62 private final ClockManager mClockManager; field in KeyguardClockSwitchController
120 mClockManager = clockManager; in KeyguardClockSwitchController()
174 mClockManager.addOnClockChangedListener(mClockChangedListener); in onViewAttached()
229 mClockManager.removeOnClockChangedListener(mClockChangedListener); in onViewDetached()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java340 @Inject Lazy<ClockManager> mClockManager; field in Dependency
544 mProviders.put(ClockManager.class, mClockManager::get); in start()