Searched refs:weatherPlugin (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/smartspace/ |
D | DreamSmartspaceController.kt | 69 private val weatherPlugin: BcSmartspaceDataPlugin? = optionalWeatherPlugin.orElse(null) in <lambda>() constant 124 weatherPlugin?.onTargetsAvailable(targets) in <lambda>() 135 return buildAndConnectViewWithPlugin(parent, weatherPlugin, customView) in <lambda>() 190 if (plugin == null && weatherPlugin == null) { in <lambda>() 208 weatherPlugin?.registerSmartspaceEventNotifier { e -> session?.notifySmartspaceEvent(e) } in <lambda>() 236 weatherPlugin?.registerSmartspaceEventNotifier(null) in <lambda>() 237 weatherPlugin?.onTargetsAvailable(emptyList()) in <lambda>() 253 addAndRegisterListener(listener, weatherPlugin) in <lambda>() 257 removeAndUnregisterListener(listener, weatherPlugin) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/smartspace/ |
D | DreamSmartspaceControllerTest.kt | 87 private lateinit var weatherPlugin: BcSmartspaceDataPlugin variable in com.android.systemui.smartspace.DreamSmartspaceControllerTest 145 `when`(viewComponentFactory.create(any(), eq(weatherPlugin), any(), any())) in setup() 152 Optional.of(weatherPlugin)) in setup() 223 verify(viewComponentFactory).create(eq(fakeParent), eq(weatherPlugin), any(), in testConnectOnWeatherViewCreate() 225 verify(weatherPlugin, Mockito.never()).getView(fakeParent) in testConnectOnWeatherViewCreate() 252 verify(weatherPlugin).registerListener(listener) in testAddListenerInController_registersListenerForWeatherPlugin() 277 verify(weatherPlugin).onTargetsAvailable(emptyList()) in testDisconnect_emitsEmptyListAndRemovesNotifier() 278 verify(weatherPlugin).registerSmartspaceEventNotifier(null) in testDisconnect_emitsEmptyListAndRemovesNotifier()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/ |
D | LockscreenSmartspaceController.kt | 127 private val weatherPlugin: BcSmartspaceDataPlugin? = optionalWeatherPlugin.orElse(null) in <lambda>() constant 198 weatherPlugin?.onTargetsAvailable(targets) in <lambda>() 316 return datePlugin != null && weatherPlugin != null in <lambda>() 374 plugin = weatherPlugin in <lambda>() 468 if (datePlugin == null && weatherPlugin == null && plugin == null) return in <lambda>() 510 weatherPlugin?.registerSmartspaceEventNotifier { e -> session?.notifySmartspaceEvent(e) } in <lambda>() 558 weatherPlugin?.registerSmartspaceEventNotifier(null) in <lambda>() 559 weatherPlugin?.onTargetsAvailable(emptyList()) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/ |
D | LockscreenSmartspaceControllerTest.kt | 142 private lateinit var weatherPlugin: BcSmartspaceDataPlugin in <lambda>() variable in com.android.systemui.statusbar.lockscreen.LockscreenSmartspaceControllerTest 223 `when`(weatherPlugin.getView(any())).thenReturn( in <lambda>() 269 Optional.of(weatherPlugin), in <lambda>() 314 verify(weatherPlugin, never()).registerListener(any()) in <lambda>() 329 verify(weatherPlugin, never()).registerListener(any()) in <lambda>() 347 verify(weatherPlugin).onTargetsAvailable(emptyList()) in <lambda>() 348 verify(weatherPlugin).registerSmartspaceEventNotifier(null) in <lambda>() 516 verify(weatherPlugin).onTargetsAvailable(eq(targets)) in <lambda>() 854 verify(weatherSmartspaceView).registerDataProvider(weatherPlugin) in <lambda>()
|