Home
last modified time | relevance | path

Searched refs:getCurrentClock (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DClockManagerTest.java129 assertThat(mClockManager.getCurrentClock()).isNull(); in getCurrentClock_default()
139 assertThat(mClockManager.getCurrentClock()).isInstanceOf(BUBBLE_CLOCK_CLASS); in getCurrentClock_customClock()
178 assertThat(mClockManager.getCurrentClock()).isNull(); in getCurrentClock_badSettingsValue()
186 assertThat(mClockManager.getCurrentClock()).isNull(); in getCurrentClock_dockedDefault()
196 assertThat(mClockManager.getCurrentClock()).isInstanceOf(BUBBLE_CLOCK_CLASS); in getCurrentClock_dockedCustomClock()
206 assertThat(mClockManager.getCurrentClock()).isNull(); in getCurrentClock_badDockedSettingsValue()
218 assertThat(mClockManager.getCurrentClock()).isInstanceOf(BUBBLE_CLOCK_CLASS); in getCurrentClock_badDockedSettingsFallback()
226 assertThat(mClockManager.getCurrentClock()).isNull(); in onUserChanged_defaultClock()
237 assertThat(mClockManager.getCurrentClock()).isInstanceOf(BUBBLE_CLOCK_CLASS); in onUserChanged_customClock()
249 assertThat(mClockManager.getCurrentClock()).isInstanceOf(BUBBLE_CLOCK_CLASS); in onUserChanged_docked()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockManager.java199 ClockPlugin getCurrentClock() { in getCurrentClock() method in ClockManager
200 return mPreviewClocks.getCurrentClock(); in getCurrentClock()
246 final ClockPlugin clock = clocks.getCurrentClock(); in reload()
305 ClockPlugin getCurrentClock() { in getCurrentClock() method in ClockManager.AvailableClocks