/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 1788 public void setNotificationPolicy(@NonNull Policy policy) { in setNotificationPolicy() method in NotificationManager 1789 setNotificationPolicy(policy, /* fromUser= */ false); in setNotificationPolicy() 1793 public void setNotificationPolicy(@NonNull Policy policy, boolean fromUser) { in setNotificationPolicy() method in NotificationManager 1797 service.setNotificationPolicy(mContext.getOpPackageName(), policy, fromUser); in setNotificationPolicy()
|
D | INotificationManager.aidl | 216 void setNotificationPolicy(String pkg, in NotificationManager.Policy policy, boolean fromUser); in setNotificationPolicy() method
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 2577 verify(mMockZenModeHelper, never()).setNotificationPolicy(any(), anyInt(), anyInt()); in testCreateAndDeleteCanChannelsBypassDnd_localSettings() 2587 verify(mMockZenModeHelper, times(1)).setNotificationPolicy(any(), anyInt(), anyInt()); in testCreateAndDeleteCanChannelsBypassDnd_localSettings() 2593 verify(mMockZenModeHelper, never()).setNotificationPolicy(any(), anyInt(), anyInt()); in testCreateAndDeleteCanChannelsBypassDnd_localSettings() 2598 verify(mMockZenModeHelper, times(1)).setNotificationPolicy(any(), anyInt(), anyInt()); in testCreateAndDeleteCanChannelsBypassDnd_localSettings() 2614 verify(mMockZenModeHelper, never()).setNotificationPolicy(any(), anyInt(), anyInt()); in testCreateAndUpdateChannelsBypassingDnd_permissionHelper() 2624 verify(mMockZenModeHelper, times(1)).setNotificationPolicy(any(), anyInt(), anyInt()); in testCreateAndUpdateChannelsBypassingDnd_permissionHelper() 2640 verify(mMockZenModeHelper, never()).setNotificationPolicy(any(), anyInt(), anyInt()); in testCreateAndDeleteCanChannelsBypassDnd_permissionHelper() 2650 verify(mMockZenModeHelper, times(1)).setNotificationPolicy(any(), anyInt(), anyInt()); in testCreateAndDeleteCanChannelsBypassDnd_permissionHelper() 2656 verify(mMockZenModeHelper, never()).setNotificationPolicy(any(), anyInt(), anyInt()); in testCreateAndDeleteCanChannelsBypassDnd_permissionHelper() 2661 verify(mMockZenModeHelper, times(1)).setNotificationPolicy(any(), anyInt(), anyInt()); in testCreateAndDeleteCanChannelsBypassDnd_permissionHelper() [all …]
|
D | ZenModeHelperTest.java | 823 mZenModeHelper.setNotificationPolicy(totalSilence, UPDATE_ORIGIN_APP, 1); in testZenSetInternalRinger_AllPriorityNotificationSoundsMuted() 877 mZenModeHelper.setNotificationPolicy(new Policy(0,0,0), UPDATE_ORIGIN_APP, 1); in testRingerAffectedStreamsPriorityOnly() 1068 mZenModeHelper.setNotificationPolicy(new Policy(PRIORITY_CATEGORY_EVENTS in testParcelConfig() 1088 mZenModeHelper.setNotificationPolicy(new Policy(PRIORITY_CATEGORY_EVENTS in testWriteXml() 3290 mZenModeHelper.setNotificationPolicy(new Policy(PRIORITY_CATEGORY_ALARMS, 0, 0), in testZenModeEventLog_policyChanges() 3299 mZenModeHelper.setNotificationPolicy(new Policy(PRIORITY_CATEGORY_REPEAT_CALLERS, 0, 0), in testZenModeEventLog_policyChanges() 3571 mZenModeHelper.setNotificationPolicy(newConfig.toNotificationPolicy(), in testZenModeEventLog_channelsBypassingChanges() 3577 mZenModeHelper.setNotificationPolicy(newConfig.toNotificationPolicy(), in testZenModeEventLog_channelsBypassingChanges() 3644 mZenModeHelper.setNotificationPolicy(newPolicy, in testZenModeEventLog_policyAllowChannels() 5710 mZenModeHelper.setNotificationPolicy(totalSilencePolicy, UPDATE_ORIGIN_APP, CUSTOM_PKG_UID); in testCallbacks_policy() [all …]
|
D | NotificationManagerServiceTest.java | 14894 mBinderService.setNotificationPolicy("package", policy, false); 14910 mBinderService.setNotificationPolicy("package", policy, false); 14912 verify(zenModeHelper).setNotificationPolicy(eq(policy), anyInt(), anyInt()); 14956 mBinderService.setNotificationPolicy("package", policy, false); 14959 verify(zenModeHelper).setNotificationPolicy(eq(policy), anyInt(), anyInt()); 14977 mBinderService.setNotificationPolicy("package", policy, false); 14979 verify(zenModeHelper).setNotificationPolicy(eq(policy), anyInt(), anyInt()); 15143 mBinderService.setNotificationPolicy(mPkg, new NotificationManager.Policy(0, 0, 0), false); 15169 mBinderService.setNotificationPolicy(mPkg, new NotificationManager.Policy(0, 0, 0), false);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 1762 public void setNotificationPolicy(Policy policy, @ConfigChangeOrigin int origin, in setNotificationPolicy() method in ZenModeHelper
|
D | PreferencesHelper.java | 1926 mZenModeHelper.setNotificationPolicy( in updateZenPolicy()
|
D | NotificationManagerService.java | 6029 public void setNotificationPolicy(String pkg, Policy policy, boolean fromUser) { 6082 mZenModeHelper.setNotificationPolicy(policy, origin, callingUid);
|
/frameworks/base/services/ |
D | art-wear-profile | 15900 HPLcom/android/server/notification/NotificationManagerService$12;->setNotificationPolicy(Ljava/lang… 16613 PLcom/android/server/notification/ZenModeHelper;->setNotificationPolicy(Landroid/app/NotificationMa…
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 6491 Landroid/app/INotificationManager$Stub$Proxy;->setNotificationPolicy(Ljava/lang/String;Landroid/app… 6678 Landroid/app/INotificationManager;->setNotificationPolicy(Ljava/lang/String;Landroid/app/Notificati…
|
/frameworks/base/core/api/ |
D | current.txt | 7042 method public void setNotificationPolicy(@NonNull android.app.NotificationManager.Policy);
|