Searched refs:mPreferencesHelper (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | RoleObserverTest.java | 99 private PreferencesHelper mPreferencesHelper; field in RoleObserverTest 180 mService.setPreferencesHelper(mPreferencesHelper); in setUp() 232 verify(mPreferencesHelper, times(1)).updateDefaultApps(0, null, dialer0Pair); in testInit_forNonBlockableDefaultApps() 233 verify(mPreferencesHelper, times(1)).updateDefaultApps(0, null, emer0Pair); in testInit_forNonBlockableDefaultApps() 279 verify(mPreferencesHelper, times(1)).updateDefaultApps( in testSwapDefault_forNonBlockableDefaultApps() 342 verify(mPreferencesHelper, times(1)).updateDefaultApps( in testSwapDefault_multipleOverlappingApps_forNonBlockableDefaultApps() 380 verify(mPreferencesHelper, times(1)).updateDefaultApps( in testSwapDefault_newUser_forNonBlockableDefaultApps()
|
D | NotificationManagerServiceTest.java | 409 @Mock private PreferencesHelper mPreferencesHelper; field in NotificationManagerServiceTest 1030 mService.mPreferencesHelper.updateBubblesEnabled(); in setUpPrefsForBubbles() 1031 assertEquals(globalEnabled, mService.mPreferencesHelper.bubblesEnabled( in setUpPrefsForBubbles() 1725 mService.setPreferencesHelper(mPreferencesHelper); in testBlockedNotifications_blockedChannelGroup() 1726 when(mPreferencesHelper.isGroupBlocked(anyString(), anyInt(), anyString())). in testBlockedNotifications_blockedChannelGroup() 3663 mService.setPreferencesHelper(mPreferencesHelper); in testTvExtenderChannelOverride_onTv() 3664 when(mPreferencesHelper.getNotificationChannel( in testTvExtenderChannelOverride_onTv() 3671 verify(mPreferencesHelper, times(1)).getConversationNotificationChannel( in testTvExtenderChannelOverride_onTv() 3678 mService.setPreferencesHelper(mPreferencesHelper); in testTvExtenderChannelOverride_notOnTv() 3679 when(mPreferencesHelper.getNotificationChannel( in testTvExtenderChannelOverride_notOnTv() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 701 PreferencesHelper mPreferencesHelper; field in NotificationManagerService 1078 mPreferencesHelper.readXml(parser, forRestore, userId); in readPolicyXml() 1119 mPreferencesHelper.syncChannelsBypassingDnd(); in readPolicyXml() 1221 mPreferencesHelper.writeXml(out, forBackup, userId); in writePolicyXml() 1856 mPreferencesHelper.onLocaleChanged(context, ActivityManager.getCurrentUser()); 2055 mPreferencesHelper.syncChannelsBypassingDnd(); 2074 mPreferencesHelper.onUserRemoved(userId); 2079 mPreferencesHelper.syncChannelsBypassingDnd(); 2164 mPreferencesHelper.updateBadgingEnabled(); in update() 2167 mPreferencesHelper.updateBubblesEnabled(); in update() [all …]
|