Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceController.kt126 private val datePlugin: BcSmartspaceDataPlugin? = optionalDatePlugin.orElse(null) in <lambda>() constant
316 return datePlugin != null && weatherPlugin != null in <lambda>()
350 plugin = datePlugin in <lambda>()
468 if (datePlugin == null && weatherPlugin == null && plugin == null) return in <lambda>()
509 datePlugin?.registerSmartspaceEventNotifier { e -> session?.notifySmartspaceEvent(e) } in <lambda>()
556 datePlugin?.registerSmartspaceEventNotifier(null) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceControllerTest.kt139 private lateinit var datePlugin: BcSmartspaceDataPlugin in <lambda>() variable in com.android.systemui.statusbar.lockscreen.LockscreenSmartspaceControllerTest
221 `when`(datePlugin.getView(any())).thenReturn( in <lambda>()
268 Optional.of(datePlugin), in <lambda>()
313 verify(datePlugin, never()).registerListener(any()) in <lambda>()
328 verify(datePlugin, never()).registerListener(any()) in <lambda>()
349 verify(datePlugin).registerSmartspaceEventNotifier(null) in <lambda>()
518 verify(datePlugin, never()).onTargetsAvailable(any()) in <lambda>()
841 verify(dateSmartspaceView).registerDataProvider(datePlugin) in <lambda>()