Home
last modified time | relevance | path

Searched refs:getNotificationPolicy (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
DEnableZenModeDialogTest.java83 doReturn(alarmsEnabledPolicy).when(mNotificationManager).getNotificationPolicy(); in setup()
168 when(mNotificationManager.getNotificationPolicy()).thenReturn( in testNoAlarmWarning()
184 when(mNotificationManager.getNotificationPolicy()).thenReturn( in testAlarmWarning()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java775 public Policy getNotificationPolicy() { in getNotificationPolicy() method in ZenModeHelper
776 return getNotificationPolicy(mConfig); in getNotificationPolicy()
779 private static Policy getNotificationPolicy(ZenModeConfig config) { in getNotificationPolicy() method in ZenModeHelper
869 final boolean policyChanged = !Objects.equals(getNotificationPolicy(mConfig), in setConfigLocked()
870 getNotificationPolicy(config)); in setConfigLocked()
DPreferencesHelper.java1577 mAreChannelsBypassingDnd = (mZenModeHelper.getNotificationPolicy().state in syncChannelsBypassingDnd()
1631 NotificationManager.Policy policy = mZenModeHelper.getNotificationPolicy(); in updateZenPolicy()
DNotificationManagerService.java4636 public Policy getNotificationPolicy(String pkg) {
4639 return mZenModeHelper.getNotificationPolicy();
4669 Policy currPolicy = mZenModeHelper.getNotificationPolicy();
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRankingHelperTest.java144 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in setUp()
DPreferencesHelperTest.java208 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in setUp()
313 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in resetZenModeHelper()
1498 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in testSetupNewZenModeHelper_canBypass()
1510 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in testSetupNewZenModeHelper_cannotBypass()
DNotificationManagerServiceTest.java3940 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setOldFields()
3960 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setNewFields()
3977 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setOldNewFields()
3995 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_P_setOldFields()
4014 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_P_setNewFields()
4034 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_P_setOldNewFields()
/frameworks/base/core/java/android/app/
DINotificationManager.aidl197 NotificationManager.Policy getNotificationPolicy(String pkg); in getNotificationPolicy() method
DNotificationManager.java1439 public Policy getNotificationPolicy() { in getNotificationPolicy() method in NotificationManager
1442 return service.getNotificationPolicy(mContext.getOpPackageName()); in getNotificationPolicy()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java466 boolean allowAlarms = (mNotificationManager.getNotificationPolicy().priorityCategories in computeAlarmWarningText()
/frameworks/base/services/
Dart-profile21338 HPLcom/android/server/notification/NotificationManagerService$10;->getNotificationPolicy(Ljava/lang…
22469 HSPLcom/android/server/notification/ZenModeHelper;->getNotificationPolicy()Landroid/app/Notificatio…
22470 HSPLcom/android/server/notification/ZenModeHelper;->getNotificationPolicy(Landroid/service/notifica…
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/config/
Dboot-image-profile.txt2244 HSPLandroid/app/INotificationManager$Stub$Proxy;->getNotificationPolicy(Ljava/lang/String;)Landroid…
2871 HSPLandroid/app/NotificationManager;->getNotificationPolicy()Landroid/app/NotificationManager$Polic…
/frameworks/base/api/
Dcurrent.txt6015 method public android.app.NotificationManager.Policy getNotificationPolicy();