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()
747 public Policy getNotificationPolicy() { in getNotificationPolicy() method in ZenModeHelper748 return getNotificationPolicy(mConfig); in getNotificationPolicy()751 private static Policy getNotificationPolicy(ZenModeConfig config) { in getNotificationPolicy() method in ZenModeHelper844 final boolean policyChanged = !Objects.equals(getNotificationPolicy(mConfig), in setConfigLocked()845 getNotificationPolicy(config)); in setConfigLocked()
1223 mAreChannelsBypassingDnd = (mZenModeHelper.getNotificationPolicy().state in syncChannelsBypassingDnd()1277 NotificationManager.Policy policy = mZenModeHelper.getNotificationPolicy(); in updateZenPolicy()
3861 public Policy getNotificationPolicy(String pkg) {3864 return mZenModeHelper.getNotificationPolicy();3894 Policy currPolicy = mZenModeHelper.getNotificationPolicy();
180 NotificationManager.Policy getNotificationPolicy(String pkg); in getNotificationPolicy() method
1290 public Policy getNotificationPolicy() { in getNotificationPolicy() method in NotificationManager1293 return service.getNotificationPolicy(mContext.getOpPackageName()); in getNotificationPolicy()
144 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in setUp()
174 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in setUp()252 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in resetZenModeHelper()1410 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in testSetupNewZenModeHelper_canBypass()1421 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in testSetupNewZenModeHelper_cannotBypass()
3227 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setOldFields()3247 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setNewFields()3264 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setOldNewFields()3282 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_P_setOldFields()3301 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_P_setNewFields()3321 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_P_setOldNewFields()
464 boolean allowAlarms = (mNotificationManager.getNotificationPolicy().priorityCategories in computeAlarmWarningText()
9394 PLcom/android/server/notification/NotificationManagerService$10;->getNotificationPolicy(Ljava/lang/…9948 HSPLcom/android/server/notification/ZenModeHelper;->getNotificationPolicy()Landroid/app/Notificatio…
6460 Landroid/app/INotificationManager$Stub$Proxy;->getNotificationPolicy(Ljava/lang/String;)Landroid/ap…6650 Landroid/app/INotificationManager;->getNotificationPolicy(Ljava/lang/String;)Landroid/app/Notificat…
5831 method public android.app.NotificationManager.Policy getNotificationPolicy();