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.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.java1223 mAreChannelsBypassingDnd = (mZenModeHelper.getNotificationPolicy().state in syncChannelsBypassingDnd()
1277 NotificationManager.Policy policy = mZenModeHelper.getNotificationPolicy(); in updateZenPolicy()
DNotificationManagerService.java3861 public Policy getNotificationPolicy(String pkg) {
3864 return mZenModeHelper.getNotificationPolicy();
3894 Policy currPolicy = mZenModeHelper.getNotificationPolicy();
/frameworks/base/core/java/android/app/
DINotificationManager.aidl180 NotificationManager.Policy getNotificationPolicy(String pkg); in getNotificationPolicy() method
DNotificationManager.java1290 public Policy getNotificationPolicy() { in getNotificationPolicy() method in NotificationManager
1293 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.java174 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()
DNotificationManagerServiceTest.java3227 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()
/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/config/
Dhiddenapi-greylist-max-o.txt6460 Landroid/app/INotificationManager$Stub$Proxy;->getNotificationPolicy(Ljava/lang/String;)Landroid/ap…
6650 Landroid/app/INotificationManager;->getNotificationPolicy(Ljava/lang/String;)Landroid/app/Notificat…
/frameworks/base/non-updatable-api/
Dcurrent.txt5831 method public android.app.NotificationManager.Policy getNotificationPolicy();
/frameworks/base/api/
Dcurrent.txt5831 method public android.app.NotificationManager.Policy getNotificationPolicy();