Searched refs:mPreferencesHelper (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | RoleObserverTest.java | 87 private PreferencesHelper mPreferencesHelper; field in RoleObserverTest 150 mService.setPreferencesHelper(mPreferencesHelper); in setUp() 196 verify(mPreferencesHelper, times(1)).updateDefaultApps(0, null, dialer0Pair); in testInit() 197 verify(mPreferencesHelper, times(1)).updateDefaultApps(0, null, emer0Pair); in testInit() 226 verify(mPreferencesHelper, times(1)).updateDefaultApps( in testSwapDefault() 265 verify(mPreferencesHelper, times(1)).updateDefaultApps( in testSwapDefault_multipleOverlappingApps() 303 verify(mPreferencesHelper, times(1)).updateDefaultApps( in testSwapDefault_newUser()
|
D | NotificationManagerServiceTest.java | 200 @Mock private PreferencesHelper mPreferencesHelper; field in NotificationManagerServiceTest 424 mService.setPreferencesHelper(mPreferencesHelper); in setUpPrefsForBubbles() 425 when(mPreferencesHelper.bubblesEnabled()).thenReturn(globalEnabled); in setUpPrefsForBubbles() 426 when(mPreferencesHelper.areBubblesAllowed(anyString(), anyInt())).thenReturn(pkgEnabled); in setUpPrefsForBubbles() 427 when(mPreferencesHelper.getNotificationChannel( in setUpPrefsForBubbles() 430 when(mPreferencesHelper.getImportance(anyString(), anyInt())).thenReturn( in setUpPrefsForBubbles() 817 mService.setPreferencesHelper(mPreferencesHelper); in testBlockedNotifications_blockedChannelGroup() 818 … when(mPreferencesHelper.isGroupBlocked(anyString(), anyInt(), anyString())).thenReturn(true); in testBlockedNotifications_blockedChannelGroup() 1550 mService.setPreferencesHelper(mPreferencesHelper); in testTvExtenderChannelOverride_onTv() 1551 when(mPreferencesHelper.getNotificationChannel( in testTvExtenderChannelOverride_onTv() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 448 private PreferencesHelper mPreferencesHelper; field in NotificationManagerService 601 mPreferencesHelper.readXml(parser, forRestore, userId); in readPolicyXml() 707 mPreferencesHelper.writeXml(out, forBackup, userId); in writePolicyXml() 1144 mPreferencesHelper.onLocaleChanged(context, ActivityManager.getCurrentUser()); 1350 mPreferencesHelper.onUserSwitched(userId); 1366 mPreferencesHelper.onUserRemoved(userId); 1379 mPreferencesHelper.onUserUnlocked(userId); 1436 mPreferencesHelper.updateBadgingEnabled(); in update() 1443 mPreferencesHelper.updateBubblesEnabled(); in update() 1598 void setPreferencesHelper(PreferencesHelper prefHelper) { mPreferencesHelper = prefHelper; } in setPreferencesHelper() [all …]
|