Searched refs:getNotificationPolicy (Results 1 – 12 of 12) 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()
1207 mAreChannelsBypassingDnd = (mZenModeHelper.getNotificationPolicy().state in syncChannelsBypassingDnd()1261 NotificationManager.Policy policy = mZenModeHelper.getNotificationPolicy(); in updateZenPolicy()
3770 public Policy getNotificationPolicy(String pkg) {3773 return mZenModeHelper.getNotificationPolicy();3803 Policy currPolicy = mZenModeHelper.getNotificationPolicy();
178 NotificationManager.Policy getNotificationPolicy(String pkg); in getNotificationPolicy() method
1271 public Policy getNotificationPolicy() { in getNotificationPolicy() method in NotificationManager1274 return service.getNotificationPolicy(mContext.getOpPackageName()); in getNotificationPolicy()
144 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in setUp()
171 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in setUp()249 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in resetZenModeHelper()1407 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in testSetupNewZenModeHelper_canBypass()1418 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in testSetupNewZenModeHelper_cannotBypass()
3149 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setOldFields()3169 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setNewFields()3186 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setOldNewFields()3204 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_P_setOldFields()3223 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_P_setNewFields()3243 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…
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...