Searched refs:getNotificationPolicy (Results 1 – 14 of 14) sorted by relevance
83 doReturn(alarmsEnabledPolicy).when(mNotificationManager).getNotificationPolicy(); in setup()168 when(mNotificationManager.getNotificationPolicy()).thenReturn( in testNoAlarmWarning()184 when(mNotificationManager.getNotificationPolicy()).thenReturn( in testAlarmWarning()
775 public Policy getNotificationPolicy() { in getNotificationPolicy() method in ZenModeHelper776 return getNotificationPolicy(mConfig); in getNotificationPolicy()779 private static Policy getNotificationPolicy(ZenModeConfig config) { in getNotificationPolicy() method in ZenModeHelper869 final boolean policyChanged = !Objects.equals(getNotificationPolicy(mConfig), in setConfigLocked()870 getNotificationPolicy(config)); in setConfigLocked()
1577 mAreChannelsBypassingDnd = (mZenModeHelper.getNotificationPolicy().state in syncChannelsBypassingDnd()1631 NotificationManager.Policy policy = mZenModeHelper.getNotificationPolicy(); in updateZenPolicy()
4636 public Policy getNotificationPolicy(String pkg) {4639 return mZenModeHelper.getNotificationPolicy();4669 Policy currPolicy = mZenModeHelper.getNotificationPolicy();
144 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in setUp()
208 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()
3940 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()
197 NotificationManager.Policy getNotificationPolicy(String pkg); in getNotificationPolicy() method
1439 public Policy getNotificationPolicy() { in getNotificationPolicy() method in NotificationManager1442 return service.getNotificationPolicy(mContext.getOpPackageName()); in getNotificationPolicy()
466 boolean allowAlarms = (mNotificationManager.getNotificationPolicy().priorityCategories in computeAlarmWarningText()
21338 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…
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
2244 HSPLandroid/app/INotificationManager$Stub$Proxy;->getNotificationPolicy(Ljava/lang/String;)Landroid…2871 HSPLandroid/app/NotificationManager;->getNotificationPolicy()Landroid/app/NotificationManager$Polic…
6015 method public android.app.NotificationManager.Policy getNotificationPolicy();