Home
last modified time | relevance | path

Searched refs:getNotificationPolicy (Results 1 – 17 of 17) sorted by relevance

/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
H A DEnableZenModeDialogTest.java87 doReturn(alarmsEnabledPolicy).when(mNotificationManager).getNotificationPolicy(); in setup()
172 when(mNotificationManager.getNotificationPolicy()).thenReturn( in testNoAlarmWarning()
188 when(mNotificationManager.getNotificationPolicy()).thenReturn( in testAlarmWarning()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DZenModeHelper.java868 public Policy getNotificationPolicy() { in getNotificationPolicy() method in ZenModeHelper
870 return getNotificationPolicy(mConfig); in getNotificationPolicy()
874 private static Policy getNotificationPolicy(ZenModeConfig config) { in getNotificationPolicy() method in ZenModeHelper
975 final boolean policyChanged = !Objects.equals(getNotificationPolicy(mConfig), in setConfigLocked()
976 getNotificationPolicy(config)); in setConfigLocked()
H A DPreferencesHelper.java1798 mCurrentUserHasChannelsBypassingDnd = (mZenModeHelper.getNotificationPolicy().state in syncChannelsBypassingDnd()
1868 NotificationManager.Policy policy = mZenModeHelper.getNotificationPolicy(); in updateZenPolicy()
H A DNotificationManagerService.java5460 public Policy getNotificationPolicy(String pkg) {
5463 return mZenModeHelper.getNotificationPolicy();
5495 Policy currPolicy = mZenModeHelper.getNotificationPolicy();
/aosp14/frameworks/base/core/java/android/app/
H A DINotificationManager.aidl207 NotificationManager.Policy getNotificationPolicy(String pkg); in getNotificationPolicy() method
H A DNotificationManager.java1617 public Policy getNotificationPolicy() { in getNotificationPolicy() method in NotificationManager
1620 return service.getNotificationPolicy(mContext.getOpPackageName()); in getNotificationPolicy()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DRankingHelperTest.java147 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in setUp()
H A DPreferencesHelperTest.java318 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in setUp()
442 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in resetZenModeHelper()
2479 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in testBlockedGroupDoesNotBypassDnd()
2510 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in testBlockedAppsDoNotBypassDnd_localSettings()
2535 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in testBlockedAppsDoNotBypassDnd_permissionHelper()
2590 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in testSetupNewZenModeHelper_canBypass()
2604 when(mMockZenModeHelper.getNotificationPolicy()).thenReturn(mTestNotificationPolicy); in testSetupNewZenModeHelper_cannotBypass()
H A DNotificationManagerServiceTest.java6178 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setOldFields()
6198 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setNewFields()
6215 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setOldNewFields()
6233 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_P_setOldFields()
6252 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_P_setNewFields()
6272 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_P_setOldNewFields()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
H A DEnableZenModeDialog.java483 boolean allowAlarms = (mNotificationManager.getNotificationPolicy().priorityCategories in computeAlarmWarningText()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
H A DPeopleSpaceWidgetManager.java1167 NotificationManager.Policy policy = mNotificationManager.getNotificationPolicy(); in getNotificationPolicyState()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
H A DPeopleSpaceWidgetManagerTest.java295 when(mNotificationManager.getNotificationPolicy()).thenReturn(mNotificationPolicy); in setUp()
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt1965 HSPLandroid/app/INotificationManager$Stub$Proxy;->getNotificationPolicy(Ljava/lang/String;)Landroid…
2408 HSPLandroid/app/NotificationManager;->getNotificationPolicy()Landroid/app/NotificationManager$Polic…
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt1965 HSPLandroid/app/INotificationManager$Stub$Proxy;->getNotificationPolicy(Ljava/lang/String;)Landroid…
2408 HSPLandroid/app/NotificationManager;->getNotificationPolicy()Landroid/app/NotificationManager$Polic…
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt6457 Landroid/app/INotificationManager$Stub$Proxy;->getNotificationPolicy(Ljava/lang/String;)Landroid/ap…
6647 Landroid/app/INotificationManager;->getNotificationPolicy(Ljava/lang/String;)Landroid/app/Notificat…
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt6819 method public android.app.NotificationManager.Policy getNotificationPolicy();