Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardClockSwitchControllerTest.java95 LockscreenSmartspaceController mSmartspaceController; field in KeyguardClockSwitchControllerTest
142 when(mSmartspaceController.buildAndConnectView(any())).thenReturn(mFakeSmartspaceView); in setup()
155 mSmartspaceController, in setup()
229 when(mSmartspaceController.isEnabled()).thenReturn(true); in testSmartspaceEnabledRemovesKeyguardStatusArea()
230 when(mSmartspaceController.buildAndConnectView(any())).thenReturn(mFakeSmartspaceView); in testSmartspaceEnabledRemovesKeyguardStatusArea()
238 when(mSmartspaceController.isEnabled()).thenReturn(false); in testSmartspaceDisabledShowsKeyguardStatusArea()
248 verify(mSmartspaceController).requestSmartspaceUpdate(); in testRefresh()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardClockSwitchController.java77 private final LockscreenSmartspaceController mSmartspaceController; field in KeyguardClockSwitchController
153 mSmartspaceController = smartspaceController; in KeyguardClockSwitchController()
222 if (mSmartspaceController.isEnabled()) { in onViewAttached()
223 mSmartspaceView = mSmartspaceController.buildAndConnectView(mView); in onViewAttached()
324 if (mSmartspaceController != null) { in refresh()
325 mSmartspaceController.requestSmartspaceUpdate(); in refresh()