Home
last modified time | relevance | path

Searched refs:getNotificationPolicy (Results 1 – 12 of 12) 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.java747 public Policy getNotificationPolicy() { in getNotificationPolicy() method in ZenModeHelper
748 return getNotificationPolicy(mConfig); in getNotificationPolicy()
751 private static Policy getNotificationPolicy(ZenModeConfig config) { in getNotificationPolicy() method in ZenModeHelper
844 final boolean policyChanged = !Objects.equals(getNotificationPolicy(mConfig), in setConfigLocked()
845 getNotificationPolicy(config)); in setConfigLocked()
DPreferencesHelper.java1207 mAreChannelsBypassingDnd = (mZenModeHelper.getNotificationPolicy().state in syncChannelsBypassingDnd()
1261 NotificationManager.Policy policy = mZenModeHelper.getNotificationPolicy(); in updateZenPolicy()
DNotificationManagerService.java3770 public Policy getNotificationPolicy(String pkg) {
3773 return mZenModeHelper.getNotificationPolicy();
3803 Policy currPolicy = mZenModeHelper.getNotificationPolicy();
/frameworks/base/core/java/android/app/
DINotificationManager.aidl178 NotificationManager.Policy getNotificationPolicy(String pkg); in getNotificationPolicy() method
DNotificationManager.java1271 public Policy getNotificationPolicy() { in getNotificationPolicy() method in NotificationManager
1274 return service.getNotificationPolicy(mContext.getOpPackageName()); in getNotificationPolicy()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRankingHelperTest.java144 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in setUp()
DPreferencesHelperTest.java171 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()
DNotificationManagerServiceTest.java3149 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()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DEnableZenModeDialog.java464 boolean allowAlarms = (mNotificationManager.getNotificationPolicy().priorityCategories in computeAlarmWarningText()
/frameworks/base/services/
Dart-profile9394 PLcom/android/server/notification/NotificationManagerService$10;->getNotificationPolicy(Ljava/lang/…
9948 HSPLcom/android/server/notification/ZenModeHelper;->getNotificationPolicy()Landroid/app/Notificatio…
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...