Home
last modified time | relevance | path

Searched refs:setNotificationPolicy (Results 1 – 10 of 10) sorted by relevance

/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DPreferencesHelperTest.java2383 verify(mMockZenModeHelper, never()).setNotificationPolicy(any(), anyInt(), anyBoolean()); in testCreateAndDeleteCanChannelsBypassDnd_localSettings()
2393 verify(mMockZenModeHelper, times(1)).setNotificationPolicy(any(), anyInt(), anyBoolean()); in testCreateAndDeleteCanChannelsBypassDnd_localSettings()
2399 verify(mMockZenModeHelper, never()).setNotificationPolicy(any(), anyInt(), anyBoolean()); in testCreateAndDeleteCanChannelsBypassDnd_localSettings()
2404 verify(mMockZenModeHelper, times(1)).setNotificationPolicy(any(), anyInt(), anyBoolean()); in testCreateAndDeleteCanChannelsBypassDnd_localSettings()
2420 verify(mMockZenModeHelper, never()).setNotificationPolicy(any(), anyInt(), anyBoolean()); in testCreateAndUpdateChannelsBypassingDnd_permissionHelper()
2430 verify(mMockZenModeHelper, times(1)).setNotificationPolicy(any(), anyInt(), anyBoolean()); in testCreateAndUpdateChannelsBypassingDnd_permissionHelper()
2446 verify(mMockZenModeHelper, never()).setNotificationPolicy(any(), anyInt(), anyBoolean()); in testCreateAndDeleteCanChannelsBypassDnd_permissionHelper()
2462 verify(mMockZenModeHelper, never()).setNotificationPolicy(any(), anyInt(), anyBoolean()); in testCreateAndDeleteCanChannelsBypassDnd_permissionHelper()
2497 verify(mMockZenModeHelper, times(1)).setNotificationPolicy(any(), in testBlockedGroupDoesNotBypassDnd()
2564 verify(mMockZenModeHelper, never()).setNotificationPolicy(any(), anyInt(), anyBoolean()); in testUpdateCanChannelsBypassDnd()
[all …]
H A DZenModeHelperTest.java2116 mZenModeHelper.setNotificationPolicy(newConfig.toNotificationPolicy(), Process.SYSTEM_UID, in testZenModeEventLog_policyChanges()
2127 mZenModeHelper.setNotificationPolicy(newConfig.toNotificationPolicy(), Process.SYSTEM_UID, in testZenModeEventLog_policyChanges()
2394 mZenModeHelper.setNotificationPolicy(newConfig.toNotificationPolicy(), Process.SYSTEM_UID, in testZenModeEventLog_channelsBypassingChanges()
2399 mZenModeHelper.setNotificationPolicy(newConfig.toNotificationPolicy(), Process.SYSTEM_UID, in testZenModeEventLog_channelsBypassingChanges()
/aosp14/frameworks/base/core/java/android/app/
H A DINotificationManager.aidl208 void setNotificationPolicy(String pkg, in NotificationManager.Policy policy); in setNotificationPolicy() method
H A DNotificationManager.java1635 public void setNotificationPolicy(@NonNull Policy policy) { in setNotificationPolicy() method in NotificationManager
1639 service.setNotificationPolicy(mContext.getOpPackageName(), policy); in setNotificationPolicy()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DZenModeHelper.java881 public void setNotificationPolicy(Policy policy, int callingUid, boolean fromSystemOrSystemUi) { in setNotificationPolicy() method in ZenModeHelper
H A DPreferencesHelper.java1869 mZenModeHelper.setNotificationPolicy(new NotificationManager.Policy( in updateZenPolicy()
H A DNotificationManagerService.java5487 public void setNotificationPolicy(String pkg, Policy policy) {
5530 mZenModeHelper.setNotificationPolicy(policy, callingUid, isSystemOrSystemUi);
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt6491 Landroid/app/INotificationManager$Stub$Proxy;->setNotificationPolicy(Ljava/lang/String;Landroid/app…
6678 Landroid/app/INotificationManager;->setNotificationPolicy(Ljava/lang/String;Landroid/app/Notificati…
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt6830 method public void setNotificationPolicy(@NonNull android.app.NotificationManager.Policy);