Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/
DDeviceStateNotificationControllerTest.java89 private DeviceStateNotificationController.NotificationInfoProvider mNotificationInfoProvider; field in DeviceStateNotificationControllerTest
112 mNotificationInfoProvider = in setup()
114 mNotificationInfoProvider = spy(mNotificationInfoProvider); in setup()
115 doReturn(notificationInfos).when(mNotificationInfoProvider).loadNotificationInfos(); in setup()
126 context, handler, cancelStateRunnable, mNotificationInfoProvider, in setup()
246 assertNull(mNotificationInfoProvider.getCachedLocale()); in test_notificationInfoProvider()
248 mNotificationInfoProvider.getNotificationInfos(Locale.ENGLISH); in test_notificationInfoProvider()
249 verify(mNotificationInfoProvider).refreshNotificationInfos(eq(Locale.ENGLISH)); in test_notificationInfoProvider()
250 assertEquals(Locale.ENGLISH, mNotificationInfoProvider.getCachedLocale()); in test_notificationInfoProvider()
251 clearInvocations(mNotificationInfoProvider); in test_notificationInfoProvider()
[all …]
/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateNotificationController.java65 private final NotificationInfoProvider mNotificationInfoProvider; field in DeviceStateNotificationController
83 mNotificationInfoProvider = notificationInfoProvider; in DeviceStateNotificationController()
231 return mNotificationInfoProvider.getNotificationInfos(locale); in getNotificationInfos()